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


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

Correct ld setting of "end" symbol in arm/syscalls.c _sbrk?


For the arm target _sbrk() has a linker defined symbol
asm("end") used to indicate the start of the heap.

Can someone please give me an example of the correct way of setting
the end symbol in the linker step and the magic incantation required?
Something like (??)
arm-unknown-coff-ld -defsym end=0x????????
What's the correct magic here   ^^^^^^^^^^

Host is i686-pc-linux-gnu
Target is arm-unknown-coff

Thanks!


-- 

Chan Shih-Ping (Richard) <cshihpin@dso.org.sg>
DSO National Laboratories
20 Science Park Drive
Singapore 118230


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