Module Name:    src
Committed By:   mrg
Date:           Sun Mar 27 17:17:59 UTC 2016

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/i386: netbsd64.h

Log Message:
revert most of the previous and re-do it to be valid, re-fixing i386 psABI
support with -m32.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.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/i386/netbsd64.h
diff -u src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h:1.5 src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h:1.6
--- src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h:1.5	Sun Mar 27 04:18:09 2016
+++ src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h	Sun Mar 27 17:17:59 2016
@@ -66,6 +66,11 @@ along with GCC; see the file COPYING3.  
     fprintf (FILE, "\tcall __mcount\n");				\
 }
 
+/* Preserve i386 psABI  */
+#undef PREFERRED_STACK_BOUNDARY_DEFAULT
+#define PREFERRED_STACK_BOUNDARY_DEFAULT \
+  ((TARGET_64BIT || TARGET_SSE) ? 128 : 32)
+
 #define HAVE_ENABLE_EXECUTE_STACK
 
 #define IX86_MAYBE_NO_LIBGCC_TFMODE

Reply via email to