Commit 7b79fe71 by John David Anglin Committed by John David Anglin

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
parent 0193f437
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> 2004-02-25 Eric Botcazou <ebotcazou@act-europe.fr>
* fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
......
...@@ -737,7 +737,7 @@ h8300-*-*) ...@@ -737,7 +737,7 @@ h8300-*-*)
use_fixproto=yes use_fixproto=yes
;; ;;
hppa*64*-*-linux* | parisc*64*-*-linux*) 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 \ 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" 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" tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux64"
...@@ -745,7 +745,7 @@ hppa*64*-*-linux* | parisc*64*-*-linux*) ...@@ -745,7 +745,7 @@ hppa*64*-*-linux* | parisc*64*-*-linux*)
need_64bit_hwint=yes need_64bit_hwint=yes
;; ;;
hppa*-*-linux* | parisc*-*-linux*) 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 \ tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \
pa/pa32-regs.h pa/pa32-linux.h" pa/pa32-regs.h pa/pa32-linux.h"
tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux" tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux"
...@@ -757,32 +757,32 @@ hppa*-*-linux* | parisc*-*-linux*) ...@@ -757,32 +757,32 @@ hppa*-*-linux* | parisc*-*-linux*)
;; ;;
# port not yet contributed. # port not yet contributed.
#hppa*-*-openbsd*) #hppa*-*-openbsd*)
# target_cpu_default="MASK_PA_11" # target_cpu_default="(MASK_PA_11 | MASK_BIG_SWITCH)"
# ;; # ;;
hppa1.1-*-pro*) 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" 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" tmake_file="pa/t-pro"
;; ;;
hppa1.1-*-osf*) 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" tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h pa/pa-osf.h"
tmake_file="pa/t-pa" tmake_file="pa/t-pa"
use_collect2=yes use_collect2=yes
;; ;;
hppa1.1-*-rtems*) 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" 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" tmake_file="pa/t-pro t-rtems"
;; ;;
hppa1.1-*-bsd*) 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" tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h"
target_cpu_default="MASK_PA_11"
tmake_file="pa/t-pa" tmake_file="pa/t-pa"
use_collect2=yes use_collect2=yes
;; ;;
hppa1.1-*-hpux10* | hppa2*-*-hpux10*) 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" 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" tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
if test x$enable_threads = x; then if test x$enable_threads = x; then
...@@ -811,6 +811,12 @@ hppa1.0-*-hpux10*) ...@@ -811,6 +811,12 @@ hppa1.0-*-hpux10*)
use_fixproto=yes use_fixproto=yes
;; ;;
hppa*64*-*-hpux11*) 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 if test x$gas = xyes
then then
tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h \ tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h \
...@@ -823,12 +829,7 @@ hppa*64*-*-hpux11*) ...@@ -823,12 +829,7 @@ hppa*64*-*-hpux11*)
fi fi
need_64bit_hwint=yes need_64bit_hwint=yes
tmake_file="pa/t-pa64 pa/t-pa-hpux" 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" 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 case x${enable_threads} in
xyes | xposix ) xyes | xposix )
thread_file=posix thread_file=posix
...@@ -836,7 +837,7 @@ hppa*64*-*-hpux11*) ...@@ -836,7 +837,7 @@ hppa*64*-*-hpux11*)
esac esac
;; ;;
hppa1.1-*-hpux11* | hppa2*-*-hpux11*) 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" 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" tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
case x${enable_threads} in case x${enable_threads} in
......
...@@ -19,7 +19,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, ...@@ -19,7 +19,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#undef TARGET_DEFAULT #undef TARGET_DEFAULT
#define TARGET_DEFAULT 0 #define TARGET_DEFAULT MASK_BIG_SWITCH
/* Make GCC agree with types.h. */ /* Make GCC agree with types.h. */
#undef SIZE_TYPE #undef SIZE_TYPE
......
...@@ -289,7 +289,7 @@ extern int target_flags; ...@@ -289,7 +289,7 @@ extern int target_flags;
NULL }} NULL }}
#ifndef TARGET_DEFAULT #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 #endif
#ifndef TARGET_CPU_DEFAULT #ifndef TARGET_CPU_DEFAULT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment