aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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