aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/abort.c3
-rw-r--r--sysdeps/generic/strtol.c7
-rw-r--r--sysdeps/wordsize-64/strtol.c1
-rw-r--r--sysdeps/wordsize-64/wcstol.c3
4 files changed, 12 insertions, 2 deletions
diff --git a/sysdeps/generic/abort.c b/sysdeps/generic/abort.c
index 0f638ddc0c..00788f22c7 100644
--- a/sysdeps/generic/abort.c
+++ b/sysdeps/generic/abort.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 93, 95, 96, 97, 98, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1991,93,95,96,97,98,2001,02 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
@@ -137,3 +137,4 @@ abort (void)
/* Try for ever and ever. */
ABORT_INSTRUCTION;
}
+libc_hidden_def (abort)
diff --git a/sysdeps/generic/strtol.c b/sysdeps/generic/strtol.c
index d2e09c8404..7e174d488b 100644
--- a/sysdeps/generic/strtol.c
+++ b/sysdeps/generic/strtol.c
@@ -1,5 +1,6 @@
/* Convert string representation of a number into an integer value.
- Copyright (C) 1991,92,94,95,96,97,98,99,2000,2001 Free Software Foundation, Inc.
+ Copyright (C) 1991,92,94,95,96,97,98,99,2000,01,02
+ 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
@@ -532,6 +533,10 @@ noconv:
return 0L;
}
+#if defined _LIBC \
+ && !(defined USE_IN_EXTENDED_LOCALE_MODEL && defined USE_WIDE_CHAR)
+libc_hidden_def (INTERNAL (strtol))
+#endif
/* External user entry point. */
diff --git a/sysdeps/wordsize-64/strtol.c b/sysdeps/wordsize-64/strtol.c
index 4ffbca6bdc..e6370150a4 100644
--- a/sysdeps/wordsize-64/strtol.c
+++ b/sysdeps/wordsize-64/strtol.c
@@ -9,5 +9,6 @@
#undef strtoll
#undef strtoq
strong_alias (__strtol_internal, __strtoll_internal)
+libc_hidden_def (__strtoll_internal)
weak_alias (strtol, strtoll)
weak_alias (strtol, strtoq)
diff --git a/sysdeps/wordsize-64/wcstol.c b/sysdeps/wordsize-64/wcstol.c
index fcfbcf36fa..0aaa5f6ca9 100644
--- a/sysdeps/wordsize-64/wcstol.c
+++ b/sysdeps/wordsize-64/wcstol.c
@@ -9,5 +9,8 @@
#undef wcstoll
#undef wcstoq
strong_alias (__wcstol_internal, __wcstoll_internal)
+libc_hidden_def (__wcstoll_internal)
weak_alias (wcstol, wcstoll)
+libc_hidden_weak (wcstoll)
weak_alias (wcstol, wcstoq)
+libc_hidden_weak (wcstoq)