summaryrefslogtreecommitdiff
path: root/mpn/x86/x86-defs.m4
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-12-21 18:55:19 +0100
committerKevin Ryde <user42@zip.com.au>2001-12-21 18:55:19 +0100
commitc912b3dbc97f9b8f14026124ade6173c01338431 (patch)
tree0f5969c0238f51e96cdfe212bb75bc20f1f7a19e /mpn/x86/x86-defs.m4
parent404ee5f222a7177fa3b5c59030e3e8b7cba7aa53 (diff)
downloadgmp-c912b3dbc97f9b8f14026124ade6173c01338431.tar.gz
* mpn/x86/x86-defs.m4, mpn/x86/*/*.asm: Remove L / LF scheme putting
function name in local labels.
Diffstat (limited to 'mpn/x86/x86-defs.m4')
-rw-r--r--mpn/x86/x86-defs.m431
1 files changed, 0 insertions, 31 deletions
diff --git a/mpn/x86/x86-defs.m4 b/mpn/x86/x86-defs.m4
index f0bbf107f..5d7e321d7 100644
--- a/mpn/x86/x86-defs.m4
+++ b/mpn/x86/x86-defs.m4
@@ -114,37 +114,6 @@ m4_assert_numargs(1)
')')')
-dnl Usage: L(labelname)
-dnl LF(functionname,labelname)
-dnl
-dnl Generate a local label in the current or given function. For LF(),
-dnl functionname gets GSYM_PREFIX added, the same as with PROLOGUE().
-dnl
-dnl For example, in a function mpn_add_n (and with MPN_PREFIX __gmpn),
-dnl
-dnl L(bar) => L__gmpn_add_n__bar
-dnl LF(somefun,bar) => Lsomefun__bar
-dnl
-dnl The function name and label name get two underscores between them
-dnl rather than one to guard against clashing with a separate external
-dnl symbol that happened to be called functionname_labelname. (Though this
-dnl would only happen if the local label prefix is is empty.) Underscores
-dnl are used so the whole label will still be a valid C identifier and so
-dnl can be easily used in gdb.
-
-dnl LSYM_PREFIX can be L$, so defn() is used to prevent L expanding as the
-dnl L macro and making an infinite recursion.
-define(LF,
-m4_assert_numargs(2)
-m4_assert_defined(`LSYM_PREFIX')
-`defn(`LSYM_PREFIX')GSYM_PREFIX`'$1`'__$2')
-
-define(`L',
-m4_assert_numargs(1)
-PROLOGUE_assert_inside()
-`LF(PROLOGUE_current_function,`$1')')
-
-
dnl Called: PROLOGUE_cpu(gsym)
dnl EPILOGUE_cpu(gsym)