summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-01 00:33:09 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-01 00:33:09 +0000
commitcc46fb3056cb2f7fc79241a57bd1c9240327dc52 (patch)
tree55fad4c05e42253ac9efb57eaab87ef006059603 /libffi
parent197f58fac938c5c4478231d8003942e89c1a439e (diff)
downloadgcc-cc46fb3056cb2f7fc79241a57bd1c9240327dc52.tar.gz
* src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET
to call ffi_closure_helper_SYSV. Append @local instead. * src/powerpc/sysv.S (ffi_call_SYSV): Likewise for ffi_prep_args_SYSV. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100416 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog6
-rw-r--r--libffi/src/powerpc/ppc_closure.S2
-rw-r--r--libffi/src/powerpc/sysv.S2
3 files changed, 8 insertions, 2 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index d1f580e3c7b..fb1e67b39f5 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,9 @@
+2005-06-01 Alan Modra <amodra@bigpond.net.au>
+
+ * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET
+ to call ffi_closure_helper_SYSV. Append @local instead.
+ * src/powerpc/sysv.S (ffi_call_SYSV): Likewise for ffi_prep_args_SYSV.
+
2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
diff --git a/libffi/src/powerpc/ppc_closure.S b/libffi/src/powerpc/ppc_closure.S
index ba13fa467e4..c71a7ff3b3b 100644
--- a/libffi/src/powerpc/ppc_closure.S
+++ b/libffi/src/powerpc/ppc_closure.S
@@ -57,7 +57,7 @@ ENTRY(ffi_closure_SYSV)
addi %r7,%r1,152
# make the call
- bl JUMPTARGET(ffi_closure_helper_SYSV)
+ bl ffi_closure_helper_SYSV@local
# now r3 contains the return type
# so use it to look up in a table
diff --git a/libffi/src/powerpc/sysv.S b/libffi/src/powerpc/sysv.S
index 1689d292d80..6d8b60155bb 100644
--- a/libffi/src/powerpc/sysv.S
+++ b/libffi/src/powerpc/sysv.S
@@ -60,7 +60,7 @@ ENTRY(ffi_call_SYSV)
/* Call ffi_prep_args_SYSV. */
mr %r4,%r1
- bl JUMPTARGET(ffi_prep_args_SYSV)
+ bl ffi_prep_args_SYSV@local
/* Now do the call. */
/* Set up cr1 with bits 4-7 of the flags. */