This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ia64-hp-hpux* linker


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


      


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]