This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld - adding sessions to the program header
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: Guilherme Destefani <gd at helixbrasil dot com dot br>
- Cc: binutils at sources dot redhat dot com
- Date: 04 Feb 2004 13:02:54 -0500
- Subject: Re: ld - adding sessions to the program header
- References: <1075910407.26038.24.camel@homemfera.perkons.com.br>
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