diff options
author | Richard Henderson <rth@redhat.com> | 2002-03-26 17:17:07 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-03-26 17:17:07 -0800 |
commit | b3689904c18e763ee43692fe89b995339b68187f (patch) | |
tree | 999426abc3c1367dfac67b62df2d04cfd2a58e06 /gcc | |
parent | cd862df8518ea330b97cd0f31fadbc93ddcea980 (diff) | |
download | gcc-b3689904c18e763ee43692fe89b995339b68187f.zip gcc-b3689904c18e763ee43692fe89b995339b68187f.tar.gz gcc-b3689904c18e763ee43692fe89b995339b68187f.tar.bz2 |
sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
* config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
* config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
* config/sparc/linux.h, config/sparc/linux64.h: Likewise.
* config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
(WINT_TYPE_SIZE): Fix at 32.
From-SVN: r51418
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/sparc/linux-aout.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/linux.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/linux64.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/sol2.h | 9 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 1 |
6 files changed, 16 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 583f54a..7e5aefd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,13 @@ 2002-03-26 Richard Henderson <rth@redhat.com> + * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define. + * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef. + * config/sparc/linux.h, config/sparc/linux64.h: Likewise. + * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine. + (WINT_TYPE_SIZE): Fix at 32. + +2002-03-26 Richard Henderson <rth@redhat.com> + * toplev.c (rest_of_compilation): Delay emit_initial_value_sets until after eh landing pad generation. * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof. diff --git a/gcc/config/sparc/linux-aout.h b/gcc/config/sparc/linux-aout.h index 55c833f..bed72db 100644 --- a/gcc/config/sparc/linux-aout.h +++ b/gcc/config/sparc/linux-aout.h @@ -59,8 +59,6 @@ Boston, MA 02111-1307, USA. */ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 -#undef MAX_WCHAR_TYPE_SIZE - #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Dunix -Dsparc -Dlinux -Asystem=unix -Asystem=posix" diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index a55d43c..c07648b 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -99,8 +99,6 @@ Boston, MA 02111-1307, USA. */ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 -#undef MAX_WCHAR_TYPE_SIZE - #undef CPP_PREDEFINES #define CPP_PREDEFINES "-D__ELF__ -Dunix -D__sparc__ -Dlinux -Asystem=unix -Asystem=posix" diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 9d521bc..136864f 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -146,8 +146,6 @@ Boston, MA 02111-1307, USA. */ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 -#undef MAX_WCHAR_TYPE_SIZE - /* Define for support of TFmode long double. Sparc ABI says that long double is 4 words. */ #undef LONG_DOUBLE_TYPE_SIZE diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 68efafe..2f504b3 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -23,13 +23,20 @@ Boston, MA 02111-1307, USA. */ /* Supposedly the same as vanilla sparc svr4, except for the stuff below: */ +/* Solaris 2 (at least as of 2.5.1) uses a 32-bit wchar_t. */ +#undef WCHAR_TYPE +#define WCHAR_TYPE "long int" + +#undef WCHAR_TYPE_SIZE +#define WCHAR_TYPE_SIZE 32 + /* Solaris 2 uses a wint_t different from the default. This is required by the SCD 2.4.1, p. 6-83, Figure 6-66. */ #undef WINT_TYPE #define WINT_TYPE "long int" #undef WINT_TYPE_SIZE -#define WINT_TYPE_SIZE BITS_PER_WORD +#define WINT_TYPE_SIZE 32 #define HANDLE_PRAGMA_REDEFINE_EXTNAME 1 diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 89f5e07..9fed03c 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -369,7 +369,6 @@ Unrecognized value in TARGET_CPU_DEFAULT. /* ??? This should be 32 bits for v9 but what can we do? */ #define WCHAR_TYPE "short unsigned int" #define WCHAR_TYPE_SIZE 16 -#define MAX_WCHAR_TYPE_SIZE 16 /* Show we can debug even without a frame pointer. */ #define CAN_DEBUG_WITHOUT_FP |