[parisc-linux] booting problems
John David Anglin
dave@hiauly1.hia.nrc.ca
Fri, 11 Jun 1999 21:25:47 -0400 (EDT)
>
> > Okay, this is the same conclusion I came to. Where should I put both
> > the data and text sengments?
>
> Try this for the ld options: -Ttext 800 -N -s.
>
> This links all sections in low virtual memory. VMA and LMA for the
> .text section are 0x800 (the size of the LIF header, 2048). The file
> offset to the .text section is 0xa0 bytes when -N is specified. The
> size of the LIF header should be 0x800 - 0xa0 = 0x760 (1888 bytes).
This last part may be unclear. What you need to arrange is that
the offset to the .text section in the binary image is 0x800 bytes.
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)