This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
ia64-hp-hpux* linker
- From: Denis Scherbakov <denis_scherbakov at yahoo dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 21 Apr 2009 11:42:10 -0700 (PDT)
- Subject: ia64-hp-hpux* linker
- Reply-to: denis_scherbakov at yahoo dot com
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