Don't force 64-bit DWARF2 on MIPS
64-bit debug data is only necessary for objects with greater than 4GB of debug data, and is not used on other 64-bit FreeBSD targets. Sponsored by: DARPA, AFRL
This commit is contained in:
parent
c55757d2d7
commit
0e8668d655
@ -15420,21 +15420,6 @@ MIPS options:\n\
|
|||||||
-mno-octeon-useun generate MIPS unaligned load/store instructions\n"));
|
-mno-octeon-useun generate MIPS unaligned load/store instructions\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
enum dwarf2_format
|
|
||||||
mips_dwarf2_format (void)
|
|
||||||
{
|
|
||||||
if (HAVE_64BIT_SYMBOLS)
|
|
||||||
{
|
|
||||||
#ifdef TE_IRIX
|
|
||||||
return dwarf2_format_64bit_irix;
|
|
||||||
#else
|
|
||||||
return dwarf2_format_64bit;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return dwarf2_format_32bit;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
mips_dwarf2_addr_size (void)
|
mips_dwarf2_addr_size (void)
|
||||||
{
|
{
|
||||||
|
@ -155,10 +155,6 @@ extern void mips_emit_delays (void);
|
|||||||
extern void mips_enable_auto_align (void);
|
extern void mips_enable_auto_align (void);
|
||||||
#define md_elf_section_change_hook() mips_enable_auto_align()
|
#define md_elf_section_change_hook() mips_enable_auto_align()
|
||||||
|
|
||||||
enum dwarf2_format;
|
|
||||||
extern enum dwarf2_format mips_dwarf2_format (void);
|
|
||||||
#define DWARF2_FORMAT() mips_dwarf2_format ()
|
|
||||||
|
|
||||||
extern int mips_dwarf2_addr_size (void);
|
extern int mips_dwarf2_addr_size (void);
|
||||||
#define DWARF2_ADDR_SIZE(bfd) mips_dwarf2_addr_size ()
|
#define DWARF2_ADDR_SIZE(bfd) mips_dwarf2_addr_size ()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user