diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-05-17 00:09:22 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2003-05-17 00:09:22 +0200 |
commit | a733b15e510bf45335f9b5dc345117d4741ae743 (patch) | |
tree | 0263f96916c31cb329b80472caf4f2a3a0ffa797 /libffi/src/sparc/v8.S | |
parent | f5a1c99c633d3cc9a3f3c4ee4c34094f0369bbac (diff) | |
download | gcc-a733b15e510bf45335f9b5dc345117d4741ae743.zip gcc-a733b15e510bf45335f9b5dc345117d4741ae743.tar.gz gcc-a733b15e510bf45335f9b5dc345117d4741ae743.tar.bz2 |
configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section should be read-only.
* 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.
From-SVN: r66887
Diffstat (limited to 'libffi/src/sparc/v8.S')
-rw-r--r-- | libffi/src/sparc/v8.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libffi/src/sparc/v8.S b/libffi/src/sparc/v8.S index 53374de..e9db51b 100644 --- a/libffi/src/sparc/v8.S +++ b/libffi/src/sparc/v8.S @@ -172,7 +172,11 @@ done1: #define uanword uaword #endif +#ifdef HAVE_RO_EH_FRAME + .section ".eh_frame",#alloc +#else .section ".eh_frame",#alloc,#write +#endif .LLframe1: .uaword .LLECIE1-.LLSCIE1 ! Length of Common Information Entry .LLSCIE1: |