summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-18 18:41:11 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-18 18:41:11 +0000
commitdc155f859f11362a5f14bf6f60c797779b3282ab (patch)
tree8143ad6148226211b02083e871acdde43b64f4b3 /libffi
parent7965d83f493f78c5125bcb4010f94ac0df181917 (diff)
downloadgcc-dc155f859f11362a5f14bf6f60c797779b3282ab.tar.gz
- Symmetrically define ffi_call_DARWIN for AIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48993 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog1
-rw-r--r--libffi/src/powerpc/aix.S15
2 files changed, 16 insertions, 0 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 1496f5939fc..8a1b6980f96 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,6 +1,7 @@
2002-01-18 David Edelsohn <edelsohn@gnu.org>
* src/powerpc/darwin.S (_ffi_call_AIX): New.
+ * src/powerpc/aix.S (ffi_call_DARWIN): New.
2002-01-17 David Edelsohn <edelsohn@gnu.org>
diff --git a/libffi/src/powerpc/aix.S b/libffi/src/powerpc/aix.S
index a0a6598175d..427733f5976 100644
--- a/libffi/src/powerpc/aix.S
+++ b/libffi/src/powerpc/aix.S
@@ -205,5 +205,20 @@ L(fp_return_value):
L(float_return_value):
stfs f1,0(r30)
b L(done_return_value)
+ .long 0
+ .byte 0,0,0,1,128,4,0,0
//END(ffi_call_AIX)
+.csect .text[PR]
+ .align 2
+ .globl ffi_call_DARWIN
+ .globl .ffi_call_DARWIN
+.csect ffi_call_DARWIN[DS]
+ffi_call_DARWIN:
+ .long .ffi_call_DARWIN, TOC[tc0], 0
+ .csect .text[PR]
+.ffi_call_DARWIN:
+ blr
+ .long 0
+ .byte 0,0,0,0,0,0,0,0
+//END(ffi_call_DARWIN)