diff options
author | Torbjorn Granlund <tege@gnu.org> | 1992-11-09 17:33:19 +0000 |
---|---|---|
committer | Torbjorn Granlund <tege@gnu.org> | 1992-11-09 17:33:19 +0000 |
commit | 233c0fef141de52fc4d61ea3e676771742a5c4eb (patch) | |
tree | ce5fd1018cfa4afef9c8e2955920e5bf5a86ae1f | |
parent | 04fdca4a0a6b47dec2640f69c21eefafb6f58ee5 (diff) | |
download | gcc-233c0fef141de52fc4d61ea3e676771742a5c4eb.zip gcc-233c0fef141de52fc4d61ea3e676771742a5c4eb.tar.gz gcc-233c0fef141de52fc4d61ea3e676771742a5c4eb.tar.bz2 |
(TARGET_*): Move it to the beginning of the file.
(CPP_SPEC): Handle -mnosnake.
From-SVN: r2722
-rw-r--r-- | gcc/config/pa/pa.h | 92 |
1 files changed, 45 insertions, 47 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 0b0fbc3..fcfc901 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -28,53 +28,6 @@ enum cmp_type /* comparison type */ CMP_MAX /* max comparison type */ }; -#define DBX_DEBUGGING_INFO -#define DEFAULT_GDB_EXTENSIONS 0 - -#if (TARGET_DEFAULT & 1) == 0 -#define CPP_SPEC "%{msnake:-D__hp9000s700 -D_PA_RISC1_1}\ - %{mpa-risc-1-1:-D__hp9000s700 -D_PA_RISC1_1}" -#else -#define CPP_SPEC "%{!mpa-risc-1-0:-D__hp9000s700 -D_PA_RISC1_1}" -#endif - -/* Defines for a K&R CC */ - -#ifdef OLD_CC -#define CPP_SPEC "%{!gnu:-nostdinc %{!nostinc:-I/usr/include}} \ - %{gnu:%{nostdinc}} %{!gnu:-traditional} -Dvolatile=__volatile" -#define CC1_SPEC "%{!gnu:-traditional -fwritable-strings -fno-defer-pop} \ - %{pg:} %{p:}" -#else -#define CC1_SPEC "%{pg:} %{p:}" -#endif - -/* Brain-dead loader */ -#ifdef hpux8 -#define LINK_SPEC "-u main -a archive" -#else -#define LINK_SPEC "-u main" -#endif - -/* Make gcc agree with <machine/ansi.h> */ - -#define SIZE_TYPE "unsigned int" -#define PTRDIFF_TYPE "int" -#define WCHAR_TYPE "short unsigned int" -#define WCHAR_TYPE_SIZE 16 - -/* Omit frame pointer at high optimization levels. */ - -#define OPTIMIZATION_OPTIONS(OPTIMIZE) \ -{ \ - if (OPTIMIZE >= 2) \ - flag_omit_frame_pointer = 1; \ -} - -/* Names to predefine in the preprocessor for this target machine. */ - -#define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -Dunix -D_HPUX_SOURCE -Dhp9000 -Dhp800 -Dspectrum -DREVARGV" - /* Print subsidiary information on the compiler version in use. */ #define TARGET_VERSION fprintf (stderr, " (hppa)"); @@ -130,7 +83,52 @@ extern int target_flags; {"long-calls", 16}, \ { "", TARGET_DEFAULT}} +#ifndef TARGET_DEFAULT #define TARGET_DEFAULT 0 +#endif + +#define DBX_DEBUGGING_INFO +#define DEFAULT_GDB_EXTENSIONS 0 + +#if (TARGET_DEFAULT & 1) == 0 +#define CPP_SPEC "%{msnake:-D__hp9000s700 -D_PA_RISC1_1}\ + %{mpa-risc-1-1:-D__hp9000s700 -D_PA_RISC1_1}" +#else +#define CPP_SPEC "%{!mpa-risc-1-0:-D__hp9000s700 -D_PA_RISC1_1}\ + %{!mnosnake:-D__hp9000s700 -D_PA_RISC1_1}" +#endif + +/* Defines for a K&R CC */ + +#ifdef OLD_CC +#define CPP_SPEC "%{!gnu:-nostdinc %{!nostinc:-I/usr/include}} \ + %{gnu:%{nostdinc}} %{!gnu:-traditional} -Dvolatile=__volatile" +#define CC1_SPEC "%{!gnu:-traditional -fwritable-strings -fno-defer-pop} \ + %{pg:} %{p:}" +#else +#define CC1_SPEC "%{pg:} %{p:}" +#endif + +#define LINK_SPEC "-u main" + +/* Make gcc agree with <machine/ansi.h> */ + +#define SIZE_TYPE "unsigned int" +#define PTRDIFF_TYPE "int" +#define WCHAR_TYPE "short unsigned int" +#define WCHAR_TYPE_SIZE 16 + +/* Omit frame pointer at high optimization levels. */ + +#define OPTIMIZATION_OPTIONS(OPTIMIZE) \ +{ \ + if (OPTIMIZE >= 2) \ + flag_omit_frame_pointer = 1; \ +} + +/* Names to predefine in the preprocessor for this target machine. */ + +#define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -Dunix -D_HPUX_SOURCE -Dhp9000 -Dhp800 -Dspectrum -DREVARGV" /* target machine storage layout */ |