diff options
author | Andrew Haley <aph@redhat.com> | 2009-08-12 16:34:00 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2009-08-12 16:34:00 +0000 |
commit | e8e76230ed27bb3a942c0db135089f905c43684f (patch) | |
tree | e16fbabe8bb8dfe6812a509c329d1ecd79bb1c0a /libjava/configure.host | |
parent | b2a58473d7b5cb84c43da1a7749b29a96a4bfbad (diff) | |
download | gcc-e8e76230ed27bb3a942c0db135089f905c43684f.zip gcc-e8e76230ed27bb3a942c0db135089f905c43684f.tar.gz gcc-e8e76230ed27bb3a942c0db135089f905c43684f.tar.bz2 |
locks.h: Use atomic builtins For Linux EABI.
2009-08-12 Andrew Haley <aph@redhat.com>
* sysdep/arm/locks.h: Use atomic builtins For Linux EABI.
* configure.ac: Add ATOMICSPEC.
* libgcj.spec.in: Likewise.
* configure.host (arm*-linux*): Add -Wno-abi to cxxflags.
(testsuite/libjava.jvmti/jvmti-interp.exp): Likewise.
(testsuite/libjava.jvmti/jvmti.exp): Likewise.
(testsuite/libjava.jni/jni.exp): Likewise.
Set ATOMICSPEC.
Set LDFLAGS to work around libtool feature.
From-SVN: r150702
Diffstat (limited to 'libjava/configure.host')
-rw-r--r-- | libjava/configure.host | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/configure.host b/libjava/configure.host index 79ce4d6..1d1b708 100644 --- a/libjava/configure.host +++ b/libjava/configure.host @@ -69,6 +69,7 @@ DIVIDESPEC=-fuse-divide-subroutine EXCEPTIONSPEC=-fnon-call-exceptions CHECKREFSPEC= BACKTRACESPEC= +ATOMICSPEC= # This case statement supports per-CPU defaults. case "${host}" in @@ -87,6 +88,11 @@ case "${host}" in libgcj_interpreter=yes sysdeps_dir=arm fallback_backtrace_h=sysdep/arm/backtrace.h + libgcj_cxxflags=-Wno-abi + ATOMICSPEC=-fuse-atomic-builtins + # Work around a strange libtool feature that causes libraries + # to be linked with libgcc_s but not libgcc. + LDFLAGS="${LDFLAGS} -Wl,-lgcc" ;; mips-tx39-*|mipstx39-unknown-*) libgcj_flags="${libgcj_flags} -G 0" |