Update.
2002-08-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/glob.c (glob, globfree): Only use libc_hidden_def if glob resp. globfree are not macros. * sysdeps/gnu/glob64.c (globfree64): Add libc_hidden_def. * sysdeps/unix/sysv/linux/alpha/glob.c (glob, globfree, globfree64): Add libc_hidden_ver. * sysdeps/unix/sysv/linux/i386/glob64.c (globfree64): Add libc_hidden_def. * sysdeps/wordsize-64/glob.c (globfree64): Use libc_hidden_ver instead of libc_hidden_weak. * sysdeps/wordsize-64/strtol.c (__strtoll_internal): Use libc_hidden_ver instead of libc_hidden_def. * sysdeps/wordsize-64/wcstol.c (__wcstoll_internal): Use libc_hidden_ver instead of libc_hidden_def. (wcstoll, wcstoq): Remove libc_hidden_weak. * sysdeps/wordsize-64/strtol_l.c (____strtoll_l_internal): Add libc_hidden_ver. * sysdeps/wordsize-64/strtoul.c (__strtoull_internal): Add libc_hidden_ver. * sysdeps/wordsize-64/strtoul_l.c (____strtoull_l_internal): Add libc_hidden_ver. * sysdeps/wordsize-64/wcstoul.c (__wcstoull_internal): Add libc_hidden_ver.
This commit is contained in:
parent
230491f02c
commit
855efb5f6f
25
ChangeLog
25
ChangeLog
@ -1,3 +1,28 @@
|
||||
2002-08-04 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/generic/glob.c (glob, globfree): Only use libc_hidden_def
|
||||
if glob resp. globfree are not macros.
|
||||
* sysdeps/gnu/glob64.c (globfree64): Add libc_hidden_def.
|
||||
* sysdeps/unix/sysv/linux/alpha/glob.c (glob, globfree, globfree64):
|
||||
Add libc_hidden_ver.
|
||||
* sysdeps/unix/sysv/linux/i386/glob64.c (globfree64): Add
|
||||
libc_hidden_def.
|
||||
* sysdeps/wordsize-64/glob.c (globfree64): Use libc_hidden_ver
|
||||
instead of libc_hidden_weak.
|
||||
* sysdeps/wordsize-64/strtol.c (__strtoll_internal): Use
|
||||
libc_hidden_ver instead of libc_hidden_def.
|
||||
* sysdeps/wordsize-64/wcstol.c (__wcstoll_internal): Use
|
||||
libc_hidden_ver instead of libc_hidden_def.
|
||||
(wcstoll, wcstoq): Remove libc_hidden_weak.
|
||||
* sysdeps/wordsize-64/strtol_l.c (____strtoll_l_internal): Add
|
||||
libc_hidden_ver.
|
||||
* sysdeps/wordsize-64/strtoul.c (__strtoull_internal): Add
|
||||
libc_hidden_ver.
|
||||
* sysdeps/wordsize-64/strtoul_l.c (____strtoull_l_internal): Add
|
||||
libc_hidden_ver.
|
||||
* sysdeps/wordsize-64/wcstoul.c (__wcstoull_internal): Add
|
||||
libc_hidden_ver.
|
||||
|
||||
2002-08-04 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* stdio-common/psignal.c: Declare _sys_siglist_internal. Use USEINT
|
||||
|
@ -1064,7 +1064,7 @@ glob (pattern, flags, errfunc, pglob)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#ifdef _LIBC
|
||||
#if defined _LIBC && !defined glob
|
||||
libc_hidden_def (glob)
|
||||
#endif
|
||||
|
||||
@ -1085,7 +1085,7 @@ globfree (pglob)
|
||||
free ((__ptr_t) pglob->gl_pathv);
|
||||
}
|
||||
}
|
||||
#ifdef _LIBC
|
||||
#if defined _LIBC && !defined globfree
|
||||
libc_hidden_def (globfree)
|
||||
#endif
|
||||
|
||||
|
@ -20,3 +20,5 @@
|
||||
#define COMPILE_GLOB64 1
|
||||
|
||||
#include <sysdeps/generic/glob.c>
|
||||
|
||||
libc_hidden_def (globfree64)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -44,6 +44,9 @@ extern void __new_globfree (glob_t *__pglob);
|
||||
|
||||
versioned_symbol (libc, __new_glob, glob, GLIBC_2_1);
|
||||
versioned_symbol (libc, __new_globfree, globfree, GLIBC_2_1);
|
||||
libc_hidden_ver (__new_glob, glob)
|
||||
libc_hidden_ver (__new_globfree, globfree)
|
||||
|
||||
weak_alias (__new_glob, glob64)
|
||||
weak_alias (__new_globfree, globfree64)
|
||||
libc_hidden_ver (__new_globfree, globfree64)
|
||||
|
@ -23,6 +23,8 @@
|
||||
|
||||
#include "shlib-compat.h"
|
||||
|
||||
libc_hidden_def (globfree64)
|
||||
|
||||
versioned_symbol (libc, __glob64, glob64, GLIBC_2_2);
|
||||
|
||||
#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
|
||||
|
@ -5,4 +5,4 @@
|
||||
#undef globfree64
|
||||
weak_alias (glob, glob64)
|
||||
weak_alias (globfree, globfree64)
|
||||
libc_hidden_weak (globfree64)
|
||||
libc_hidden_ver (globfree, globfree64)
|
||||
|
@ -9,6 +9,6 @@
|
||||
#undef strtoll
|
||||
#undef strtoq
|
||||
strong_alias (__strtol_internal, __strtoll_internal)
|
||||
libc_hidden_def (__strtoll_internal)
|
||||
libc_hidden_ver (__strtol_internal, __strtoll_internal)
|
||||
weak_alias (strtol, strtoll)
|
||||
weak_alias (strtol, strtoq)
|
||||
|
@ -7,4 +7,5 @@
|
||||
#undef ____strtoll_l_internal
|
||||
#undef __strtoll_l
|
||||
strong_alias (____strtol_l_internal, ____strtoll_l_internal)
|
||||
libc_hidden_ver (____strtol_l_internal, ____strtoll_l_internal)
|
||||
weak_alias (__strtol_l, __strtoll_l)
|
||||
|
@ -9,5 +9,6 @@
|
||||
#undef strtoull
|
||||
#undef strtouq
|
||||
strong_alias (__strtoul_internal, __strtoull_internal)
|
||||
libc_hidden_ver (__strtoul_internal, __strtoull_internal)
|
||||
weak_alias (strtoul, strtoull)
|
||||
weak_alias (strtoul, strtouq)
|
||||
|
@ -7,4 +7,5 @@
|
||||
#undef ____strtoull_l_internal
|
||||
#undef __strtoull_l
|
||||
strong_alias (____strtoul_l_internal, ____strtoull_l_internal)
|
||||
libc_hidden_ver (____strtoul_l_internal, ____strtoull_l_internal)
|
||||
weak_alias (__strtoul_l, __strtoull_l)
|
||||
|
@ -9,8 +9,6 @@
|
||||
#undef wcstoll
|
||||
#undef wcstoq
|
||||
strong_alias (__wcstol_internal, __wcstoll_internal)
|
||||
libc_hidden_def (__wcstoll_internal)
|
||||
libc_hidden_ver (__wcstol_internal, __wcstoll_internal)
|
||||
weak_alias (wcstol, wcstoll)
|
||||
libc_hidden_weak (wcstoll)
|
||||
weak_alias (wcstol, wcstoq)
|
||||
libc_hidden_weak (wcstoq)
|
||||
|
@ -9,5 +9,6 @@
|
||||
#undef wcstoull
|
||||
#undef wcstouq
|
||||
strong_alias (__wcstoul_internal, __wcstoull_internal)
|
||||
libc_hidden_ver (__wcstoul_internal, __wcstoull_internal)
|
||||
weak_alias (wcstoul, wcstoull)
|
||||
weak_alias (wcstoul, wcstouq)
|
||||
|
Loading…
x
Reference in New Issue
Block a user