diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-01-19 23:36:31 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-01-19 23:36:31 +0000 |
commit | 1d4eda0d2362c7404a81bb0e1e308565b8a4b8f9 (patch) | |
tree | da5a6b2829fa072fe1ae806b45f6b5cc70a3e313 /Build/source/libs/gmp/gmp-src/mpn/powerpc64/darwin.m4 | |
parent | d2777035be2644c9649530be7f9fa31c8abaaf63 (diff) |
gmp-6.2.0
git-svn-id: svn://tug.org/texlive/trunk@53461 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/gmp/gmp-src/mpn/powerpc64/darwin.m4')
-rw-r--r-- | Build/source/libs/gmp/gmp-src/mpn/powerpc64/darwin.m4 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Build/source/libs/gmp/gmp-src/mpn/powerpc64/darwin.m4 b/Build/source/libs/gmp/gmp-src/mpn/powerpc64/darwin.m4 index a3180e48fd7..2c995e70678 100644 --- a/Build/source/libs/gmp/gmp-src/mpn/powerpc64/darwin.m4 +++ b/Build/source/libs/gmp/gmp-src/mpn/powerpc64/darwin.m4 @@ -29,14 +29,14 @@ dnl You should have received copies of the GNU General Public License and the dnl GNU Lesser General Public License along with the GNU MP Library. If not, dnl see https://www.gnu.org/licenses/. +define(`DARWIN') + define(`ASM_START',`') dnl Called: PROLOGUE_cpu(GSYM_PREFIX`'foo[,toc]) dnl EPILOGUE_cpu(GSYM_PREFIX`'foo) dnl -define(`DARWIN') - define(`PROLOGUE_cpu', m4_assert_numargs_range(1,2) `ifelse(`$2',toc,, @@ -46,8 +46,7 @@ m4_assert_numargs_range(1,2) .align 5 $1:') -define(`EPILOGUE_cpu', -m4_assert_numargs(1)) +define(`lea_list', `') dnl LEAL -- Load Effective Address Local. This is to be used for symbols dnl defined in the same file. It will not work for externally defined @@ -74,7 +73,7 @@ dnl another file. It will not work for locally defined symbols. define(`LEA', m4_assert_numargs(2) `ifdef(`PIC', -`define(`EPILOGUE_cpu', +`define(`lea_list', ` .non_lazy_symbol_pointer `L'$2`'$non_lazy_ptr: .indirect_symbol $2 @@ -112,6 +111,10 @@ m4_assert_numargs(1)) define(`CALL', `bl GSYM_PREFIX`'$1') +define(`EPILOGUE_cpu', +`lea_list' +`define(`lea_list', `')') + define(`ASM_END', `dnl') define(`EXTRA_REGISTER', r2) |