HPPA64: Fix linking of libgcc on HP-UX with GNU ld
Enables correct linking of libgcc on HP-UX for the HPPA64 architecture when using GNU ld.
This commit resolves linking issues for libgcc on HP-UX systems for the HPPA64 architecture when using GNU ld (the GNU linker). It introduces new configuration files and modifies existing ones to correctly handle linking in this environment. This ensures that GCC can properly link with libgcc on HP-UX when using GNU ld.
In Details
This commit addresses linker compatibility issues on HP-UX for the HPPA64 architecture. It involves modifications to config.host and the addition of config/pa/libgcc-hpux.ver and config/pa/t-slibgcc-gld, along with adjustments to config/pa/t-slibgcc-hpux. These changes specifically target linking with GNU ld instead of the native HP-UX linker, ensuring proper symbol resolution and library initialization.
For Context
When building software, the linker combines compiled code and libraries to create an executable. libgcc is a support library that provides essential functions for GCC-compiled code. This commit ensures that when using the GNU linker (ld) on HP-UX systems for the HPPA64 architecture, libgcc is linked correctly, allowing compiled programs to run without issues related to missing symbols or incorrect library initialization.