This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] PPC64 elf configure
- From: Steven Munroe <sjmunroe at us dot ibm dot com>
- To: libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: Wed, 12 Mar 2003 12:05:25 -0600
- Subject: [PATCH] PPC64 elf configure
- Organization: IBM Linux Developement
- Reply-to: sjmunroe at vnet dot ibm dot com
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 at us dot ibm dot com>
* sysdeps/powerpc/powerpc64/elf/configure.in: Remove
AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64.
--
Steven Munroe
sjmunroe at us dot ibm dot com
Linux on PowerPC-64 Development
GLIBC for PowerPC-64 Development
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)