ld - adding sessions to the program header
Ian Lance Taylor
ian@wasabisystems.com
Wed Feb 4 18:03:00 GMT 2004
Guilherme Destefani <gd@helixbrasil.com.br> writes:
> .test1 ALIGN(0x1000) : { . = 0x300 ; . = ALIGN(0x1000) ; } :test1
> =0x01234567
> .test2 ALIGN(0x1000) : { . = 0x200 ; . = ALIGN(0x1000) ; } :test2
> =0x01234567
You didn't give the sections any contents. Try putting something in
them, even just BYTE(0). That will probably make a difference.
Ian
More information about the Binutils
mailing list