summaryrefslogtreecommitdiff
path: root/mpn/powerpc32
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2007-10-09 22:55:38 +0200
committertege <tege@gmplib.org>2007-10-09 22:55:38 +0200
commit5bcb6882364c50bcef18da0b01e576d99ead2c04 (patch)
tree92fee920fb8629e532452c9c69ad59518e756144 /mpn/powerpc32
parentd8de9464d77e4124c5fed2cc3dfff7ad1d319551 (diff)
downloadgmp-5bcb6882364c50bcef18da0b01e576d99ead2c04.tar.gz
(LEAL): Define as an alias for LEA.
Diffstat (limited to 'mpn/powerpc32')
-rw-r--r--mpn/powerpc32/darwin.m410
1 files changed, 7 insertions, 3 deletions
diff --git a/mpn/powerpc32/darwin.m4 b/mpn/powerpc32/darwin.m4
index 5b04f4ba2..b76103a8c 100644
--- a/mpn/powerpc32/darwin.m4
+++ b/mpn/powerpc32/darwin.m4
@@ -35,10 +35,9 @@ define(`EPILOGUE_cpu',
m4_assert_numargs(1))
-dnl LEAL -- Load Effective Address Local. This is to be used for symbols
-dnl defined in the same file.
+dnl LEA -- Load Effective Address.
-define(`LEAL',
+define(`LEA',
m4_assert_numargs(2)
`ifdef(`PIC',
` mflr r0 C save return address
@@ -52,6 +51,11 @@ m4_assert_numargs(2)
la $1, lo16($2)($1)
')')
+define(`LEAL',
+m4_assert_numargs(2)
+`LEA($1,$2)')
+
+
define(`EXTERN',
m4_assert_numargs(1)
`dnl')