ia64-hp-hpux* linker

Denis Scherbakov denis_scherbakov@yahoo.com
Tue Apr 21 18:42:00 GMT 2009


Hi!

I am trying to get a linker from i686-pc-linux-gnu to ia64-hp-hpux. So far I have:

$ cat ./ld/emulparams/elf64_ia64_hpux.sh
. ${srcdir}/emulparams/elf64_ia64.sh
OUTPUT_FORMAT="elf64-ia64-hpux-big"

ELF_INTERPRETER_NAME=\"/usr/lib/hpux64/uld.so:/usr/lib/hpux64/dld.so\"
TEXT_DYNAMIC=
DATA_PLT=

I can already run linked executables, but .dynamic section seems to be corrupted and all executables appear static.

1. I need to somehow modify ./bfd/elfxx-ia64.c in the same way like ./bfd/elf-hppa.h in order to allow undefined symbols like __LOAD_INFO, since they are defined by the kernel.
2. And fix corrupted .dynamic section.

Maybe anybody can help?

Denis


      



More information about the Binutils mailing list