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/efca05621f4e
branches:  trunk
changeset: 814549:efca05621f4e
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 bb322c57f596 -r efca05621f4e 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