[PATCH] PPC64 elf configure

Steven Munroe sjmunroe@us.ibm.com
Wed Mar 12 18:28:00 GMT 2003


Roland McGrath writes:

> Precisely the meaning of PI_STATIC_AND_HIDDEN is that references to 
> hidden symbols do not use the GOT/TOC.  If that's not the case, you 
> should not define PI_STATIC_AND_HIDDEN for ppc64.

Oops. It seems this code monkey copied too much from alpha. The following patch
removes the AC_DEFINE(PI_STATIC_AND_HIDDEN) from
sysdeps/powerpc/powerpc64/elf/configure.in.

2003-03-12  Steven Munroe  <sjmunroe@us.ibm.com>

        * sysdeps/powerpc/powerpc64/elf/configure.in: Remove
	AC_DEFINE(PI_STATIC_AND_HIDDEN).  Not supported for PowerPC64.



-- 
Steven Munroe
sjmunroe@us.ibm.com
Linux on PowerPC-64 Development
GLIBC for PowerPC-64 Development
-------------- next part --------------
diff -urN libc23-cvstip-20030312/sysdeps/powerpc/powerpc64/elf/configure.in libc23/sysdeps/powerpc/powerpc64/elf/configure.in
--- libc23-cvstip-20030312/sysdeps/powerpc/powerpc64/elf/configure.in	2003-02-25 17:26:57.000000000 -0600
+++ libc23/sysdeps/powerpc/powerpc64/elf/configure.in	2003-03-12 10:22:15.000000000 -0600
@@ -56,6 +56,3 @@
 fi
 fi
 
-dnl It is always possible to access static and hidden symbols in an
-dnl position independent way.
-AC_DEFINE(PI_STATIC_AND_HIDDEN)


More information about the Libc-alpha mailing list