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: MEMORY commands in link scripts


Hi Jon,

I still think it might be useful have ORIGIN() and LENGTH() functions. If I
were to create a patch to implement this, is it likely to be accepted?

Yes, provided that a) it worked, b) it was tested and c) you had a copyright assignment on file with the FSF.


>Would overloading the ADDR() and SIZEOF() functions be more approriate?

No, definitely not. Keep things simple. :-)

Cheers
  Nick



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