diff options
author | Niels Möller <nisse@lysator.liu.se> | 2015-01-17 21:31:47 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2015-01-17 21:31:47 +0100 |
commit | 0149d937efbc8fcc34428d2232d4b366b2d97663 (patch) | |
tree | c3db318bd58d00f6d3f4a3053fe973cd7fb8352d /asm.m4 | |
parent | f003aee64b9f3181770faeb42b8fe9a02a78d5c3 (diff) | |
download | nettle-0149d937efbc8fcc34428d2232d4b366b2d97663.tar.gz |
Reorganize symbols for fat routines.
Diffstat (limited to 'asm.m4')
-rw-r--r-- | asm.m4 | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -13,7 +13,8 @@ dnl Including files from the srcdir define(<include_src>, <include(srcdir/$1)>)dnl dnl default definition, changed in fat builds -define(<fat_suffix>, <>) +define(<fat_transform>, <$1>) +define(<C_NAME>, <SYMBOL_PREFIX<>fat_transform($1)>) dnl Pseudo ops define(<DECLARE_FUNC>, @@ -27,13 +28,13 @@ COFF_STYLE, yes, <>)>) define(<PROLOGUE>, -<.globl C_NAME($1)<>fat_suffix -DECLARE_FUNC(C_NAME($1)<>fat_suffix) -C_NAME($1)<>fat_suffix:>) +<.globl C_NAME($1) +DECLARE_FUNC(C_NAME($1)) +C_NAME($1):>) define(<EPILOGUE>, <ifelse(ELF_STYLE,yes, -<.size C_NAME($1)<>fat_suffix, . - C_NAME($1)<>fat_suffix>,<>)>) +<.size C_NAME($1), . - C_NAME($1)>,<>)>) define(<m4_log2>, <m4_log2_internal($1,1,0)>) define(<m4_log2_internal>, |