diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-16 22:09:22 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-16 22:09:22 +0000 |
commit | 1da888ec71546d0aa101f154847eac8baadfa6f9 (patch) | |
tree | 0263f96916c31cb329b80472caf4f2a3a0ffa797 /libffi/include | |
parent | 9e46e77e7dafd4a35f9f6139693f80e26515258c (diff) | |
download | gcc-1da888ec71546d0aa101f154847eac8baadfa6f9.tar.gz |
* configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section
should be read-only.
* configure: Rebuilt.
* fficonfig.h.in: Rebuilt.
* include/ffi.h.in (EH_FRAME_FLAGS): Define.
* src/alpha/osf.S: Use EH_FRAME_FLAGS.
* src/powerpc/linux64.S: Likewise.
* src/powerpc/linux64_closure.S: Likewise. Include ffi.h.
* src/powerpc/sysv.S: Use EH_FRAME_FLAGS. Use pcrel encoding
if -fpic/-fPIC/-mrelocatable.
* src/powerpc/powerpc_closure.S: Likewise.
* src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include
#write in .eh_frame flags.
* src/sparc/v9.S: Likewise.
* src/x86/unix64.S: Use EH_FRAME_FLAGS.
* src/x86/sysv.S: Likewise. Use pcrel encoding if -fpic/-fPIC.
* src/s390/sysv.S: Use EH_FRAME_FLAGS. Include ffi.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66887 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/include')
-rw-r--r-- | libffi/include/ffi.h.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libffi/include/ffi.h.in b/libffi/include/ffi.h.in index c51a809ea3f..b37307c8f92 100644 --- a/libffi/include/ffi.h.in +++ b/libffi/include/ffi.h.in @@ -183,7 +183,15 @@ extern "C" { #endif #endif -#ifndef LIBFFI_ASM +#ifdef LIBFFI_ASM + +#ifdef HAVE_RO_EH_FRAME +#define EH_FRAME_FLAGS "a" +#else +#define EH_FRAME_FLAGS "aw" +#endif + +#else /* ---- Generic type definitions ----------------------------------------- */ |