This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld - adding sessions to the program header


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]