This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]