Small step toward getting 64-bit glibc working on hppa.

Dave
---

hppa: Define GLIBC_DYNAMIC_LINKER in pa64-linux.h

2025-11-23  John David Anglin  <[email protected]>

gcc/ChangeLog:

        * config/pa/pa64-linux.h (GLIBC_DYNAMIC_LINKER): Define.

diff --git a/gcc/config/pa/pa64-linux.h b/gcc/config/pa/pa64-linux.h
index 9b9c1f4a32a..5af825332d0 100644
--- a/gcc/config/pa/pa64-linux.h
+++ b/gcc/config/pa/pa64-linux.h
@@ -21,6 +21,12 @@ along with GCC; see the file COPYING3.  If not see
 #undef TARGET_ELF64
 #define TARGET_ELF64 1
 
+/* Define this for shared library support because it isn't in the main
+   linux.h file.  */
+
+#undef GLIBC_DYNAMIC_LINKER
+#define GLIBC_DYNAMIC_LINKER "/lib64/ld64.so.1"
+
 #if 0 /* needs some work :-( */
 /* If defined, this macro specifies a table of register pairs used to
    eliminate unneeded registers that point into the stack frame.  */

Attachment: signature.asc
Description: PGP signature

Reply via email to