Why no expressions in MEMORY command?

Linus Nielsen Feltzing linus@haxx.se
Tue Apr 12 20:22:00 GMT 2005
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



More information about the Binutils mailing list