Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/ia64 Avoid duplicate defin...



details:   https://anonhg.NetBSD.org/src/rev/33a35258d617
branches:  trunk
changeset: 783412:33a35258d617
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Dec 19 16:57:21 2012 +0000

description:
Avoid duplicate definition of __enable_execute_stack in libgcc (copied from
the rs6000 netbsd.h)

diffstat:

 external/gpl3/gcc/dist/gcc/config/ia64/netbsd.h |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r ee2e2601d8fe -r 33a35258d617 external/gpl3/gcc/dist/gcc/config/ia64/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/ia64/netbsd.h   Wed Dec 19 15:55:12 2012 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/ia64/netbsd.h   Wed Dec 19 16:57:21 2012 +0000
@@ -53,4 +53,9 @@
 /* Attempt to enable execute permissions on the stack.  */
 #define TRANSFER_FROM_TRAMPOLINE NETBSD_ENABLE_EXECUTE_STACK
 
+/* Make sure _enable_execute_stack() isn't the empty function in libgcc2.c.
+   It gets defined in _trampoline.o via NETBSD_ENABLE_EXECUTE_STACK.  */
+#undef ENABLE_EXECUTE_STACK
+#define ENABLE_EXECUTE_STACK
+
 #define TARGET_VERSION fprintf (stderr, " (NetBSD/ia64 ELF)");



Home | Main Index | Thread Index | Old Index