This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] PPC64 elf configure


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]