aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--libffi/ChangeLog4
-rw-r--r--libffi/src/alpha/osf.S4
2 files changed, 8 insertions, 0 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index e8b81e7..b8b9151 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
+
2001-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in: Recognize sparc*-sun-* host.
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