From 5a5e9ce6900368555a148647886edcd200b89977 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 14 Dec 1999 11:26:44 +0100 Subject: [PATCH] linux64.h (TARGET_LIVE_G0, [...]): Don't support weird SPARC variants on Linux. * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC variants on Linux. * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE): Likewise. * config/sparc/linux-aout.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE): Likewise. From-SVN: r30911 --- gcc/ChangeLog | 10 ++++++++++ gcc/config/sparc/linux-aout.h | 6 ++++++ gcc/config/sparc/linux.h | 6 ++++++ gcc/config/sparc/linux64.h | 6 ++++++ 4 files changed, 28 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 793005eef1d..a70142a7c79 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +1999-12-14 Jakub Jelinek + + * config/sparc/linux64.h (TARGET_LIVE_G0, + TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC + variants on Linux. + * config/sparc/linux.h (TARGET_LIVE_G0, + TARGET_BROKEN_SAVERESTORE): Likewise. + * config/sparc/linux-aout.h (TARGET_LIVE_G0, + TARGET_BROKEN_SAVERESTORE): Likewise. + 1999-12-14 Bernd Schmidt * combine.c (combine_simplify_rtx): Don't make shared rtl. diff --git a/gcc/config/sparc/linux-aout.h b/gcc/config/sparc/linux-aout.h index 28469454bc4..d7c23034a76 100644 --- a/gcc/config/sparc/linux-aout.h +++ b/gcc/config/sparc/linux-aout.h @@ -109,6 +109,12 @@ Boston, MA 02111-1307, USA. */ #define LONG_DOUBLE_TYPE_SIZE 128 #endif +/* No weird SPARC variants on Linux */ +#undef TARGET_LIVE_G0 +#define TARGET_LIVE_G0 0 +#undef TARGET_BROKEN_SAVERESTORE +#define TARGET_BROKEN_SAVERESTORE 0 + /* Override MACHINE_STATE_{SAVE,RESTORE} because we have special traps available which can get and set the condition codes reliably. */ diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 96b97974be8..fba4a9d075e 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -238,6 +238,12 @@ do { \ #define LONG_DOUBLE_TYPE_SIZE 128 #endif +/* No weird SPARC variants on Linux */ +#undef TARGET_LIVE_G0 +#define TARGET_LIVE_G0 0 +#undef TARGET_BROKEN_SAVERESTORE +#define TARGET_BROKEN_SAVERESTORE 0 + /* Override MACHINE_STATE_{SAVE,RESTORE} because we have special traps available which can get and set the condition codes reliably. */ diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 1f84a249b6d..e5b88d22708 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -350,6 +350,12 @@ do { \ /* #define DWARF_OFFSET_SIZE PTR_SIZE */ +/* No weird SPARC variants on Linux */ +#undef TARGET_LIVE_G0 +#define TARGET_LIVE_G0 0 +#undef TARGET_BROKEN_SAVERESTORE +#define TARGET_BROKEN_SAVERESTORE 0 + /* Override MACHINE_STATE_{SAVE,RESTORE} because we have special traps available which can get and set the condition codes reliably. */