a-except.adb (Zero_Cost_Exceptions): Removed, no longer used.
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 13:52:55 +0000 (14:52 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 13:52:55 +0000 (14:52 +0100)
commit982f26e474453b112f6516208db854f287ace66d
tree0729687fd2f51fc5d6d47f05db75aa9af3a5e6b5
parentc01b085ff710a357b6f14d038b818bd5ef8f2846
a-except.adb (Zero_Cost_Exceptions): Removed, no longer used.

* a-except.adb (Zero_Cost_Exceptions): Removed, no longer used.
(builtin_longjmp, Process_Raise_Exceeption): Move setjmp/longjmp
related code to a-exexpr.adb
(Save_Occurrence_And_Private): Move GCC EH related code to
a-exexpr-gcc.adb
(Raise_Current_Excep): Add new variable Id with pragma
        volatile, to ensure that the variable lives on stack.

* a-exexpr-gcc.adb, raise-gcc.c: New file.

* a-exexpr.adb (builtin_longjmp, Propagate_Exception): Moved here code
from a-except.adb.
Move GCC EH related code to a-exexpr-gcc.adb

* Makefile.in: Add or update g-soccon LIBGNAT pairs for Linux/PPC and
64-bit Solaris
Split the Linux version of g-soccon into separate variants for 32 and 64
bit platforms.
(gnatlib): Use $(AR_FOR_TARGET) and $(RANLIB_FOR_TARGET)
vice $(AR) and $(RANLIB). Remove use of host variable $(RANLIB_FLAGS).
install-gnatlib: Use $(RANLIB_FOR_TARGET) vice $(RANLIB). Remove use
of host variable $(RANLIB_FLAGS).
(alpha64-dec-*vms*): Fix translations for 64 bit compiler.
Code clean up: remove unused/obsolete targets.
(EH_MECHANISM): New variable introduced to differenciate between the
two EH mechanisms statically.
(gnatlib-zcx, gnatlib-sjlj): Force EH_MECHANISM manually.
(LIBGNAT_OBJS): Add raise-gcc.o
(LIBGNAT_TARGET_PAIRS for ppc-vxworks): Use an specialized version of
s-osinte.adb, s-tpopsp.adb, and system.ads for the run time that
supports VxWorks 6 RTPs.
(EXTRA_GNATRTL_NONTASKING_OBJS for ppc-vxworks): Remove the use of
i-vxworks and i-vxwoio from the run time that supports VxWorks 6 RTPs.

* raise.c: Move all GCC EH-related routines to raise-gcc.c

From-SVN: r106959
gcc/ada/Makefile.in
gcc/ada/a-except.adb
gcc/ada/a-exexpr-gcc.adb [new file with mode: 0644]
gcc/ada/a-exexpr.adb
gcc/ada/raise-gcc.c [new file with mode: 0644]
gcc/ada/raise.c