Allow libgcj to use new exception model

Andrew Haley aph@cambridge.redhat.com
Mon Apr 30 08:03:00 GMT 2001


This is needed to allow non-call exceptions (such as divide overflow
and SEGV) to work with the new model. An alternative to
"-fnon-call-exceptions", which we may one day use on some targets, is
"-fcheck-references". Only one of these is strictly necessary.
Andrew.
2001年04月30日 Andrew Haley <aph@cambridge.redhat.com>
 * libgcj.spec.in (jc1): Add EXCEPTIONSPEC.
 * configure.host (EXCEPTIONSPEC): New.
 * configure.in (EXCEPTIONSPEC): New.
 * configure: Rebuilt.
Index: configure.host
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.host,v
retrieving revision 1.17
diff -p -2 -c -r1.17 configure.host
*** configure.host 2001年04月02日 19:51:40 1.17
--- configure.host 2001年04月30日 14:54:13
*************** echo "$target"
*** 46,49 ****
--- 46,50 ----
 
 DIVIDESPEC=-fuse-divide-subroutine
+ EXCEPTIONSPEC=-fnon-call-exceptions
 
 case "${host}" in
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.in,v
retrieving revision 1.80
diff -p -2 -c -r1.80 configure.in
*** configure.in 2001年04月26日 04:29:57 1.80
--- configure.in 2001年04月30日 14:54:13
*************** AC_SUBST(ZDEPS)
*** 634,637 ****
--- 634,638 ----
 AC_SUBST(ZINCS)
 AC_SUBST(DIVIDESPEC)
+ AC_SUBST(EXCEPTIONSPEC)
 
 AM_CONDITIONAL(CANADIAN, test "$CANADIAN" = yes)
Index: libgcj.spec.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/libgcj.spec.in,v
retrieving revision 1.15
diff -p -2 -c -r1.15 libgcj.spec.in
*** libgcj.spec.in 2001年03月28日 11:04:27 1.15
--- libgcj.spec.in 2001年04月30日 14:54:13
***************
*** 7,11 ****
 *lib: -lgcj -lm @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@ %(libgcc) %(libo
rig)
 
! *jc1: @DIVIDESPEC@ @JC1GCSPEC@
 
 #
--- 7,11 ----
 *lib: -lgcj -lm @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@ %(libgcc) %(libo
rig)
 
! *jc1: @DIVIDESPEC@ @JC1GCSPEC@ @EXCEPTIONSPEC@
 
 #


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /