config.gcc (hppa[12]*-*-hpux10*): Add pa/pa-hpux.opt to $extra_options.
authorRichard Sandiford <rsandifo@redhat.com>
Sat, 23 Apr 2005 07:02:19 +0000 (07:02 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sat, 23 Apr 2005 07:02:19 +0000 (07:02 +0000)
commit666178319d7c893d63bd321a7487dddd973fe414
tree1b5b1ba8788ea2d4d5bd2f4adec35a004666d638
parent6a47d88fadbbf04e05f6373c368b94e233261e9e
config.gcc (hppa[12]*-*-hpux10*): Add pa/pa-hpux.opt to $extra_options.

* config.gcc (hppa[12]*-*-hpux10*): Add pa/pa-hpux.opt to
$extra_options.  Also add pa/pa-hpux1010.opt for hpux10.[1-9]*.
(hppa*64*-*-hpux11*): Add pa/pa-hpux1010.h to $tm_file.  Add
pa/pa-hpux.opt, pa/pa-hpux1010.opt and pa/pa64-hpux.opt to
$extra_options.  Also add pa/pa-hpux1111.opt for hpux11.[1-9]*.
(hppa[12]*-*-hpux11*): Add pa/pa-hpux1010.h to $tm_file.  Add
pa/pa-hpux.opt to $extra_options.  Also add pa/pa-hpux1111.opt
for hpux11.[1-9]*.
* config/pa/pa.h (architecture_type, rtx_def, pa_arch_string, pa_arch)
(pa_fixed_range_string, pa_cpu_string, pa_unix_string, target_flags)
(MASK_PA_11, MASK_DISABLE_FPREGS, TARGET_DISABLE_FPREGS)
(MASK_NO_SPACE_REGS, TARGET_NO_SPACE_REGS, MASK_JUMP_IN_DELAY)
(TARGET_JUMP_IN_DELAY, MASK_DISABLE_INDEXING, TARGET_DISABLE_INDEXING)
(MASK_PORTABLE_RUNTIME, TARGET_PORTABLE_RUNTIME, MASK_GAS, TARGET_GAS)
(MASK_SOFT_FLOAT, TARGET_SOFT_FLOAT, MASK_LONG_LOAD_STORE)
(TARGET_LONG_LOAD_STORE, MASK_FAST_INDIRECT_CALLS)
(TARGET_FAST_INDIRECT_CALLS, MASK_BIG_SWITCH, TARGET_BIG_SWITCH)
(MASK_PA_20, MASK_SIO, TARGET_SIO, MASK_GNU_LD, TARGET_GNU_LD)
(MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_PA_11, TARGET_PA_20)
(TARGET_SWITCHES, SUBTARGET_SWITCHES, TARGET_OPTIONS)
(SUBTARGET_OPTIONS): Delete.
(TARGET_PA_10): Redefine in terms of TARGET_PA_11 and TARGET_PA_20.
(TARGET_SCHED_DEFAULT): Define to a PROCESSOR_* enum (PROCESSOR_8000)
instead of a string.
* config/pa/pa.c (pa_arch, pa_arch_string, pa_fixed_range_string)
(pa_cpu_string, pa_unix_string): Delete.
(pa_cpu): Initialize to TARGET_SCHED_DEFAULT.
(flag_pa_unix): Initialize based on TARGET_HPUX_11_11 and
TARGET_HPUX_10_10.
(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
(pa_handle_option): New function.
(override_options): Remove handling of -march=, -mfixed-range=,
-mschedule= and -munix=.
* config/pa/pa-hpux.h (SUBTARGET_SWITCHES): Delete.
* config/pa/pa-hpux1010.h (SUBTARGET_OPTIONS): Delete.
* config/pa/pa-hpux10.h (SUBTARGET_OPTIONS): Delete.
* config/pa/pa-hpux1111.h (SUBTARGET_OPTIONS): Delete.
* config/pa/pa-hpux11.h (SUBTARGET_OPTIONS): Delete.
* config/pa/pa64-hpux.h (SUBTARGET_SWITCHES): Delete.
* config/pa/pa64-start.h (TARGET_PA_11, TARGET_PA_20): #undef before
redefining.
* config/pa/pa.opt: New file.
* config/pa/pa-hpux.opt: New file.
* config/pa/pa-hpux1010.opt: New file.
* config/pa/pa-hpux1111.opt: New file.
* config/pa/pa64-hpux.opt: New file.

From-SVN: r98605
16 files changed:
gcc/ChangeLog
gcc/config.gcc
gcc/config/pa/pa-hpux.h
gcc/config/pa/pa-hpux.opt [new file with mode: 0644]
gcc/config/pa/pa-hpux10.h
gcc/config/pa/pa-hpux1010.h
gcc/config/pa/pa-hpux1010.opt [new file with mode: 0644]
gcc/config/pa/pa-hpux11.h
gcc/config/pa/pa-hpux1111.h
gcc/config/pa/pa-hpux1111.opt [new file with mode: 0644]
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/config/pa/pa.opt [new file with mode: 0644]
gcc/config/pa/pa64-hpux.h
gcc/config/pa/pa64-hpux.opt [new file with mode: 0644]
gcc/config/pa/pa64-start.h