summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2004-02-25 19:45:13 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2004-02-25 19:45:13 +0000
commit7b79fe713d8a89ca30fbabbae2366abfbf0a29eb (patch)
tree0b37c80cee12b5ae7e0c6c6ca928cfe81f30bfcf /gcc
parent0193f437a15fc186cb55a0e12568e02a739f121f (diff)
downloadgcc-7b79fe713d8a89ca30fbabbae2366abfbf0a29eb.tar.gz
config.gcc (hppa*-*-*, [...]): Add MASK_BIG_SWITCH to all target_cpu_default defines.
* config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all target_cpu_default defines. * pa-hpux.h (TARGET_DEFAULT): Add MASK_BIG_SWITCH to define. * pa.h (TARGET_DEFAULT): Likewise. From-SVN: r78446
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config.gcc29
-rw-r--r--gcc/config/pa/pa-hpux.h2
-rw-r--r--gcc/config/pa/pa.h2
4 files changed, 24 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ae386598789..7bac5394451 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2004-02-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all
+ target_cpu_default defines.
+ * pa-hpux.h (TARGET_DEFAULT): Add MASK_BIG_SWITCH to define.
+ * pa.h (TARGET_DEFAULT): Likewise.
+
2004-02-25 Eric Botcazou <ebotcazou@act-europe.fr>
* fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
diff --git a/gcc/config.gcc b/gcc/config.gcc
index e090d8866ac..ac7e5c7a57f 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -737,7 +737,7 @@ h8300-*-*)
use_fixproto=yes
;;
hppa*64*-*-linux* | parisc*64*-*-linux*)
- target_cpu_default="(MASK_PA_11 | MASK_PA_20)"
+ target_cpu_default="(MASK_PA_11 | MASK_PA_20 | MASK_BIG_SWITCH)"
tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h svr4.h linux.h \
pa/pa-linux.h pa/pa64-regs.h pa/pa-64.h pa/pa64-linux.h"
tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux64"
@@ -745,7 +745,7 @@ hppa*64*-*-linux* | parisc*64*-*-linux*)
need_64bit_hwint=yes
;;
hppa*-*-linux* | parisc*-*-linux*)
- target_cpu_default="MASK_PA_11 | MASK_NO_SPACE_REGS"
+ target_cpu_default="(MASK_PA_11 | MASK_NO_SPACE_REGS | MASK_BIG_SWITCH)"
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \
pa/pa32-regs.h pa/pa32-linux.h"
tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux"
@@ -757,32 +757,32 @@ hppa*-*-linux* | parisc*-*-linux*)
;;
# port not yet contributed.
#hppa*-*-openbsd*)
-# target_cpu_default="MASK_PA_11"
+# target_cpu_default="(MASK_PA_11 | MASK_BIG_SWITCH)"
# ;;
hppa1.1-*-pro*)
- target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
+ target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT | MASK_BIG_SWITCH)"
tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h"
tmake_file="pa/t-pro"
;;
hppa1.1-*-osf*)
- target_cpu_default="MASK_PA_11"
+ target_cpu_default="(MASK_PA_11 | MASK_BIG_SWITCH)"
tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h pa/pa-osf.h"
tmake_file="pa/t-pa"
use_collect2=yes
;;
hppa1.1-*-rtems*)
- target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
+ target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT | MASK_BIG_SWITCH)"
tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h pa/rtems.h rtems.h"
tmake_file="pa/t-pro t-rtems"
;;
hppa1.1-*-bsd*)
+ target_cpu_default="(MASK_PA_11 | MASK_BIG_SWITCH)"
tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h"
- target_cpu_default="MASK_PA_11"
tmake_file="pa/t-pa"
use_collect2=yes
;;
hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
- target_cpu_default="MASK_PA_11"
+ target_cpu_default="(MASK_PA_11 | MASK_BIG_SWITCH)"
tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
if test x$enable_threads = x; then
@@ -811,6 +811,12 @@ hppa1.0-*-hpux10*)
use_fixproto=yes
;;
hppa*64*-*-hpux11*)
+ if test x$gnu_ld = xyes
+ then
+ target_cpu_default="(MASK_PA_11 | MASK_PA_20 | MASK_GAS | MASK_GNU_LD | MASK_BIG_SWITCH)"
+ else
+ target_cpu_default="(MASK_PA_11 | MASK_PA_20 | MASK_GAS | MASK_BIG_SWITCH)"
+ fi
if test x$gas = xyes
then
tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h \
@@ -823,12 +829,7 @@ hppa*64*-*-hpux11*)
fi
need_64bit_hwint=yes
tmake_file="pa/t-pa64 pa/t-pa-hpux"
- target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
- if test x$gnu_ld = xyes
- then
- target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
- fi
case x${enable_threads} in
xyes | xposix )
thread_file=posix
@@ -836,7 +837,7 @@ hppa*64*-*-hpux11*)
esac
;;
hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
- target_cpu_default="MASK_PA_11"
+ target_cpu_default="(MASK_PA_11 | MASK_BIG_SWITCH)"
tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
case x${enable_threads} in
diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h
index 24aefc32bf3..02c46b20c93 100644
--- a/gcc/config/pa/pa-hpux.h
+++ b/gcc/config/pa/pa-hpux.h
@@ -19,7 +19,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#undef TARGET_DEFAULT
-#define TARGET_DEFAULT 0
+#define TARGET_DEFAULT MASK_BIG_SWITCH
/* Make GCC agree with types.h. */
#undef SIZE_TYPE
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index b83acbce8a6..e8ba74dba68 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -289,7 +289,7 @@ extern int target_flags;
NULL }}
#ifndef TARGET_DEFAULT
-#define TARGET_DEFAULT (MASK_GAS | MASK_JUMP_IN_DELAY)
+#define TARGET_DEFAULT (MASK_GAS | MASK_JUMP_IN_DELAY | MASK_BIG_SWITCH)
#endif
#ifndef TARGET_CPU_DEFAULT