Is there a way to use GNU only to extend the .macro directives in a .S file by creating another .S file without them? Compatible with what gcc -E does with C.
Note that this applies to the asmacro.macro directive, as in the following code, not to the C-style #define macros, which can be extended with cpp.
.macro my_macro src, so, dest movl \so+10(\src), %r8d
assembly macros
JΓΌrgen strobel
source share