diff options
author | Doug Rupp <rupp@adacore.com> | 2005-06-16 10:43:05 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-06-16 10:43:05 +0200 |
commit | 844e7daa7eb2e155e6e491d096165847f47a7020 (patch) | |
tree | 6f799614e4126cc77776191a6ce9d38ef36ebd7a /gcc/ada/Make-lang.in | |
parent | 217efe162dcacbed0b3eb31c68a1ea9070285137 (diff) | |
download | gcc-844e7daa7eb2e155e6e491d096165847f47a7020.zip gcc-844e7daa7eb2e155e6e491d096165847f47a7020.tar.gz gcc-844e7daa7eb2e155e6e491d096165847f47a7020.tar.bz2 |
Make-lang.in: Add initialize.o when needed.
2005-06-10 Doug Rupp <rupp@adacore.com>
Arnaud Charlet <charlet@adacore.com>
Olivier Hainque <hainque@adacore.com>
Jose Ruiz <ruiz@adacore.com>
* Make-lang.in: Add initialize.o when needed.
Remove obsolete references to RT_FLAGS.
Add missing dependencies for sdefault.o
* initialize.c: New file.
* init.c [VMS] Declare ADA$ externs weak to fix build problem in IVMS.
[VMS] cond_signal_table: Fix problem in declaration.
[VMS] __gnat_error_handler: rewrite.
Move all __gnat_initialize() routines to initialize.c
Specialize the former "hpux" section to "hppa hpux", as this is what the
section really is here for and we now have other hpux ports that need
different contents.
(__gnat_adjust_context_for_raise) i386-linux: First version of this
function for this target. Adjust PC by one in the machine context. This
adjustment was previously done in the MD_FALLBACK_FRAME_STATE_FOR, but
it is more reliable to do that in the signal handler itself.
(__gnat_install_handler) i386-linux: Set SA_SIGINFO in the sigaction
flags, so that the handler is passed the context structure to adjust
prior to the raise.
(__gnat_error_handler) i386-linux: Adjust the signature to match what a
SA_SIGINFO sigaction should look like. Call
__gnat_adjust_context_for_raise before actually raising. Cleanup unused
Machine_State_Operations stuff.
Add conditional code so that the x86_64 is also supported.
From-SVN: r101047
Diffstat (limited to 'gcc/ada/Make-lang.in')
-rw-r--r-- | gcc/ada/Make-lang.in | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/gcc/ada/Make-lang.in b/gcc/ada/Make-lang.in index 251fa79..b9a5692 100644 --- a/gcc/ada/Make-lang.in +++ b/gcc/ada/Make-lang.in @@ -1,6 +1,6 @@ # Top level -*- makefile -*- fragment for GNU Ada (GNAT). # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. #This file is part of GCC. @@ -105,7 +105,8 @@ ADA_TOOLS_FLAGS_TO_PASS=\ # Object files for gnat1 from C sources. GNAT1_C_OBJS = ada/b_gnat1.o ada/adadecode.o ada/adaint.o ada/cstreams.o \ ada/cio.o ada/targtyps.o ada/decl.o ada/misc.o ada/utils.o ada/utils2.o \ - ada/trans.o ada/cuintp.o ada/argv.o ada/raise.o ada/init.o ada/tracebak.o + ada/trans.o ada/cuintp.o ada/argv.o ada/raise.o ada/init.o ada/tracebak.o \ + ada/initialize.o # Object files from Ada sources that are used by gnat1 @@ -162,6 +163,7 @@ GNATBIND_OBJS = \ ada/cstreams.o \ ada/final.o \ ada/init.o \ + ada/initialize.o \ ada/seh_init.o \ ada/link.o \ ada/raise.o \ @@ -942,7 +944,7 @@ ada/stamp-sdefault : $(srcdir)/version.c Makefile ada/sdefault.o : ada/sdefault.ads ada/sdefault.adb ada/types.ads \ ada/unchdeal.ads ada/system.ads ada/s-exctab.ads ada/s-stalib.ads \ - ada/unchconv.ads ada/osint.ads + ada/unchconv.ads ada/osint.ads ada/g-os_lib.ads ada/g-string.ads ADA_TREE_H = ada/ada-tree.h ada/ada-tree.def @@ -1009,15 +1011,19 @@ ada/final.o : ada/final.c $(CONFIG_H) $(SYSTEM_H) ada/raise.h ada/link.o : ada/link.c ada/cio.o : ada/cio.c $(CONFIG_H) $(SYSTEM_H) ada/adaint.h - $(CC) -c $(ALL_CFLAGS) $(ALL_ADA_CFLAGS) $(RT_FLAGS) \ + $(CC) -c $(ALL_CFLAGS) $(ALL_ADA_CFLAGS) \ $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION) ada/init.o : ada/init.c $(CONFIG_H) $(SYSTEM_H) ada/adaint.h ada/raise.h - $(CC) -c $(ALL_CFLAGS) $(ALL_ADA_CFLAGS) $(RT_FLAGS) \ + $(CC) -c $(ALL_CFLAGS) $(ALL_ADA_CFLAGS) \ + $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION) + +ada/initialize.o : ada/initialize.c + $(CC) -c $(ALL_CFLAGS) $(ALL_ADA_CFLAGS) \ $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION) ada/raise.o : ada/raise.c $(CONFIG_H) $(SYSTEM_H) ada/adaint.h ada/raise.h - $(CC) -c $(ALL_CFLAGS) $(ALL_ADA_CFLAGS) $(RT_FLAGS) \ + $(CC) -c $(ALL_CFLAGS) $(ALL_ADA_CFLAGS) \ $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION) # Need to keep the frame pointer in this file to pop the stack properly on |