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: PATCH: Fix -Ttext and friends for ELF systems


Ian Lance Taylor wrote:

<>I do agree that the linker script has to cooperate. Suppose that,
rather than the simple mechanism of setting a symbol, you use the more
complex mechanism of adding a new expression to the linker script:
SEGMENT_START(NAME, DEFAULT). In your script, it might be used as
TEXT_START_ADDR='SEGMENT_START ("text", ${TEXT_START_ADDR})'

OK, I can try that.


--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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