Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2010 22:41:00 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r203730 - projects/ppc64/contrib/gcc/config/rs6000
Message-ID:  <201002092241.o19Mf0qw003078@svn.freebsd.org>

index | next in thread | raw e-mail

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


help

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