[patch/RFA] fix hpux build problems
Andrew Cagney
cagney@gnu.org
Sat Nov 13 01:53:00 GMT 2004
Randolph Chung wrote:
> This patch fixes several build errors with the hpux targets, and tries to
> sort out the host/target dependencies so that we can eventually do cross-builds.
>
> Compile and lightly tested with:
> --host=hppa2.0w-hp-hpux11.11 --target=hppa2.0w-hp-hpux11.11 (SOM)
> --host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11 (ELF)
>
> These two cross targets don't work at the moment (do we care?):
> --host=hppa2.0w-hp-hpux11.11 --target=hppa64-hp-hpux11.11
> * this might work, but i don't have a proper toolchain to test
> it. There may be problems with pa64solib.o.
> --host=hppa64-hp-hpux11.11 --target=hppa-elf
> * only hppa64 has elf support, but hppa*-elf selects a 32-bit bfd
> target in libbfd.
Yes.
Andrew
> 2004-11-12 Randolph Chung <tausq@debian.org>
>
> * pa64solib.c (pa64_solib_thread_start_addr): Rename from
> so_lib_thread_start_addr.
> * pa64solib.h (so_list): Forward declare.
> (pa64_solib_thread_start_addr): Prototype.
> * somsolib.c (SHL_LOAD, SHL_UNLOAD): Define if not already defined.
> (no_shared_libraries): Remove.
> (som_solib_thread_start_addr): Rename from so_lib_thread_start_addr.
> * somsolib.h (som_solib_thread_start_addr): Likewise; prototype.
> * hpread.c (hpread_process_one_debug_symbol): Use either the som or
> the elf solib handler to find the start address.
>
> * config/pa/hppahpux.mh (NATDEPFILES): Move target-specific support
> files to the target makefile.
> * config/pa/hpux1020.mh (NATDEPFILES): Likewise.
> * config/pa/hpux11.mh (NATDEPFILES): Likewise.
> * config/pa/hpux11w.mh (NATDEPFILES): Likewise.
>
> * config/pa/hppa64.mt (TDEPFILES): Put target-specific support files for
> symbol reading and shared library handling here.
> * config/pa/hppahpux.mt (TDEPFILES): Likewise. Define PA_SOM_ONLY so
> we can build a 32-bit SOM only target without bringing in 64-bit
> support.
More information about the Gdb-patches
mailing list