This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Revised patch for Ada bootstrap
- To: gcc-patches at gcc dot gnu dot org
- Subject: Revised patch for Ada bootstrap
- From: Zack Weinberg <zack at codesourcery dot com>
- Date: Sun, 7 Oct 2001 09:21:43 -0700
This is a revised version of the patch to permit bootstrap using
vendor Ada compilers not necessarily named "gcc". With it applied,
and having generated the missing source files by hand, I can get all
the way through a 3-stage bootstrap. I then get comparison failures
for all object files whose source is Ada. This assembly diff is
representative:
--- a-charac.s.s2 Sun Oct 7 08:09:48 2001
+++ a-charac.s.s3 Sun Oct 7 08:09:58 2001
@@ -7,14 +7,14 @@
.stabs "integer:t(0,1)=r(0,1);-2147483648;2147483647;",128,0,0,0
.stabs "unsigned char:t(0,2)=@s8;r(0,2);0;255;",128,0,0,0
.stabs "long int:t(0,3)=r(0,3);-2147483648;2147483647;",128,0,0,0
- .stabs "boolean:t(0,4)=@s8;efalse:0,true:1,;",128,0,19,0
- .stabs "character:t(0,5)=@s8;r(0,5);0;255;",128,0,19,0
- .stabs "natural___XDLU_0__2147483647:t(0,6)=r(0,1);0;2147483647;",128,0,19,0
- .stabs "access_character:t(0,7)=*(0,5)",128,0,19,0
- .stabs "integer:t(0,8)=r(0,1);-2147483648;2147483647;",128,0,19,0
- .stabs "exception:Tt(0,9)=s20not_handled_by_others:(0,4),0,8;lang:(0,5),8,8;name_length:(0,6),32,32;full_name:(0,7),64,32;htable_ptr:(0,7),96,32;import_code:(0,8),128,32;;",128,0,19,0
- .stabs "long_long_float:t(0,10)=r(0,1);12;0;",128,0,19,0
- .stabs "long_long_float___PAD:Tt(0,11)=s16F:(0,10),0,96;;",128,0,19,0
+ .stabs "long_long_float:t(0,4)=r(0,1);12;0;",128,0,19,0
+ .stabs "long_long_float___PAD:Tt(0,5)=s16F:(0,4),0,96;;",128,0,19,0
+ .stabs "boolean:t(0,6)=@s8;efalse:0,true:1,;",128,0,1,0
+ .stabs "character:t(0,7)=@s8;r(0,7);0;255;",128,0,1,0
+ .stabs "natural___XDLU_0__2147483647:t(0,8)=r(0,1);0;2147483647;",128,0,1,0
+ .stabs "access_character:t(0,9)=*(0,7)",128,0,1,0
+ .stabs "integer:t(0,10)=r(0,1);-2147483648;2147483647;",128,0,1,0
+ .stabs "exception:Tt(0,11)=s20not_handled_by_others:(0,6),0,8;lang:(0,7),8,8;name_length:(0,8),32,32;full_name:(0,9),64,32;htable_ptr:(0,9),96,32;import_code:(0,10),128,32;;",128,0,1,0
.globl ada__characters_E
.data
.type ada__characters_E,@object
In addition to the obvious ordering changes and associated changes in
type numbering, many but not all of the stabs have their DESC field
(second from the right) changed from 19 to 1. I have not been able to
find any documentation of what that field means for type stabs.
"make -k gnatlib_and_tools" reports ICEs for a-nllcef.ads and
a-numaux.adb - the same one in both cases:
+===========================GNAT BUG DETECTED==============================+
| 5.00w (20010924) (i686-pc-linux-gnu) GCC error: |
| Internal compiler error in set_mem_alias_set, at emit-rtl.c:1722 |
| Error detected at a-ngcefu.adb:601:52 [a-nllcef.ads:21:1] |
or
| Error detected at a-numaux.adb:368:42 |
- bug reporting boilerplate elided.
There isn't anything being printed between "Please include these
source files with error report" and "compilation abandoned" except
some blank lines.
The tools seem to get built okay. As there is no test suite, I cannot
report results from it.
zw
top level:
* aclocal.m4 (gcc_AC_PROG_GNAT): New.
* configure.in: Use it.
* configure: Regenerated.
* config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
ada:
* Make-lang.in (ADAFLAGS): Add -W -Wall.
(ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
(gnat1): Also depend on attribs.o.
(gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
* Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
(ADAC): Set to @ADAC@ in stage1, $(CC) later.
(ADAFLAGS): Add -W -Wall.
(ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
take out CFLAGS.
(.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
Use $(ADAC), not $(CC), as compilation command.
(gnattools): Depend directly on tools to build, don't use
recursive make.
(gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
===================================================================
Index: aclocal.m4
--- aclocal.m4 2001/07/18 17:16:58 1.50
+++ aclocal.m4 2001/10/07 16:08:00
@@ -308,6 +308,57 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=
AC_SUBST(INSTALL_DATA)dnl
])
+dnl Test for GNAT.
+dnl We require the gnatbind program, and a compiler driver that
+dnl understands Ada. The user may set the driver name explicitly
+dnl with ADAC; also, the user's CC setting is tried. Failing that,
+dnl we try gcc and cc, then a sampling of names known to be used for
+dnl the Ada driver on various systems.
+dnl
+dnl Sets the shell variable have_gnat to yes or no as appropriate, and
+dnl substitutes GNATBIND and ADAC.
+AC_DEFUN([gcc_AC_PROG_GNAT],
+[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])
+AC_CHECK_TOOL(GNATBIND, gnatbind, no)
+AC_CACHE_CHECK([for compiler driver that understands Ada],
+ gcc_cv_prog_adac,
+[cat >conftest.adb <<EOF
+procedure conftest is begin null; end conftest;
+EOF
+gcc_cv_prog_adac=no
+# Have to do ac_tool_prefix and user overrides by hand.
+user_adac=$ADAC
+user_cc=$CC
+for cand in ${ac_tool_prefix}$user_adac $user_adac \
+ ${ac_tool_prefix}$user_cc $user_cc \
+ ${ac_tool_prefix}gcc gcc \
+ ${ac_tool_prefix}cc cc \
+ ${ac_tool_prefix}gnatgcc gnatgcc \
+ ${ac_tool_prefix}gnatcc gnatcc \
+ ${ac_tool_prefix}adagcc adagcc \
+ ${ac_tool_prefix}adacc adacc ; do
+ # There is a bug in all released versions of GCC which causes the
+ # driver to exit successfully when the appropriate language module
+ # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
+ # Therefore we must check for the error message as well as an
+ # unsuccessful exit.
+ errors=`$cand -c conftest.adb 2>&1 || echo failure`
+ if test x"$errors" = x; then
+ gcc_cv_prog_adac=$cand
+ break
+ fi
+done
+rm -f conftest.*])
+ADAC=$gcc_cv_prog_adac
+AC_SUBST(ADAC)
+
+if test x$GNATBIND != xno && test x$ADAC != xno; then
+ have_gnat=yes
+else
+ have_gnat=no
+fi
+])
+
#serial 1
dnl This test replaces the one in autoconf.
dnl Currently this macro should have the same name as the autoconf macro
===================================================================
Index: configure.in
--- configure.in 2001/09/29 18:22:03 1.542
+++ configure.in 2001/10/07 16:08:02
@@ -469,7 +469,7 @@ gcc_AC_C_COMPILE_ENDIAN
gcc_AC_C_FLOAT_FORMAT
# See if GNAT has been installed
-AC_CHECK_PROG(have_gnat, gnatbind, yes, no)
+gcc_AC_PROG_GNAT
# See if we have the mktemp command.
AC_CHECK_PROG(have_mktemp_command, mktemp, yes, no)
===================================================================
Index: ada/Make-lang.in
--- ada/Make-lang.in 2001/10/02 13:46:42 1.1
+++ ada/Make-lang.in 2001/10/07 16:08:02
@@ -46,7 +46,7 @@ shext =
# Extra flags to pass to recursive makes.
BOOT_ADAFLAGS= $(ADAFLAGS)
-ADAFLAGS= -gnatpg -gnata
+ADAFLAGS= -W -Wall -gnatpg -gnata
GNATLIBFLAGS= -gnatpg
GNATLIBCFLAGS= -g -O2
ADA_INCLUDE_DIR = $(libsubdir)/adainclude
@@ -54,6 +54,7 @@ ADA_RTL_OBJ_DIR = $(libsubdir)/adalib
THREAD_KIND=native
GNATBIND = gnatbind
ADA_FLAGS_TO_PASS = \
+ "ADA_CFLAGS=$(CFLAGS)" \
"ADA_FOR_BUILD=$(ADA_FOR_BUILD)" \
"ADA_INCLUDE_DIR=$(ADA_INCLUDE_DIR)" \
"ADA_RTL_OBJ_DIR=$(ADA_RTL_OBJ_DIR)" \
@@ -70,7 +71,7 @@ Ada ada: gnat1$(exeext) gnatbind$(exeext
# There are too many Ada sources to check against here. Let's
# always force the recursive make.
-gnat1$(exeext): prefix.o $(LIBDEPS) $(BACKEND) force
+gnat1$(exeext): prefix.o attribs.o $(LIBDEPS) $(BACKEND) force
$(MAKE) -C ada $(FLAGS_TO_PASS) $(ADA_FLAGS_TO_PASS) \
../gnat1$(exeext)
@@ -155,16 +156,20 @@ cross-gnattools: force
gnatprep$(exeext) gnatpsta$(exeext) gnatpsys$(exeext) \
gnatxref$(exeext) gnatfind$(exeext) $(EXTRA_GNATTOOLS)
+# use target-gcc
gnatlib: force
$(MAKE) -C ada $(FLAGS_TO_PASS) \
+ CC="../xgcc -B../" ADAC="../xgcc -B../" STAGE_PREFIX=../ \
GNATLIBFLAGS="$(GNATLIBFLAGS)" \
GNATLIBCFLAGS="$(GNATLIBCFLAGS)" \
TARGET_LIBGCC2_CFLAGS="$(TARGET_LIBGCC2_CFLAGS)" \
THREAD_KIND="$(THREAD_KIND)" \
gnatlib
+# use target-gcc
gnatlib-shared: force
$(MAKE) -C ada $(FLAGS_TO_PASS) \
+ CC="../xgcc -B../" ADAC="../xgcc -B../" STAGE_PREFIX=../ \
GNATLIBFLAGS="$(GNATLIBFLAGS)" \
GNATLIBCFLAGS="$(GNATLIBCFLAGS)" \
GNATLIBLDFLAGS="$(GNATLIBLDFLAGS)" \
===================================================================
Index: ada/Makefile.in
--- ada/Makefile.in 2001/10/02 13:46:42 1.1
+++ ada/Makefile.in 2001/10/07 16:08:03
@@ -78,7 +78,18 @@ T_CFLAGS =
X_CPPFLAGS =
T_CPPFLAGS =
+X_ADAFLAGS =
+T_ADAFLAGS =
+
CC = cc
+# Let the configure setting prevail only if CC hasn't been overridden
+# to xgcc by the top level Makefile (in a later stage of bootstrap).
+ifeq ($(findstring xgcc, $(CC)),)
+ADAC = @ADAC@
+else
+ADAC = $(CC)
+endif
+
BISON = bison
BISONFLAGS =
ECHO = echo
@@ -103,13 +114,13 @@ MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
GNATBIND = $(STAGE_PREFIX)gnatbind -C
ADA_CFLAGS =
-ADAFLAGS = -gnatpg -gnata
+ADAFLAGS = -W -Wall -gnatpg -gnata
SOME_ADAFLAGS =-gnata
FORCE_DEBUG_ADAFLAGS = -g
GNATLIBFLAGS = -gnatpg
GNATLIBCFLAGS= -g -O2
-ALL_ADAFLAGS = $(CFLAGS) $(ADA_CFLAGS) $(ADAFLAGS)
-MOST_ADAFLAGS = $(CFLAGS) $(ADA_CFLAGS) $(SOME_ADAFLAGS)
+ALL_ADAFLAGS = $(ADA_CFLAGS) $(X_ADAFLAGS) $(T_ADAFLAGS) $(ADAFLAGS)
+MOST_ADAFLAGS = $(ADA_CFLAGS) $(X_ADAFLAGS) $(T_ADAFLAGS) $(SOME_ADAFLAGS)
THREAD_KIND=native
GMEM_LIB=
MISCLIB =
@@ -268,9 +279,9 @@ ADA_INCLUDES_FOR_SUBDIR = -I. -I$(fsrcdi
.c.o:
$(CC) -c $(ALL_CFLAGS) $(ADA_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
.adb.o:
- $(CC) -c $(ALL_ADAFLAGS) $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) $(ADA_INCLUDES) $<
.ads.o:
- $(CC) -c $(ALL_ADAFLAGS) $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) $(ADA_INCLUDES) $<
# This tells GNU make version 3 not to export all the variables
# defined in this file into the environment.
@@ -836,11 +847,11 @@ ifeq ($(strip $(filter-out %86 interix,$
# Work around for gcc optimization bug wrt cxa5a09
a-numaux.o : a-numaux.adb a-numaux.ads
- $(CC) -c $(ALL_ADAFLAGS) -O2 $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) -O2 $(ADA_INCLUDES) $<
# Work around for gcc optimization bug wrt cxf3a01
a-teioed.o : a-teioed.adb a-teioed.ads
- $(CC) -c $(ALL_ADAFLAGS) -O0 $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) -O0 $(ADA_INCLUDES) $<
endif
@@ -960,7 +971,7 @@ ifeq ($(strip $(filter-out m68k% wrs vx%
# ??? work around a gcc -O2 bug on m68k
s-interr.o : s-interr.adb s-interr.ads
- $(CC) -c $(ALL_ADAFLAGS) -O1 $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) -O1 $(ADA_INCLUDES) $<
endif
ifeq ($(strip $(filter-out powerpc% wrs vx%,$(targ))),)
@@ -1140,7 +1151,7 @@ ifeq ($(strip $(filter-out %86 solaris2%
# ??? work around a gcc -O3 bug on x86
a-numaux.o : a-numaux.adb a-numaux.ads
- $(CC) -c $(ALL_ADAFLAGS) -O2 $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) -O2 $(ADA_INCLUDES) $<
endif
ifeq ($(strip $(filter-out %86 linux%,$(arch) $(osys))),)
@@ -1265,7 +1276,7 @@ a-tcbinf.o: s-tpgetc.ali
# force debug info so that workshop can find the All_Tasks_List symbol
s-taskin.o: s-taskin.adb s-taskin.ads
- $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) $(ADA_INCLUDES) $<
endif
ifeq ($(strip $(filter-out hppa% hp hpux%,$(targ))),)
@@ -1484,7 +1495,7 @@ ifeq ($(strip $(filter-out cygwin32% min
# ??? work around a gcc -O3 bug on x86
a-numaux.o : a-numaux.adb a-numaux.ads
- $(CC) -c $(ALL_ADAFLAGS) -O2 $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) -O2 $(ADA_INCLUDES) $<
endif
# The runtime library for gnat comprises two directories. One contains the
@@ -2076,12 +2087,7 @@ gnatbl.o: gnatbl.c adaint.h
true; \
fi
-gnattools: force
- $(MAKE) \
- "CC=$(CC)" "ALL_CFLAGS=$(ALL_CFLAGS)" "INCLUDE=$(INCLUDES)" \
- "LDFLAGS=$(LDFLAGS)" \
- "MISCLIB=$(MISCLIB)" "exeext=$(exeext)" \
- ../gnatbl$(exeext) ../gnatchop$(exeext) ../gnatcmd$(exeext) \
+gnattools: ../gnatbl$(exeext) ../gnatchop$(exeext) ../gnatcmd$(exeext) \
../gnatkr$(exeext) ../gnatlink$(exeext) \
../gnatls$(exeext) ../gnatmake$(exeext) ../gnatmem$(exeext) \
../gnatprep$(exeext) ../gnatpsta$(exeext) ../gnatpsys$(exeext) \
@@ -2175,11 +2181,12 @@ gnatlib: ../stamp-gnatlib1 ../stamp-gnat
$(MAKE) -C rts CC="../../xgcc -B../../" \
INCLUDES="$(INCLUDES_FOR_SUBDIR) -I./../.." \
CFLAGS="$(GNATLIBCFLAGS) $(TARGET_LIBGCC2_CFLAGS) -DIN_RTS" \
+ ADA_CFLAGS="$(GNATLIBCFLAGS)" \
srcdir=$(fsrcdir) \
-f ../Makefile $(LIBGNAT_OBJS)
$(MAKE) -C rts CC="../../xgcc -B../../" \
ADA_INCLUDES="$(ADA_INCLUDES_FOR_SUBDIR)" \
- CFLAGS="$(GNATLIBCFLAGS)" \
+ CFLAGS="$(GNATLIBCFLAGS)" ADA_CFLAGS="$(GNATLIBCFLAGS)" \
ADAFLAGS="$(GNATLIBFLAGS)" \
srcdir=$(fsrcdir) \
-f ../Makefile \
@@ -2464,40 +2471,43 @@ ADA_TREE_H = ada-tree.h ada-tree.def
sdefault.o : sdefault.ads sdefault.adb types.ads unchdeal.ads \
system.ads s-exctab.ads s-stalib.ads unchconv.ads
- $(CC) -c -O2 $(MOST_ADAFLAGS) $(ADA_INCLUDES) sdefault.adb
+ $(ADAC) -c -O2 $(MOST_ADAFLAGS) $(ADA_INCLUDES) sdefault.adb
# force debugging information on s-tasdeb.o so that it is always
# possible to set conditional breakpoints on tasks.
s-tasdeb.o : s-tasdeb.adb s-tasdeb.ads
- $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) $(ADA_INCLUDES) $<
# force debugging information on s-vaflop.o so that it is always
# possible to call the VAX float debug print routines.
# force at least -O so that the inline assembly works.
s-vaflop.o : s-vaflop.adb s-vaflop.ads
- $(CC) -c -O $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) $(ADA_INCLUDES) $<
+ $(ADAC) -c -O $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) \
+ $(ADA_INCLUDES) $<
# force debugging information on a-except.o so that it is always
# possible to set conditional breakpoints on exceptions.
# use -O1 otherwise gdb isn't able to get a full backtrace on mips targets.
a-except.o : a-except.adb a-except.ads
- $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O1 -fno-inline \
+ $(ADAC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O1 -fno-inline \
$(ADA_INCLUDES) $<
# force debugging information on s-assert.o so that it is always
# possible to set breakpoint on assert failures.
s-assert.o : s-assert.adb s-assert.ads a-except.ads
- $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O2 $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O2 \
+ $(ADA_INCLUDES) $<
# force debugging information on s-stalib.o so that it is always
# possible to set breakpoints on exceptions.
s-stalib.o : s-stalib.adb s-stalib.ads
- $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O2 $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O2 \
+ $(ADA_INCLUDES) $<
# force debugging information and no optimization on s-memory.o so that it
# is always possible to set breakpoint on __gnat_malloc and __gnat_free
@@ -2505,10 +2515,12 @@ s-stalib.o : s-stalib.adb s-stalib.ads
# memtrack.adb, and used by the post-mortem analysis with gnatmem.
s-memory.o : s-memory.adb s-memory.ads memtrack.o
- $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O0 $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O0 \
+ $(ADA_INCLUDES) $<
memtrack.o : memtrack.adb s-memory.ads
- $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O0 $(ADA_INCLUDES) $<
+ $(ADAC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O0 \
+ $(ADA_INCLUDES) $<
# Need to keep the frame pointer in this file to pop the stack properly on
# some targets.
@@ -2599,7 +2611,7 @@ stamp-tool_src_dir:
touch stamp-tool_src_dir
mlib-tgt.o : stamp-tool_src_dir
- $(CC) -c -Itools $(ALL_ADAFLAGS) $(ADA_INCLUDES) tools/mlib-tgt.adb
+ $(ADAC) -c -Itools $(ALL_ADAFLAGS) $(ADA_INCLUDES) tools/mlib-tgt.adb
# GNAT DEPENDENCIES
# regular dependencies
===================================================================
Index: config/pa/t-linux
--- config/pa/t-linux 2001/05/17 03:16:08 1.4
+++ config/pa/t-linux 2001/10/07 16:08:04
@@ -15,4 +15,4 @@ CRTSTUFF_T_CFLAGS_S = -fPIC
# Compile libgcc2.a as PIC.
TARGET_LIBGCC2_CFLAGS = -fPIC -DELF=1 -DLINUX=1
-ADA_CFLAGS=-mdisable-indexing
+T_ADAFLAGS=-mdisable-indexing
===================================================================
Index: config/pa/t-pa
--- config/pa/t-pa 2001/05/17 03:16:08 1.8
+++ config/pa/t-pa 2001/10/07 16:08:04
@@ -1,4 +1,4 @@
-ADA_CFLAGS=-mdisable-indexing
+T_ADAFLAGS=-mdisable-indexing
LIB2FUNCS_EXTRA=lib2funcs.asm quadlib.c
lib2funcs.asm: $(srcdir)/config/pa/lib2funcs.asm
===================================================================
Index: config/pa/t-pa64
--- config/pa/t-pa64 2001/05/17 03:16:08 1.3
+++ config/pa/t-pa64 2001/10/07 16:08:04
@@ -2,7 +2,7 @@ LIB1ASMFUNCS = _divI _divU _remI _remU
LIB1ASMSRC = pa/milli64.S
TARGET_LIBGCC2_CFLAGS = -fPIC -Dpa64=1 -DELF=1
-ADA_CFLAGS=-mdisable-indexing
+T_ADAFLAGS=-mdisable-indexing
LIB2FUNCS_EXTRA=quadlib.c
# We'll need this once .init sections are enabled on PA64.
===================================================================
Index: config/pa/t-pro
--- config/pa/t-pro 2001/05/17 03:16:08 1.5
+++ config/pa/t-pro 2001/10/07 16:08:04
@@ -1,4 +1,4 @@
-ADA_CFLAGS=-mdisable-indexing
+T_ADAFLAGS=-mdisable-indexing
LIB2FUNCS_EXTRA=lib2funcs.asm