summaryrefslogtreecommitdiffstats
path: root/contrib/binutils
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-12-16 16:42:24 +0000
committeremaste <emaste@FreeBSD.org>2015-12-16 16:42:24 +0000
commitb58d6015e5637646aebc28b9136494ec224819d2 (patch)
tree6bdb4deb5d5a14dca7331e429c62c7a289cb2add /contrib/binutils
parentfa6577ca641a1bdfdbfcf570b90dbad48204222c (diff)
downloadFreeBSD-src-b58d6015e5637646aebc28b9136494ec224819d2.zip
FreeBSD-src-b58d6015e5637646aebc28b9136494ec224819d2.tar.gz
MFC r256859: 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.
Diffstat (limited to 'contrib/binutils')
-rw-r--r--contrib/binutils/gas/config/tc-mips.c15
-rw-r--r--contrib/binutils/gas/config/tc-mips.h4
2 files changed, 0 insertions, 19 deletions
diff --git a/contrib/binutils/gas/config/tc-mips.c b/contrib/binutils/gas/config/tc-mips.c
index e97193f..80fdfd0 100644
--- a/contrib/binutils/gas/config/tc-mips.c
+++ b/contrib/binutils/gas/config/tc-mips.c
@@ -15420,21 +15420,6 @@ MIPS options:\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
mips_dwarf2_addr_size (void)
{
diff --git a/contrib/binutils/gas/config/tc-mips.h b/contrib/binutils/gas/config/tc-mips.h
index 117417c..f246f68 100644
--- a/contrib/binutils/gas/config/tc-mips.h
+++ b/contrib/binutils/gas/config/tc-mips.h
@@ -155,10 +155,6 @@ extern void mips_emit_delays (void);
extern void mips_enable_auto_align (void);
#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);
#define DWARF2_ADDR_SIZE(bfd) mips_dwarf2_addr_size ()
OpenPOWER on IntegriCloud