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

Richard Chan
Wed Jun 20 01:19:00 GMT 2001

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



Chan Shih-Ping (Richard) <>
DSO National Laboratories
20 Science Park Drive
Singapore 118230

More information about the Newlib mailing list