Module Name:    src
Committed By:   matt
Date:           Mon Aug 26 14:24:22 UTC 2013

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/mips: netbsd.h

Log Message:
Even though both gas and ld support .cfi_personality, gcc fails to emit
them so we get DT_TEXTREL problems.
So if pic && SHARED, we force EH_FRAME to be writeable (which is what would
happen if .cfi_personality was not supported).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h
diff -u src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h:1.2 src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h:1.3
--- src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h:1.2	Tue Jun 21 02:41:37 2011
+++ src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h	Mon Aug 26 14:24:22 2013
@@ -261,3 +261,6 @@ along with GCC; see the file COPYING3.  
 
 #undef WINT_TYPE
 #define WINT_TYPE "int"
+
+#undef TARGET_WRITABLE_EH_FRAME
+#define TARGET_WRITABLE_EH_FRAME (flag_pic && TARGET_SHARED)

Reply via email to