2 dnl Copyright 2007 Free Software Foundation, Inc.
4 dnl This file is part of the GNU MP Library.
6 dnl The GNU MP Library is free software; you can redistribute it and/or
7 dnl modify it under the terms of the GNU Lesser General Public License as
8 dnl published by the Free Software Foundation; either version 3 of the
9 dnl License, or (at your option) any later version.
11 dnl The GNU MP Library is distributed in the hope that it will be useful,
12 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
13 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 dnl Lesser General Public License for more details.
16 dnl You should have received a copy of the GNU Lesser General Public License
17 dnl along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
21 dnl Usage LEA(symbol,reg)
23 dnl FIXME: Only handles one symbol per assembly file because of the
24 dnl way EPILOGUE_cpu is handled.
27 define(`EPILOGUE_cpu',
28 ` L(movl_eip_`'substr($2,1)):
31 .section __IMPORT,__pointers,non_lazy_symbol_pointers
36 call L(movl_eip_`'substr($2,1))
37 movl L($1`'$non_lazy_ptr)-.($2), $2