Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2013 20:38:03 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256859 - head/contrib/binutils/gas/config
Message-ID:  <201310212038.r9LKc3uh039452@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Oct 21 20:38:02 2013
New Revision: 256859
URL: http://svnweb.freebsd.org/changeset/base/256859

Log:
  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

Modified:
  head/contrib/binutils/gas/config/tc-mips.c
  head/contrib/binutils/gas/config/tc-mips.h

Modified: head/contrib/binutils/gas/config/tc-mips.c
==============================================================================
--- head/contrib/binutils/gas/config/tc-mips.c	Mon Oct 21 19:21:36 2013	(r256858)
+++ head/contrib/binutils/gas/config/tc-mips.c	Mon Oct 21 20:38:02 2013	(r256859)
@@ -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)
 {

Modified: head/contrib/binutils/gas/config/tc-mips.h
==============================================================================
--- head/contrib/binutils/gas/config/tc-mips.h	Mon Oct 21 19:21:36 2013	(r256858)
+++ head/contrib/binutils/gas/config/tc-mips.h	Mon Oct 21 20:38:02 2013	(r256859)
@@ -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 ()
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310212038.r9LKc3uh039452>