Skip to contentSkip to conversation

parisc-linux-ld

parisc-linux Helge Deller 2 participants 2 messages Jun 27, 1999 – Jun 28, 1999

lore
Share & tools
lore
#0 lore raw

Hi Alex !

Could maybe someone make me a patched "parisc-linux-ld" binary, where I can do

parisc-linux-ld -R xyz -N ( or any other letter for -R)

where xyz should be the origin of the ELF-binary, which is currently 0x2000 as seen in the mapfile ? (or is there any other possibility, because -R at GNU-ld is not used for origin, but for symbol-names...).

If I would have such an patched linker, I maybe could try make the cross-compiled ELF-binary bootable.....

Helge Deller..

--
---------------------------------------
Mailto:[email protected]
ICQ# 2046114
---------------------------------------

#1 lore raw
Quoted 2 lines

If I would have such an patched linker, I maybe could try make the cross-compiled ELF-binary bootable.....

Work has started to rewrite the hppa elf tools (gcc and binutils). However, Jeff Law has indicated that the relocations done by ld have a lot of bugs. He has strongly recommended that the elf tools not be used until the rewrite is complete. However, having said that, it would be useful to develop an ipl that could load an elf kernel.

With ld, the text origin can be set with "-Ttext address" or using a loader script (see arch/parisc/hp/vmlinux.lds). The headers describing the elf format can be found in binutils/include/elf.

Dave

Signature · 2 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)