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/i386 revert most of the pr...



details:   https://anonhg.NetBSD.org/src/rev/09cbf6e7c223
branches:  trunk
changeset: 344421:09cbf6e7c223
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 27 17:17:59 2016 +0000

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

diffstat:

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

diffs (15 lines):

diff -r 394ef5078767 -r 09cbf6e7c223 external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h
--- a/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h Sun Mar 27 14:57:50 2016 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h Sun Mar 27 17:17:59 2016 +0000
@@ -66,6 +66,11 @@
     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



Home | Main Index | Thread Index | Old Index