[Long] Problem with ld
Maciej Piechotka
uzytkownik2@gmail.com
Thu Jan 15 23:41:00 GMT 2009
On Wed, 2009-01-14 at 06:27 -0800, Ian Lance Taylor wrote:
> Maciej Piechotka <uzytkownik2@gmail.com> writes:
>
> > Ian Lance Taylor <iant@google.com> writes:
> >
> >> Maciej Piechotka <uzytkownik2@gmail.com> writes:
> >>
> >>> SECTIONS
> >>> {
> >>> . = phys;
> >>> .setup :
> >>
> >>> How to force lower offset for .setup.
> >>
> >> It should work to use . = phys + SIZEOF_HEADERS,
> >
> > But it dosen't:
> > [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
> > [ 0] NULL 00000000 000000 000000 00 0 0 0
> > [ 1] .setup PROGBITS 001000b4 006008 000044 00 0 0 1
> > ^^^^^^
> >> or to link with -N.
> >>
> >
> > [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
> > [ 0] NULL 00000000 000000 000000 00 0 0 0
> > [ 1] .setup PROGBITS 00100000 006008 000044 00 0 0 1
> >
> >> Ian
> >>
> >
> > None of this option changed the offset in file of first section.
>
> That seems rather odd. I have no idea why the offset is being set so
> high. That almost sounds like a bug somewhere.
>
> Ian
Well. Is it possibly to set it? Where could be the bug and where to
report it.
Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://sourceware.org/pipermail/binutils/attachments/20090115/912fc6a9/attachment.sig>
More information about the Binutils
mailing list