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]

Why no expressions in MEMORY command?


It seems you can only use hard-coded values in a MEMORY command. 

Why can't you use scripts ike:


EXT_RAM_START = ...
EXT_RAM_SIZE = ......

MEMORY
{
    ext_ram:  ORIGIN = EXT_RAM_START, LENGTH = EXT_RAM_SIZE
}

This can make things a lot easier...


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