aboutsummaryrefslogtreecommitdiff
path: root/libffi/src/alpha/osf.S
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2001-06-26 12:04:29 +0000
committerRainer Orth <ro@gcc.gnu.org>2001-06-26 12:04:29 +0000
commit57482f585e5245a474f416eb2c1a114cf3ea1043 (patch)
treedbdbce9c0cbcbd8d119f3bae076e5f496f9b2496 /libffi/src/alpha/osf.S
parent05b432db5bcddb96c6ed9ddd88edfdfaa81d17a6 (diff)
downloadgcc-57482f585e5245a474f416eb2c1a114cf3ea1043.zip
gcc-57482f585e5245a474f416eb2c1a114cf3ea1043.tar.gz
gcc-57482f585e5245a474f416eb2c1a114cf3ea1043.tar.bz2
* src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
From-SVN: r43578
Diffstat (limited to 'libffi/src/alpha/osf.S')
-rw-r--r--libffi/src/alpha/osf.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/libffi/src/alpha/osf.S b/libffi/src/alpha/osf.S
index d6b839d..75beab8 100644
--- a/libffi/src/alpha/osf.S
+++ b/libffi/src/alpha/osf.S
@@ -251,7 +251,11 @@ $LFE2:
.end ffi_closure_osf
+#ifdef __ELF__
.section .rodata
+#else
+.rdata
+#endif
$load_table:
.gprel32 $load_none # FFI_TYPE_VOID
.gprel32 $load_32 # FFI_TYPE_INT