Skip to content

Commit

Permalink
Updated to fedora-glibc-20080828T1623
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Jelinek committed Aug 29, 2008
1 parent 2fb513c commit 315a43a
Show file tree
Hide file tree
Showing 49 changed files with 857 additions and 703 deletions.
160 changes: 159 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,161 @@
2008-08-26 Aurelien Jarno <aurelien@aurel32.net>

[BZ #6860]
* hurd/hurd/signal.h (HURD_MSGPORT_RPC): Fix a typo.

2008-07-18 Daniel Jacobowitz <dan@codesourcery.com>

* Makefile (check-data): Check data directory in add-ons.
* elf/Makefile (check-data): Likewise.

2008-08-18 Roland McGrath <roland@redhat.com>

* configure.in (--with-cpu): Check compiler support for -march/-mcpu.
* configure: Regenerated.
* config.make.in (cflags-cpu): New substituted variable.
(with-cpu): Variable removed.
* Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu).

2008-08-14 Ryan S. Arnold <rsa@us.ibm.com>

[BZ #6845]
* sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new
__signbitl definition and __LONG_DOUBLE_128__ guard from:
* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as
redundant. Functions which call floating point assembler operations
should go into a sysdeps powerpc/fpu directory.

2008-08-15 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.

2008-08-14 Ulrich Drepper <drepper@redhat.com>

* sysdeps/x86_64/memset.S: Reduce size of tables for PIC.

* sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all
change related to AT_EXECFN. We cannot use that string.
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
_dl_execfn member.
* elf/dl-support.c: Remove _dl_execfn variable.
(_dl_aux_init): Remove handling of AT_EXECFN.
* elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN.
* elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN.

2008-08-13 Ulrich Drepper <drepper@redhat.com>

[BZ #6544]
* libio/fmemopen.c: Implement binary mode. In this mode no NUL
byte gets added to writes and seeks from the end use the length of
the buffer and not the currently terminating NUL byte.

[BZ #6634]
* login/utmp_file.c (getutent_r_file): Take additional parameter.
Set to true if locking failed.
(getutid_r_file): Adjust caller.
(pututline_file): Likewise. Return NULL in this case.
Patch mostly by halesh.s@gmail.com.

2008-08-12 Ulrich Drepper <drepper@redhat.com>

[BZ #6589]
* sysdeps/unix/sysv/linux/ifaddrs.c (struct sockaddr_ll_max):
Define.
(struct ifaddrs_storage): Use it instead of sockaddr_ll.

2008-08-12 Ryan S. Arnold <rsa@us.ibm.com>

[BZ #6839]
* sysdeps/powerpc/powerpc32/dl-machine.c (CHECK_STATIC_TLS): Remove
macro since it is now available in elf/dynamic-link.h.

2008-08-12 Roland McGrath <roland@frob.com>

* hurd/hurd/signal.h (HURD_MSGPORT_RPC): Avoid -Wparenthesis triggers,
in case used outside of libc.
Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>

2008-08-11 Ulrich Drepper <drepper@redhat.com>

* resolv/res_mkquery.c (res_nmkquery): Call ns_name_compress
directly instead of going through dn_comp.

2008-08-11 Aurelien Jarno <aurel32@debian.org>

* sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock):
Fix asm constraints.

2008-08-07 Ulrich Drepper <drepper@redhat.com>

[BZ #6790]
* sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_PROBE): Define.
(IPV6_PMTUDISC_PROBE): Likewise.

2008-08-07 Pete Eberlein <eberlein@us.ibm.com>

[BZ #6791]
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define.

2008-08-01 Steven Munroe <sjmunroe@us.ibm.com>
Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>

[BZ #6817]
* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags):
Added the members 'vsx' and 'arch_2_06'.
(_dl_powerpc_platforms): Add the member 'power7'.
* sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST
to reflect the changes required by VSX and ISA 2.06.
Modify _DL_PLATFORMS_COUNT to reflect the addition of
'power7'.
Defined PPC_PLATFORM_POWER7.
(_dl_string_platform): Add support for POWER7.
* sysdeps/powerpc/sysdep.h: Define bit masks for VSX
capability and ISA 2.06.

2008-08-07 Ulrich Drepper <drepper@redhat.com>

[BZ #6824]
* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct
macro to detect use of 128 bit long double.
Patch by Ryan S. Arnold <rsa@us.ibm.com>.

2008-08-05 Ulrich Drepper <drepper@redhat.com>

* scripts/gen-as-const.awk: Use 32-bit values on 32-bit platforms.

[BZ #5794]
* sysdeps/i386/fpu/s_expm1l.S: Simply use exp implementation for large
parameters.
* sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
Patch by Denys Vlasenko <dvlasenk@redhat.com>.

2008-08-03 Ulrich Drepper <drepper@redhat.com>

* nscd/connections.c (main_loop_poll): Pass a buffer which is
guaranteed to be large enough to read inotify event. Ignore
EAGAIN error. Better error message. Add branch predicition.
(main_loop_epoll): Likewise.

2008-08-02 Roland McGrath <roland@frob.com>

* sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock):
Add memory clobbers.

2008-08-02 Ulrich Drepper <drepper@redhat.com>

* manual/arith.texi: Avoid @strong{Note:}.
* manual/creature.texi: Likewise.
* manual/filesys.texi: Likewise.
* manual/math.texi: Likewise.
* manual/memory.texi: Likewise.
* manual/resource.texi: Likewise.
* manual/syslog.texi: Likewise.
* manual/time.texi: Likewise.

* sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline
to prevent warning.

2008-08-01 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for
Expand Down Expand Up @@ -57,7 +215,7 @@
* sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial
buffer passed to NSS functions.

* nscd/connections.c (nscd_init): Type if preprocessor directive.
* nscd/connections.c (nscd_init): Typo in preprocessor directive.

* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT):
Define.
Expand Down
2 changes: 1 addition & 1 deletion Makeconfig
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ ifeq "$(strip $(+cflags))" ""
+cflags := $(default_cflags)
endif # $(+cflags) == ""

+cflags += $(addprefix -mcpu=,$(with-cpu)) $(+gccwarn) $(+merge-constants)
+cflags += $(cflags-cpu) $(+gccwarn) $(+merge-constants)
+gcc-nowarn := -w

# Don't duplicate options if we inherited variables from the parent.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ tests-clean:
tests: $(objpfx)c++-types-check.out $(objpfx)check-local-headers.out
ifneq ($(CXX),no)
check-data := $(firstword $(wildcard \
$(foreach D,$(add-ons) scripts/data,\
$(patsubst %,$D/c++-types-%.data,\
$(foreach D,$(add-ons) scripts,\
$(patsubst %,$D/data/c++-types-%.data,\
$(abi-name) \
$(addsuffix -$(config-os),\
$(config-machine) \
Expand Down
10 changes: 9 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GNU C Library NEWS -- history of user-visible changes. 2008-8-1
GNU C Library NEWS -- history of user-visible changes. 2008-8-2
Copyright (C) 1992-2007, 2008 Free Software Foundation, Inc.
See the end for copying conditions.

Expand Down Expand Up @@ -28,8 +28,16 @@ Version 2.9
* Implement "e" option for popen to open file descriptor with the
close-on-exec flag set. Implemented by Ulrich Drepper.

* Implement "b" mode for fmemopen. In this mode writes writes don't
implicitly add a NUL byte and seeks from the end of the buffer really
use the buffer end, not the string length as the basis.
Implemented by Ulrich Drepper.

* Many functions, exported and internal, now atomically set the close-on-exec
flag when run on a sufficiently new kernel. Implemented by Ulrich Drepper.

* Sorting rules for some Indian languages (Kannada, Gurumukhi, Telugu)
Implemented by Pravin Satpute.

Version 2.8

Expand Down
2 changes: 1 addition & 1 deletion config.make.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ base-machine = @base_machine@
config-vendor = @host_vendor@
config-os = @host_os@
config-sysdirs = @sysnames@
with-cpu = @submachine@
cflags-cpu = @libc_cv_cc_submachine@

defines = @DEFINES@
sysincludes = @SYSINCLUDES@
Expand Down
34 changes: 32 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,7 @@ libc_cv_gnu89_inline
libc_cv_have_initfini
no_whole_archive
exceptions
libc_cv_cc_submachine
LIBGD
have_libaudit
have_libcap
Expand Down Expand Up @@ -2329,7 +2330,6 @@ echo "$as_me: error: --with-cpu requires an argument" >&2;}
fi
# An add-on can set this when it wants to disable the sanity check below.
libc_config_ok=no
Expand Down Expand Up @@ -7097,6 +7097,35 @@ _ACEOF
fi
fi
if test -n "$submachine"; then
{ echo "$as_me:$LINENO: checking for compiler option for CPU variant" >&5
echo $ECHO_N "checking for compiler option for CPU variant... $ECHO_C" >&6; }
if test "${libc_cv_cc_submachine+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
libc_cv_cc_submachine=no
for opt in "-march=$submachine" "-mcpu=$submachine"; do
if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
libc_cv_cc_submachine="$opt"
break
fi
done
fi
{ echo "$as_me:$LINENO: result: $libc_cv_cc_submachine" >&5
echo "${ECHO_T}$libc_cv_cc_submachine" >&6; }
if test "x$libc_cv_cc_submachine" = xno; then
{ { echo "$as_me:$LINENO: error: ${CC-cc} does not support $submachine" >&5
echo "$as_me: error: ${CC-cc} does not support $submachine" >&2;}
{ (exit 1); exit 1; }; }
fi
fi
{ echo "$as_me:$LINENO: checking for libgd" >&5
echo $ECHO_N "checking for libgd... $ECHO_C" >&6; }
if test "$with_gd" != "no"; then
Expand Down Expand Up @@ -9264,6 +9293,7 @@ libc_cv_gnu89_inline!$libc_cv_gnu89_inline$ac_delim
libc_cv_have_initfini!$libc_cv_have_initfini$ac_delim
no_whole_archive!$no_whole_archive$ac_delim
exceptions!$exceptions$ac_delim
libc_cv_cc_submachine!$libc_cv_cc_submachine$ac_delim
LIBGD!$LIBGD$ac_delim
have_libaudit!$have_libaudit$ac_delim
have_libcap!$have_libcap$ac_delim
Expand Down Expand Up @@ -9301,7 +9331,7 @@ LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 53; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
Expand Down
17 changes: 16 additions & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ AC_ARG_WITH([cpu],
esac
])


# An add-on can set this when it wants to disable the sanity check below.
libc_config_ok=no

Expand Down Expand Up @@ -1973,6 +1972,22 @@ EOF
fi
fi

if test -n "$submachine"; then
AC_CACHE_CHECK([for compiler option for CPU variant],
libc_cv_cc_submachine, [dnl
libc_cv_cc_submachine=no
for opt in "-march=$submachine" "-mcpu=$submachine"; do
if AC_TRY_COMMAND([${CC-cc} $opt -xc /dev/null -S -o /dev/null]); then
libc_cv_cc_submachine="$opt"
break
fi
done])
if test "x$libc_cv_cc_submachine" = xno; then
AC_MSG_ERROR([${CC-cc} does not support $submachine])
fi
fi
AC_SUBST(libc_cv_cc_submachine)

dnl Check whether we have the gd library available.
AC_MSG_CHECKING(for libgd)
if test "$with_gd" != "no"; then
Expand Down
4 changes: 2 additions & 2 deletions elf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -841,8 +841,8 @@ $(objpfx)tst-dlmodcount: $(libdl)
$(objpfx)tst-dlmodcount.out: $(test-modules)

check-data := $(firstword $(wildcard \
$(foreach D,$(add-ons) scripts/data,\
$(patsubst %,$(..)$D/localplt-%.data,\
$(foreach D,$(add-ons) scripts,\
$(patsubst %,$(..)$D/data/localplt-%.data,\
$(abi-name) \
$(addsuffix -$(config-os),\
$(config-machine) \
Expand Down
7 changes: 0 additions & 7 deletions elf/dl-support.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,8 @@ struct link_map *_dl_profile_map;
/* This is the address of the last stack address ever used. */
void *__libc_stack_end;

#ifndef __ASSUME_AT_EXECFN
/* Path where the binary is found. */
const char *_dl_origin_path;
#endif
/* File Name of the executable. */
const char *_dl_execfn;

/* Nonzero if runtime lookup should not update the .got/.plt. */
int _dl_bind_not;
Expand Down Expand Up @@ -220,9 +216,6 @@ _dl_aux_init (ElfW(auxv_t) *av)
__libc_enable_secure = av->a_un.a_val;
__libc_enable_secure_decided = 1;
break;
case AT_EXECFN:
GLRO(dl_execfn) = (void *) av->a_un.a_val;
break;
# ifdef DL_PLATFORM_AUXV
DL_PLATFORM_AUXV
# endif
Expand Down
3 changes: 0 additions & 3 deletions elf/dl-sysdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ _dl_sysdep_start (void **start_argptr,
GLRO(dl_sysinfo_dso) = (void *) av->a_un.a_val;
break;
#endif
case AT_EXECFN:
GLRO(dl_execfn) = (void *) av->a_un.a_val;
break;
#ifdef DL_PLATFORM_AUXV
DL_PLATFORM_AUXV
#endif
Expand Down
2 changes: 0 additions & 2 deletions elf/rtld.c
Original file line number Diff line number Diff line change
Expand Up @@ -2579,12 +2579,10 @@ process_envvars (enum mode *modep)
break;

case 11:
#ifndef __ASSUME_AT_EXECFN
/* Path where the binary is found. */
if (!INTUSE(__libc_enable_secure)
&& memcmp (envline, "ORIGIN_PATH", 11) == 0)
GLRO(dl_origin_path) = &envline[12];
#endif
break;

case 12:
Expand Down
4 changes: 2 additions & 2 deletions fedora/branch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ glibc-branch := fedora
glibc-base := HEAD
DIST_BRANCH := devel
COLLECTION := dist-f8
fedora-sync-date := 2008-08-02 08:09 UTC
fedora-sync-tag := fedora-glibc-20080802T0809
fedora-sync-date := 2008-08-28 16:23 UTC
fedora-sync-tag := fedora-glibc-20080828T1623
Loading

0 comments on commit 315a43a

Please sign in to comment.