This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Why no expressions in MEMORY command?
Dave Korn wrote:
FYI: I looked into it in some depth once; it would require quite a hefty
bit of patching, since the information about symbol values isn't evaulated
yet at the time the parser is reading the MEMORY command.
In the Rockbox project, we use the C preprocessor on the linker command
files. That way we can use #define, #ifdef and so on. Very useful.
Linus