This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Correct ld setting of "end" symbol in arm/syscalls.c _sbrk?
- To: newlib at sources dot redhat dot com
- Subject: Correct ld setting of "end" symbol in arm/syscalls.c _sbrk?
- From: Richard Chan <cshihpin at dso dot org dot sg>
- Date: Wed, 20 Jun 2001 16:22:21 +0800
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