CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: rin Date: Sun Jul 24 10:53:18 UTC 2022 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: rs6000.c Log Message: Revert our local fix for GCC 10.3 introduced in rev. 1.25: http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c#rev1.25 The problem has been fixed differently by upstream: - master: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=77eccbf39ed55297802bb66dff5f62507a7239e3 - gcc-10: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=6142d65f4f528067f31e86bb97c07a661f2d66e7 No regression observed for ATF on oea (sandpoint), booke (evbppc), and 405 (evbppc). The system boots successfully on 403 (evbppc). To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: rin Date: Sun Jul 24 10:53:18 UTC 2022 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: rs6000.c Log Message: Revert our local fix for GCC 10.3 introduced in rev. 1.25: http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c#rev1.25 The problem has been fixed differently by upstream: - master: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=77eccbf39ed55297802bb66dff5f62507a7239e3 - gcc-10: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=6142d65f4f528067f31e86bb97c07a661f2d66e7 No regression observed for ATF on oea (sandpoint), booke (evbppc), and 405 (evbppc). The system boots successfully on 403 (evbppc). To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c 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/rs6000.c diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c:1.30 src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c:1.31 --- src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c:1.30 Fri Jul 22 20:22:35 2022 +++ src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c Sun Jul 24 10:53:17 2022 @@ -5707,9 +5707,7 @@ rs6000_file_start (void) #ifdef USING_ELFOS_H rs6000_machine = rs6000_machine_from_flags (); - if (!(rs6000_default_cpu && rs6000_default_cpu[0]) - && !global_options_set.x_rs6000_cpu_index) -emit_asm_machine (); + emit_asm_machine (); #endif if (DEFAULT_ABI == ABI_ELFv2)
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
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.
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
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. */
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: christos Date: Sat May 11 02:37:58 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h Log Message: Switch PPC64 long double to 64 bits until the compiler is fixed. XXX: This changes the ABI of the libraries. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 \ 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.