Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
343be0b5
Commit
343be0b5
authored
Jan 12, 2015
by
Niels Möller
Browse files
Refactor PROLOGUE macro in asm.m4.
parent
1f0c7e6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
343be0b5
2015-01-12 Niels Möller <nisse@lysator.liu.se>
* asm.m4 (DECLARE_FUNC): New macro, extracted from PROLOGUE.
(PROLOGUE): Use it.
* configure.ac (OPT_NETTLE_OBJS, OPT_HOGWEED_OBJS): Renamed
substituted variables, and list the object files rather than
source files.
...
...
asm.m4
View file @
343be0b5
...
...
@@ -13,21 +13,20 @@ dnl Including files from the srcdir
define(<include_src>, <include(srcdir/$1)>)dnl
dnl Pseudo ops
define(<PROLOGUE>,
define(<DECLARE_FUNC>,
<ifelse(ELF_STYLE,yes,
<.globl C_NAME($1)
.type C_NAME($1),TYPE_FUNCTION
C_NAME($1):>,
COFF_STYLE, <yes>,
<.globl C_NAME($1)
.def C_NAME($1)
<.type $1,TYPE_FUNCTION>,
COFF_STYLE, yes,
<.def $1
.scl 2
.type 32
.endef
C_NAME($1):>,
.endef>,
<>)>)
define(<PROLOGUE>,
<.globl C_NAME($1)
C_NAME($1):>)>)
DECLARE_FUNC(C_NAME($1))
C_NAME($1):>)
define(<EPILOGUE>,
<ifelse(ELF_STYLE,yes,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment