Module Name: src
Committed By: mrg
Date: Sun Mar 27 04:18:09 UTC 2016
Modified Files:
src/external/gpl3/gcc/dist/gcc/config/i386: netbsd64.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
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.4 src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h:1.5
--- src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h:1.4 Sun Jan 24 09:43:33 2016
+++ src/external/gpl3/gcc/dist/gcc/config/i386/netbsd64.h Sun Mar 27 04:18:09 2016
@@ -66,10 +66,6 @@ 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 MIN_STACK_BOUNDARY
-
#define HAVE_ENABLE_EXECUTE_STACK
#define IX86_MAYBE_NO_LIBGCC_TFMODE