Module Name: src Committed By: christos Date: Tue Nov 5 20:06:41 UTC 2019
Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h Log Message: - Use EXTRA_SPECS like we did for aarch64 instead of SUBSUBTARGET_EXTRA_SPECS so that assembly specs get propagated (they were lost before) - adjust the block register padding (like the other OS's) so that code compiles - XXX: linker still broken for shared libraries because the os specific spec is not chosen To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/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/rs6000/netbsd64.h diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.23 src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.24 --- src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.23 Fri May 10 22:37:58 2019 +++ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Tue Nov 5 15:06:41 2019 @@ -204,8 +204,8 @@ extern int dot_symbols; %{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}}" \ ENDIAN_SELECT(" -mbig", " -mlittle", DEFAULT_ASM_ENDIAN) -#undef SUBSUBTARGET_EXTRA_SPECS -#define SUBSUBTARGET_EXTRA_SPECS \ +#undef EXTRA_SPECS +#define EXTRA_SPECS \ { "asm_spec_common", ASM_SPEC_COMMON }, \ { "asm_spec32", ASM_SPEC32 }, \ { "asm_spec64", ASM_SPEC64 }, \ @@ -296,7 +296,7 @@ extern int dot_symbols; registers and memory. FIRST is nonzero if this is the only element. */ #define BLOCK_REG_PADDING(MODE, TYPE, FIRST) \ - (!(FIRST) ? upward : FUNCTION_ARG_PADDING (MODE, TYPE)) + (!(FIRST) ? PAD_UPWARD : targetm.calls.function_arg_padding (MODE, TYPE)) /* NetBSD doesn't support saving and restoring 64-bit regs in a 32-bit process. */