Module Name:    src
Committed By:   martin
Date:           Wed Dec 19 16:57:21 UTC 2012

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/dist/gcc/config/ia64/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/ia64/netbsd.h
diff -u src/external/gpl3/gcc/dist/gcc/config/ia64/netbsd.h:1.1 src/external/gpl3/gcc/dist/gcc/config/ia64/netbsd.h:1.2
--- src/external/gpl3/gcc/dist/gcc/config/ia64/netbsd.h:1.1	Wed Jun 29 04:59:10 2011
+++ src/external/gpl3/gcc/dist/gcc/config/ia64/netbsd.h	Wed Dec 19 16:57:21 2012
@@ -53,4 +53,9 @@ Boston, MA 02111-1307, USA.  */
 /* 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)");

Reply via email to