diff options
author | Richard Henderson <rth@redhat.com> | 2005-05-25 16:24:07 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-05-25 16:24:07 -0700 |
commit | eb2925b676cb88c2c28b5bf7484fb432f709ce88 (patch) | |
tree | decadfd6855f01f7f2fa5b72d94ed6ce6e6edfea /libjava/configure.host | |
parent | 2f828272d85e2ef044aaab493d67d38dbd2dead8 (diff) | |
download | gcc-eb2925b676cb88c2c28b5bf7484fb432f709ce88.zip gcc-eb2925b676cb88c2c28b5bf7484fb432f709ce88.tar.gz gcc-eb2925b676cb88c2c28b5bf7484fb432f709ce88.tar.bz2 |
re PR libgcj/21692 (unexpected java.lang.NoClassDefFoundError)
PR libgcj/21692
* sysdep/descriptor-n.h: New file.
* sysdep/descriptor-y.h: New file.
* sysdep/powerpc/descriptor.h: New file.
* configure.host: Set $descriptor_h appropriate for the host.
* configure.ac: Link it.
* configure: Regenerate.
* stacktrace.cc: Include sysdep/descriptor.h.
(_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
From-SVN: r100173
Diffstat (limited to 'libjava/configure.host')
-rw-r--r-- | libjava/configure.host | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libjava/configure.host b/libjava/configure.host index ff86d72..aec0304 100644 --- a/libjava/configure.host +++ b/libjava/configure.host @@ -32,6 +32,7 @@ # (i.e it is broken). # fallback_backtrace_h Header to use for fallback backtrace implementation # (only for targets that don't support DWARF2 unwind) +# descriptor_h Header to use for looking past function descriptors libgcj_flags= libgcj_cflags= @@ -268,6 +269,19 @@ case "${host}" in ;; esac +case "${host}" in + ia64-* | hppa*-*) + descriptor_h=sysdep/descriptor-y.h + ;; + + rs6000-* | powerpc*-*) + descriptor_h=sysdep/powerpc/descriptor.h + ;; + + *) + descriptor_h=sysdep/descriptor-n.h + ;; +esac libgcj_cflags="${libgcj_cflags} ${libgcj_flags}" libgcj_cxxflags="${libgcj_cxxflags} ${libgcj_flags}" |