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 don't set PREFERRED_S...



details:   https://anonhg.NetBSD.org/src/rev/f0da0c1bab36
branches:  trunk
changeset: 344407:f0da0c1bab36
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 27 04:18:09 2016 +0000

description:
don't set PREFERRED_STACK_BOUNDARY_DEFAULT, in particular, don't set it
to 64 (8 bytes) for 64-bit targets, where 16 byte alignment is required.
this fixes GCC 5 and ssh on modern intel cpus, and perhaps more.

diffstat:

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

diffs (14 lines):

diff -r aa3e4def52f3 -r f0da0c1bab36 external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h
--- a/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h Sun Mar 27 00:07:20 2016 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h Sun Mar 27 04:18:09 2016 +0000
@@ -66,10 +66,6 @@
     fprintf (FILE, "\tcall __mcount\n");                               \
 }
 
-/* Preserve i386 psABI  */
-#undef PREFERRED_STACK_BOUNDARY_DEFAULT
-#define PREFERRED_STACK_BOUNDARY_DEFAULT MIN_STACK_BOUNDARY
-
 #define HAVE_ENABLE_EXECUTE_STACK
 
 #define IX86_MAYBE_NO_LIBGCC_TFMODE



Home | Main Index | Thread Index | Old Index