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] Use libc_hidden_ver for glob64


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)
 

Attachment: signature.asc
Description: This is a digitally signed message part


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