From 73a391126d500653bf3cd4c0f67826e75ecc95bf Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 12 Sep 2014 12:25:36 +0000 Subject: Use %ifdef in sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions. This patch makes sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions use %ifdef conditionals around the different symbol version definitions for big and little endian. (It doesn't actually change the host patterns used for those definitions; the point is to make it possible to remove the first column from shlib-versions by eliminating the last case where it would be harmful for it to be treated as .*-.*-.*.) The conditional is based on the ELFv1/ELFv2 distinction rather than BE/LE, since that's what's already tested in configure and used for the ld.so soname in the Makefiles. (Of course if BE ELFv2 were supported in future, it would get new symbol versions and so need new conditionals.) * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerated. * config.h.in (HAVE_ELFV2_ABI): New macro undefine. * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Condition symbol version definitions on [HAVE_ELFV2_ABI]. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index fdbe22f..fbd013b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2014-09-12 Joseph Myers + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac + (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: + Regenerated. + * config.h.in (HAVE_ELFV2_ABI): New macro undefine. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: + Condition symbol version definitions on [HAVE_ELFV2_ABI]. + * shlib-versions: Remove OS-specific entries. Moved to files in sysdeps. * sysdeps/mach/hurd/shlib-versions: New file. -- cgit v1.1