aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-04-30 19:47:38 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-04-30 19:47:38 +0000
commited9d6ff9f137a1d2581c30a31ebb6d96ded648d3 (patch)
tree91722b360f116ed83296e3d7164980b140ce359f /gcc
parent1f2641b6d2390c03ac4ffa2e9a554bf100574e54 (diff)
downloadgcc-ed9d6ff9f137a1d2581c30a31ebb6d96ded648d3.zip
gcc-ed9d6ff9f137a1d2581c30a31ebb6d96ded648d3.tar.gz
gcc-ed9d6ff9f137a1d2581c30a31ebb6d96ded648d3.tar.bz2
config.gcc (hppa1.1-*-pro*, [...]): Define xmake_file.
* config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*, hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*, hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*, hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file. * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete. * pa/x-ada: New file. Define ADA_CFLAGS. From-SVN: r52969
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config.gcc12
-rw-r--r--gcc/config/pa/t-linux2
-rw-r--r--gcc/config/pa/t-pa1
-rw-r--r--gcc/config/pa/t-pa641
-rw-r--r--gcc/config/pa/t-pro2
-rw-r--r--gcc/config/pa/x-ada4
7 files changed, 25 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9a560f0..b7daa5c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,12 @@
+2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
+ hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
+ hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
+ hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
+ * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
+ * pa/x-ada: New file. Define ADA_CFLAGS.
+
2002-04-30 Hans-Peter Nilsson <hp@bitrange.com>
* config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 78ce5d3..4cc9785 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -890,11 +890,13 @@ hppa1.1-*-pro*)
target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
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-bsd pa/t-pro"
+ xmake_file="pa/x-ada"
;;
hppa1.1-*-osf*)
target_cpu_default="MASK_PA_11"
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
tmake_file="pa/t-bsd pa/t-pa"
+ xmake_file="pa/x-ada"
use_collect2=yes
;;
hppa1.1-*-rtems*)
@@ -902,21 +904,25 @@ hppa1.1-*-rtems*)
target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
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-bsd pa/t-pro"
+ xmake_file="pa/x-ada"
;;
hppa1.0-*-osf*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
tmake_file="pa/t-bsd pa/t-pa"
+ xmake_file="pa/x-ada"
use_collect2=yes
;;
hppa1.1-*-bsd*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
target_cpu_default="MASK_PA_11"
tmake_file="pa/t-bsd pa/t-pa"
+ xmake_file="pa/x-ada"
use_collect2=yes
;;
hppa1.0-*-bsd*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
tmake_file="pa/t-bsd pa/t-pa"
+ xmake_file="pa/x-ada"
use_collect2=yes
;;
hppa1.0-*-hpux7*)
@@ -970,6 +976,7 @@ hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
float_format=i128
xm_defines=POSIX
tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
+ xmake_file="pa/x-ada"
if test x$enable_threads = x; then
enable_threads=$have_pthread_h
fi
@@ -986,6 +993,7 @@ hppa1.0-*-hpux10*)
float_format=i128
xm_defines=POSIX
tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
+ xmake_file="pa/x-ada"
if test x$enable_threads = x; then
enable_threads=$have_pthread_h
fi
@@ -1002,6 +1010,7 @@ hppa*64*-*-hpux11*)
tm_file="pa/pa64-start.h ${tm_file} pa/pa64-regs.h pa/long_double.h pa/elf.h pa/pa-hpux.h pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h"
float_format=i128
tmake_file="pa/t-pa64 pa/t-pa-hpux"
+ xmake_file="pa/x-ada"
target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"
# if [ x$enable_threads = x ]; then
@@ -1020,6 +1029,7 @@ hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
float_format=i128
xm_defines=POSIX
tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
+ xmake_file="pa/x-ada"
# if test x$enable_threads = x; then
# enable_threads=$have_pthread_h
# fi
@@ -1035,6 +1045,7 @@ hppa1.0-*-hpux11*)
float_format=i128
xm_defines=POSIX
tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
+ xmake_file="pa/x-ada"
# if test x$enable_threads = x; then
# enable_threads=$have_pthread_h
# fi
@@ -1079,6 +1090,7 @@ hppa*-*-lites*)
tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h"
target_cpu_default="MASK_PA_11"
tmake_file="pa/t-bsd pa/t-pa"
+ xmake_file="pa/x-ada"
use_collect2=yes
;;
hppa*-*-mpeix*)
diff --git a/gcc/config/pa/t-linux b/gcc/config/pa/t-linux
index 5142298..9a338c2 100644
--- a/gcc/config/pa/t-linux
+++ b/gcc/config/pa/t-linux
@@ -10,5 +10,3 @@ CRTSTUFF_T_CFLAGS_S = -fPIC
# Compile libgcc2.a as PIC.
TARGET_LIBGCC2_CFLAGS = -fPIC -DELF=1 -DLINUX=1
-
-T_ADAFLAGS=-mdisable-indexing
diff --git a/gcc/config/pa/t-pa b/gcc/config/pa/t-pa
index 863e8432..87d8284 100644
--- a/gcc/config/pa/t-pa
+++ b/gcc/config/pa/t-pa
@@ -1,4 +1,3 @@
-T_ADAFLAGS=-mdisable-indexing
LIB2FUNCS_EXTRA=lib2funcs.asm quadlib.c
lib2funcs.asm: $(srcdir)/config/pa/lib2funcs.asm
diff --git a/gcc/config/pa/t-pa64 b/gcc/config/pa/t-pa64
index eafca06..9323a250 100644
--- a/gcc/config/pa/t-pa64
+++ b/gcc/config/pa/t-pa64
@@ -1,6 +1,5 @@
TARGET_LIBGCC2_CFLAGS = -fPIC -Dpa64=1 -DELF=1
-T_ADAFLAGS=-mdisable-indexing
LIB2FUNCS_EXTRA=quadlib.c
# We'll need this once .init sections are enabled on PA64.
diff --git a/gcc/config/pa/t-pro b/gcc/config/pa/t-pro
index a47d72f..c619b40 100644
--- a/gcc/config/pa/t-pro
+++ b/gcc/config/pa/t-pro
@@ -1,5 +1,3 @@
-T_ADAFLAGS=-mdisable-indexing
-
LIB2FUNCS_EXTRA=lib2funcs.asm
# We want fine grained libraries, so use the new code to build the
diff --git a/gcc/config/pa/x-ada b/gcc/config/pa/x-ada
new file mode 100644
index 0000000..88c39e2
--- /dev/null
+++ b/gcc/config/pa/x-ada
@@ -0,0 +1,4 @@
+# The ada virtual array implementation requires that indexing be disabled on
+# hosts such as hpux that use a segmented memory architecture. Both the c
+# and ada files need to be compiled with this option for correct operation.
+ADA_CFLAGS=-mdisable-indexing