From 855efb5f6ff9bef07b6faee4294e65517c5f7866 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 5 Aug 2002 00:43:00 +0000 Subject: Update. 2002-08-04 Jakub Jelinek * 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. --- sysdeps/wordsize-64/glob.c | 2 +- sysdeps/wordsize-64/strtol.c | 2 +- sysdeps/wordsize-64/strtol_l.c | 1 + sysdeps/wordsize-64/strtoul.c | 1 + sysdeps/wordsize-64/strtoul_l.c | 1 + sysdeps/wordsize-64/wcstol.c | 4 +--- sysdeps/wordsize-64/wcstoul.c | 1 + 7 files changed, 7 insertions(+), 5 deletions(-) (limited to 'sysdeps/wordsize-64') diff --git a/sysdeps/wordsize-64/glob.c b/sysdeps/wordsize-64/glob.c index ad4d7a4a77..7ee2eb2727 100644 --- a/sysdeps/wordsize-64/glob.c +++ b/sysdeps/wordsize-64/glob.c @@ -5,4 +5,4 @@ #undef globfree64 weak_alias (glob, glob64) weak_alias (globfree, globfree64) -libc_hidden_weak (globfree64) +libc_hidden_ver (globfree, globfree64) diff --git a/sysdeps/wordsize-64/strtol.c b/sysdeps/wordsize-64/strtol.c index e6370150a4..ec07ea7261 100644 --- a/sysdeps/wordsize-64/strtol.c +++ b/sysdeps/wordsize-64/strtol.c @@ -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) diff --git a/sysdeps/wordsize-64/strtol_l.c b/sysdeps/wordsize-64/strtol_l.c index a3f519f46c..1ca48b9183 100644 --- a/sysdeps/wordsize-64/strtol_l.c +++ b/sysdeps/wordsize-64/strtol_l.c @@ -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) diff --git a/sysdeps/wordsize-64/strtoul.c b/sysdeps/wordsize-64/strtoul.c index 0e82c4c95f..ac3ca71116 100644 --- a/sysdeps/wordsize-64/strtoul.c +++ b/sysdeps/wordsize-64/strtoul.c @@ -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) diff --git a/sysdeps/wordsize-64/strtoul_l.c b/sysdeps/wordsize-64/strtoul_l.c index a5908298a4..356a8df98f 100644 --- a/sysdeps/wordsize-64/strtoul_l.c +++ b/sysdeps/wordsize-64/strtoul_l.c @@ -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) diff --git a/sysdeps/wordsize-64/wcstol.c b/sysdeps/wordsize-64/wcstol.c index 0aaa5f6ca9..96870cbd3c 100644 --- a/sysdeps/wordsize-64/wcstol.c +++ b/sysdeps/wordsize-64/wcstol.c @@ -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) diff --git a/sysdeps/wordsize-64/wcstoul.c b/sysdeps/wordsize-64/wcstoul.c index a6c5fd9f52..b6f5d9ac07 100644 --- a/sysdeps/wordsize-64/wcstoul.c +++ b/sysdeps/wordsize-64/wcstoul.c @@ -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) -- cgit 1.4.1