[parisc-linux] booting problems
John David Anglin
dave@hiauly1.hia.nrc.ca
Fri, 11 Jun 1999 20:56:52 -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).
The -s option strips the symbols.
The result of the link can be inspected with the command:
hppa-parisc-objdump --headers ipl
Hope this works.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)