Getting asm macros expanded

Philipp Marek
Tue Mar 17 15:17:00 GMT 2009

[replying to the list]

Hello David,

> Are you trying to take assembly files generated from compilers or
> straight from .s files. Could your needs be met by modifying your
> makefiles to preprocess your sources into .a files?
Well, I've renamed /usr/bin/as to something else, and put my own script in there, so
that my script is transparently called for *any* compilation.

This works mostly; but eg. on the linux kernel (arch/x86/kernel/entry_64.S) I can't get
the macros to expand to pure assembler before I get them.



Versioning your /etc, /home or even your whole installation?
             Try fsvs (!

More information about the Binutils mailing list