mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
1997-06-16 00:54 Ulrich Drepper <drepper@cygnus.com> * libc.map: Add more symbols. * Mwkerules (load-map-file): Currectly handle missing map file. 1997-06-15 17:00 Philip Blundell <Philip.Blundell@pobox.com> * configure.in: Correct detection of generic uname implementation. 1997-06-15 23:19 Ulrich Drepper <drepper@cygnus.com> * math/libm-test.c: Fix typos. Patch by Andreas Jaeger. * libc.map: Add __nss_configure_lookup. Reported by Thorsten Kukuk.
This commit is contained in:
16
ChangeLog
16
ChangeLog
@ -1,3 +1,19 @@
|
||||
1997-06-16 00:54 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* libc.map: Add more symbols.
|
||||
|
||||
* Mwkerules (load-map-file): Currectly handle missing map file.
|
||||
|
||||
1997-06-15 17:00 Philip Blundell <Philip.Blundell@pobox.com>
|
||||
|
||||
* configure.in: Correct detection of generic uname implementation.
|
||||
|
||||
1997-06-15 23:19 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* math/libm-test.c: Fix typos. Patch by Andreas Jaeger.
|
||||
|
||||
* libc.map: Add __nss_configure_lookup. Reported by Thorsten Kukuk.
|
||||
|
||||
1997-06-15 00:43 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* Makeconfig: Define libc-map here.
|
||||
|
@ -346,7 +346,7 @@ endif
|
||||
|
||||
ifeq ($(versioning),yes)
|
||||
ifneq ($(..),)
|
||||
load-map-file = $(wildcard $($(@F:%.so=%)-map) $(..)$($(@F:%.so=%)-map))
|
||||
load-map-file = $(wildcard $($(@F:%.so=%)-map) $($(@F:%.so=%)-map):%=$(..)%)
|
||||
else
|
||||
load-map-file = $($(@F:%.so=%)-map)
|
||||
endif
|
||||
|
10
configure
vendored
10
configure
vendored
@ -2060,10 +2060,10 @@ for dir in $sysnames; do
|
||||
fi
|
||||
|
||||
if test -z "$uname"; then
|
||||
if test -r $sysdep_dir/$dir/uname.c ||
|
||||
test -r $sysdep_dir/$dir/uname.S ||
|
||||
{ test -r $sysdep_dir/$dir/syscalls.list &&
|
||||
grep '^uname[ ]' $sysdep_dir/$dir/syscalls.list >/dev/null; }; then
|
||||
if test -r $dest/uname.c ||
|
||||
test -r $dest/uname.S ||
|
||||
{ test -r $dest/syscalls.list &&
|
||||
grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
|
||||
uname=$dir
|
||||
fi
|
||||
fi
|
||||
@ -2073,7 +2073,7 @@ done
|
||||
|
||||
# If we will use the generic uname implementation, we must figure out what
|
||||
# it will say by examining the system, and write the results in config-name.h.
|
||||
if test "$uname" = generic; then
|
||||
if test "$uname" = "sysdeps/generic"; then
|
||||
|
||||
uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
|
||||
if test $uname_sysname != $config_os; then
|
||||
|
10
configure.in
10
configure.in
@ -703,10 +703,10 @@ for dir in $sysnames; do
|
||||
fi
|
||||
[
|
||||
if test -z "$uname"; then
|
||||
if test -r $sysdep_dir/$dir/uname.c ||
|
||||
test -r $sysdep_dir/$dir/uname.S ||
|
||||
{ test -r $sysdep_dir/$dir/syscalls.list &&
|
||||
grep '^uname[ ]' $sysdep_dir/$dir/syscalls.list >/dev/null; }; then
|
||||
if test -r $dest/uname.c ||
|
||||
test -r $dest/uname.S ||
|
||||
{ test -r $dest/syscalls.list &&
|
||||
grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then
|
||||
uname=$dir
|
||||
fi
|
||||
fi
|
||||
@ -717,7 +717,7 @@ AC_LINK_FILES(`echo $libc_link_sources`, `echo $libc_link_dests`)
|
||||
|
||||
# If we will use the generic uname implementation, we must figure out what
|
||||
# it will say by examining the system, and write the results in config-name.h.
|
||||
if test "$uname" = generic; then
|
||||
if test "$uname" = "sysdeps/generic"; then
|
||||
|
||||
changequote(,)dnl
|
||||
uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`
|
||||
|
2
libc.map
2
libc.map
@ -6,6 +6,7 @@ GLIBC_2.0 {
|
||||
_IO_stderr_; _IO_stdin_; _IO_stdout_;
|
||||
_nl_msg_cat_cntr; __environ; _environ; _res;
|
||||
___brk_addr; __curbrk; _nl_current_LC_CTYPE; _libc_intl_domainname;
|
||||
_sys_errlist; _sys_siglist;
|
||||
|
||||
# helper functions
|
||||
__errno_location; __libc_init_first; __h_errno_location;
|
||||
@ -50,6 +51,7 @@ GLIBC_2.0 {
|
||||
__select; __sched_get_priority_max; __sched_get_priority_min;
|
||||
__sched_getparam; __sched_getscheduler; __sched_setscheduler;
|
||||
__sched_yield; __on_exit; __gettimeofday; __fork; __clone;
|
||||
__nss_configure_lookup; _dl_open; _IO_file_setbuf;
|
||||
|
||||
# all functions and variables in the normal name space
|
||||
a*; b*; c*; d*; e*; f*; g*; h*; i*; j*; k*; l*; m*;
|
||||
|
@ -2046,11 +2046,11 @@ fmod_test (void)
|
||||
|
||||
check_eps ("fmod (6.5, 2.3) == 1.9", FUNC(fmod) (6.5, 2.3), 1.9,
|
||||
CHOOSE(0, 1e-15, 0));
|
||||
check_eps ("fmod (-6.5, 2.3) == 1.9", FUNC(fmod) (-6.5, 2.3), -1.9,
|
||||
check_eps ("fmod (-6.5, 2.3) == -1.9", FUNC(fmod) (-6.5, 2.3), -1.9,
|
||||
CHOOSE(0, 1e-15, 0));
|
||||
check_eps ("fmod (6.5, -2.3) == 1.9", FUNC(fmod) (6.5, -2.3), 1.9,
|
||||
CHOOSE(0, 1e-15, 0));
|
||||
check_eps ("fmod (-6.5, -2.3) == 1.9", FUNC(fmod) (-6.5, -2.3), -1.9,
|
||||
check_eps ("fmod (-6.5, -2.3) == -1.9", FUNC(fmod) (-6.5, -2.3), -1.9,
|
||||
CHOOSE(0, 1e-15, 0));
|
||||
|
||||
|
||||
|
24
sysdeps/unix/sysv/linux/configure
vendored
24
sysdeps/unix/sysv/linux/configure
vendored
@ -98,3 +98,27 @@ fi
|
||||
if test -f $srcdir/elf/ldconfig.c; then
|
||||
has_ldconfig=yes
|
||||
fi
|
||||
|
||||
# Generate stdio_lim.h
|
||||
default_fopen_max="`${CC-gcc} -E $srcdir/sysdeps/unix/sysv/linux/mk-stdiolim.c | grep DEFAULT_FOPEN_MAX | cut -f2 -d':'`"
|
||||
default_filename_max="`${CC-gcc} -E $srcdir/sysdeps/unix/sysv/linux/mk-stdiolim.c | grep DEFAULT_FILENAME_MAX | cut -f2 -d':'`"
|
||||
# We double check if "default_fopen_max" and "default_filename_max" are
|
||||
# ok or not.
|
||||
if test "x$default_fopen_max" != "xOPEN_MAX" \
|
||||
-a "x$default_filename_max" != "xPATH_MAX"
|
||||
then
|
||||
sed -e "s/DEFAULT_FOPEN_MAX/$default_fopen_max/" \
|
||||
-e "s/DEFAULT_FILENAME_MAX/$default_filename_max/" \
|
||||
$srcdir/sysdeps/unix/sysv/linux/stdio_lim.h.in > stdio_lim.h.new
|
||||
if test -r stdio_lim.h.new && cmp -s stdio_lim.h.new stdio_lim.h
|
||||
then
|
||||
echo stdio_lim.h unchanged
|
||||
rm -f stdio_lim.h.new
|
||||
else
|
||||
mv -f stdio_lim.h.new stdio_lim.h
|
||||
fi
|
||||
else
|
||||
# We remove the old one if we cannot generate the new one during
|
||||
# configure.
|
||||
rm -f stdio_lim.h
|
||||
fi
|
||||
|
Reference in New Issue
Block a user