+2003-06-16 Thorsten Kukuk <kukuk@suse.de>
+
+ * include/libc-symbols.h: Add static_link_warning macro.
+ * grp/initgroups.c: Print linker warning if this function
+ is called in a static linked binary.
+ * nss/getXXbyYY.c: Likewise.
+ * nss/getXXbyYY_r.c: Likewise.
+ * nss/getXXent.c: Likewise.
+ * nss/getXXent_r.c: Likewise.
+ * sysdeps/posix/getaddrinfo.c: Likewise.
+
+2003-06-16 Bruno Haible <bruno@clisp.org>
+
+ * iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15,
+ LATIN-9.
+ (ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16.
+ (IBM1047): Add alias IBM-1047.
+ (GBK): Add aliases MS936, WINDOWS-936.
+
+2003-06-16 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if
+ defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64.
+ (__xstat64_conv): Change xstat_conv to __xstat_conv.
+
2003-06-16 Ulrich Drepper <drepper@redhat.com>
* locale/iso-639.def: Update from current official ISO 639.
of MXCSR.
* sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
* sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
- Reported by Arnaud Desitter
- <arnaud.desitter@geography.oxford.ac.uk>.
+ Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>.
* math/tgmath.h (carg): Handle real arguments.
(conj): Likewise.
return result;
}
+static_link_warning (getgrouplist)
+
/* Initialize the group set for the current user
by reading the group database and using all groups
of which USER is a member. Also include GROUP. */
return result;
#endif
}
+
+static_link_warning (initgroups)
alias ISO8859-15// ISO-8859-15//
alias ISO885915// ISO-8859-15//
alias ISO-IR-203// ISO-8859-15//
+alias ISO_8859-15// ISO-8859-15//
+alias LATIN-9// ISO-8859-15//
alias ISO_8859-15:1998// ISO-8859-15//
module ISO-8859-15// INTERNAL ISO8859-15 1
module INTERNAL ISO-8859-15// ISO8859-15 1
alias ISO-IR-226// ISO-8859-16//
alias LATIN10// ISO-8859-16//
alias L10// ISO-8859-16//
+alias ISO_8859-16:2001// ISO-8859-16//
+alias ISO_8859-16// ISO-8859-16//
module ISO-8859-16// INTERNAL ISO8859-16 1
module INTERNAL ISO-8859-16// ISO8859-16 1
module INTERNAL IBM1046// IBM1046 1
# from to module cost
+alias IBM-1047// IBM1047//
alias CP1047// IBM1047//
alias 1047// IBM1047//
alias OSF10020417// IBM1047//
# from to module cost
alias GB13000// GBK//
alias CP936// GBK//
+alias MS936// GBK//
+alias WINDOWS-936// GBK//
module GBK// INTERNAL GBK 1
module INTERNAL GBK// GBK 1
link_warning (name, \
"warning: " #name " is not implemented and will always fail")
+/* Warning for linking functions calling dlopen into static binaries. */
+#ifdef SHARED
+#define static_link_warning(name)
+#else
+#define static_link_warning(name) static_link_warning1(name)
+#define static_link_warning1(name) \
+ link_warning(name, "Using '" #name "' in statically linked applications \
+requires at runtime the shared libraries from the glibc version used \
+for linking")
+#endif
/* Declare SYMBOL to be TYPE (`function' or `object') and of SIZE bytes,
when the assembler supports such declarations (such as in ELF).
+2003-06-16 Bruno Haible <bruno@clisp.org>
+
+ * charmaps/ISO-8859-15: Add aliases ISO_8859-15, LATIN-9.
+ * charmaps/ISO-8859-16: Add aliases ISO_8859-16:2001, ISO_8859-16.
+ * charmaps/IBM1047: Add alias IBM-1047.
+ * charmaps/GBK: Add aliases CP936, MS936, WINDOWS-936.
+
2003-06-15 Petter Reinholdtsen <pere@hungry.com>
* locales/fi_FI [LC_TIME]: Correct month names to make the dates
<comment_char> %
<escape_char> /
+% alias CP936
+% alias MS936
+% alias WINDOWS-936
CHARMAP
<U0000> /x00 NULL (NUL)
<U0001> /x01 START OF HEADING (SOH)
% Registry SC09-1391-00 p 150.
+% alias IBM-1047
% alias CP1047
% alias 1047
CHARMAP
<escape_char> /
% automatically generated from the charDB
+% alias ISO_8859-15
+% alias LATIN-9
CHARMAP
<U0000> /x00 NULL
<U0001> /x01 START OF HEADING
% automatically generated from the charDB
% alias ISO-IR-226
+% alias ISO_8859-16:2001
+% alias ISO_8859-16
% alias LATIN10
% alias L10
CHARMAP
return result;
}
+
+static_link_warning (FUNCTION_NAME)
versioned_symbol (libc, real, name, version)
do_default_symbol_version (NEW (REENTRANT_NAME),
REENTRANT_NAME, GLIBC_2_1_2);
+
+static_link_warning (REENTRANT_NAME)
__set_errno (save);
return result;
}
+
+static_link_warning (GETFUNC_NAME)
versioned_symbol (libc, real, name, version)
do_default_symbol_version (NEW (REENTRANT_GETNAME),
REENTRANT_GETNAME, GLIBC_2_1_2);
+
+static_link_warning (SETFUNC_NAME)
+static_link_warning (ENDFUNC_NAME)
+static_link_warning (REENTRANT_GETNAME)
}
libc_hidden_def (getaddrinfo)
+static_link_warning (getaddrinfo)
+
void
freeaddrinfo (struct addrinfo *ai)
{
#include <string.h>
-#ifndef __ASSUME_STAT64_SYSCALL
+#if !defined __ASSUME_STAT64_SYSCALL || defined XSTAT_IS_XSTAT64
int
__xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
{
__xstat64_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
{
#ifdef XSTAT_IS_XSTAT64
- return xstat_conv (vers, kbuf, ubuf);
+ return __xstat_conv (vers, kbuf, ubuf);
#else
switch (vers)
{