Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gcc4/gcc/config/rs6000 Explicitly make sure TARGET_...
details: https://anonhg.NetBSD.org/src/rev/8bc2c20cc6e6
branches: trunk
changeset: 762700:8bc2c20cc6e6
user: matt <matt%NetBSD.org@localhost>
date: Fri Feb 25 22:36:10 2011 +0000
description:
Explicitly make sure TARGET_SECURE_PLT is defined correctly rather than
relying on HAVE_AS_REL16 from "auto-host.h".
diffstat:
gnu/dist/gcc4/gcc/config/rs6000/netbsd.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 16870425969c -r 8bc2c20cc6e6 gnu/dist/gcc4/gcc/config/rs6000/netbsd.h
--- a/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h Fri Feb 25 22:35:38 2011 +0000
+++ b/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h Fri Feb 25 22:36:10 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index