[PATCH] Use libc_hidden_ver for glob64
Matthew Reppert
arashi@kai.vm.bytemark.co.uk
Sun Jul 4 15:01:00 GMT 2004
This makes glibc build on i386 with gcc 3.4.1. Without this, build fails with
"Undefined reference to _GI__glob64".
(When I go to build libc with this change, it triggers a rebuild of three
configures, which I haven't included in this diff.)
Matt
2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
* sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
instead of libc_hidden_def.
Index: sysdeps/unix/sysv/linux/i386/glob64.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/i386/glob64.c,v
retrieving revision 1.5
diff -u -r1.5 glob64.c
--- sysdeps/unix/sysv/linux/i386/glob64.c 1 Jul 2004 17:39:26 -0000 1.5
+++ sysdeps/unix/sysv/linux/i386/glob64.c 4 Jul 2004 14:08:58 -0000
@@ -23,10 +23,10 @@
#include "shlib-compat.h"
-libc_hidden_def (glob64)
libc_hidden_def (globfree64)
versioned_symbol (libc, __glob64, glob64, GLIBC_2_2);
+libc_hidden_ver (__glob64, glob64)
#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040704/eab1b00e/attachment.sig>
More information about the Libc-alpha
mailing list