svn commit: r203730 - projects/ppc64/contrib/gcc/config/rs6000

Nathan Whitehorn nwhitehorn at FreeBSD.org
Tue Feb 9 22:41:00 UTC 2010


Author: nwhitehorn
Date: Tue Feb  9 22:41:00 2010
New Revision: 203730
URL: http://svn.freebsd.org/changeset/base/203730

Log:
  We don't need executable jump tables for BSD, and having them makes ld
  crash in rare cases, so revert this part of the last change.

Modified:
  projects/ppc64/contrib/gcc/config/rs6000/freebsd.h

Modified: projects/ppc64/contrib/gcc/config/rs6000/freebsd.h
==============================================================================
--- projects/ppc64/contrib/gcc/config/rs6000/freebsd.h	Tue Feb  9 22:39:34 2010	(r203729)
+++ projects/ppc64/contrib/gcc/config/rs6000/freebsd.h	Tue Feb  9 22:41:00 2010	(r203730)
@@ -194,10 +194,6 @@
       }									\
   }
 
-/* Indicate that jump tables go in the text section.  */
-#undef  JUMP_TABLES_IN_TEXT_SECTION
-#define JUMP_TABLES_IN_TEXT_SECTION TARGET_64BIT
-
 /* FreeBSD doesn't support saving and restoring 64-bit regs with a 32-bit
    kernel. This is supported when running on a 64-bit kernel with
    COMPAT_FREEBSD32, but tell GCC it isn't so that our 32-bit binaries


More information about the svn-src-projects mailing list