Module Name: src
Committed By: matt
Date: Fri Feb 25 22:36:10 UTC 2011
Modified Files:
src/gnu/dist/gcc4/gcc/config/rs6000: netbsd.h
Log Message:
Explicitly make sure TARGET_SECURE_PLT is defined correctly rather than
relying on HAVE_AS_REL16 from "auto-host.h".
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/gnu/dist/gcc4/gcc/config/rs6000/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/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h
diff -u src/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h:1.5 src/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h:1.6
--- src/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h:1.5 Thu Feb 10 07:18:29 2011
+++ src/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h Fri Feb 25 22:36:10 2011
@@ -124,6 +124,13 @@
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_STRICT_ALIGN)
+/*
+ * We know we have the right binutils for this (we shouldn't need to do this
+ * but until the cross build does the right thing...)
+ */
+#undef TARGET_SECURE_PLT
+#define TARGET_SECURE_PLT secure_plt
+
#undef TARGET_E500
#undef TARGET_E500_SINGLE
#undef TARGET_E500_DOUBLE