GNU LD: Linker script generating incorrect address
Jens Bauer
jens-lists@gpio.dk
Tue May 21 05:17:00 GMT 2013
On Tue, 21 May 2013 06:26:02 +0200, Jens Bauer wrote:
> 0x00005c64 _eustack = .
> 0x00000100 _lustack = (_eustack - _sustack)
> 0x10008000 _stack = (ORIGIN (sram) + 0x8000)
> 0x1000239c _eheap = (_stack - _lustack)
>
> -Shouldn't this be approximately 0x10007f00 ?
I fixed this by using SIZEOF(.ustack) instead of calculating the size manually.
-The problem is solved, but I still wonder why the results were not those I expected.
Love
Jens
More information about the Binutils
mailing list