This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Getting asm macros expanded
- From: "Philipp Marek" <philipp at marek dot priv dot at>
- To: "David Dyck" <david dot dyck at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 17 Mar 2009 16:16:55 +0100 (CET)
- Subject: Re: Getting asm macros expanded
- References: <62083.85.124.173.226.1237275288.squirrel@webmail.hitco.org> <D2302BBC-E16D-4E02-88C8-F56C2DD85DCA@gmail.com>
[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.
Regards,
Phil
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!