Module Name: src Committed By: uwe Date: Wed Jan 22 21:39:43 UTC 2020
Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd.h Log Message: Do not override STACK_BOUNDARY in netbsd.h sysv4.h already overrides PREFERRED_STACK_BOUNDARY b/c SYSV ABI requires 16 bytes alignment for %sp anyway and so we already get that for free. More importantly this also fixes alloca() in GCC 8, that was somehow confused by that STACK_BOUNDARY value we had and created a buffer that overlapped top local variable slots. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd.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/rs6000/netbsd.h diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd.h:1.14 src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd.h:1.15 --- src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd.h:1.14 Tue Oct 1 10:38:19 2019 +++ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd.h Wed Jan 22 21:39:43 2020 @@ -138,10 +138,6 @@ #define TRAMPOLINE_SIZE 48 #endif -/* Override STACK_BOUNDARY to use Altivec compliant one. */ -#undef STACK_BOUNDARY -#define STACK_BOUNDARY 128 - /* Use standard DWARF numbering for DWARF debugging information. */ #define RS6000_USE_DWARF_NUMBERING