Skip to content

Commit

Permalink
Updated to fedora-glibc-20081019T1815
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Jelinek committed Oct 20, 2008
1 parent 315a43a commit 6d8225f
Show file tree
Hide file tree
Showing 52 changed files with 2,119 additions and 177 deletions.
104 changes: 103 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,7 +1,109 @@
2008-10-17 Jakub Jelinek <jakub@redhat.com>

* elf/Makefile: Add rules to build and run tst-tls17.
* elf/tst-tls17.c: New test.
* elf/tst-tlsmod17a.c: New file.
* elf/tst-tlsmod17b.c: Likewise.

2008-10-17 Ulrich Drepper <drepper@redhat.com>

* stdlib/divmod_1.c: Use correct type for dummy variable.
* stdlib/mod_1.c: Likewise.

2008-10-16 Ulrich Drepper <drepper@redhat.com>

* elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV.

2008-10-16 Jakub Jelinek <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs.
__nonnull order for C++.
* sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise.

2008-10-01 Daniel Jacobowitz <dan@codesourcery.com>

* stdlib/longlong.h: Update from GCC.

2008-10-09 Jakub Jelinek <jakub@redhat.com>
David S. Miller <davem@davemloft.net>

* sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR,
make sure any registers used with 64-bit 'branch-on-register'
instructions have their top 32-bits clear.
* sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise.
* sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise.

2008-09-18 Andreas Schwab <schwab@suse.de>

[BZ #6942]
* resolv/res_send.c (send_vc): Fix use of unaligned address.
Properly handle partial reads.

2008-10-01 Mark Shinwell <shinwell@codesourcery.com>

* elf/elf.h (STO_MIPS_PLT): New.
(R_MIPS_COPY): New.
(R_MIPS_JUMP_SLOT): New.
(R_MIPS_NUM): Redefine to 128.
(DT_MIPS_PLTGOT): New.
(DT_MIPS_RWPLT): New.
(DT_MIPS_NUM): Redefine to 0x35.

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

* timezone/africa: Update from tzdata2008f.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.

2008-09-30 Ulrich Drepper <drepper@redhat.com>

* nscd/connections.c: Disable use of paccept for now.

2008-09-29 Ulrich Drepper <drepper@redhat.com>

* socket/Versions: Remove paccept export for GLIBC_2.9.
* socket/Makefile (routines): Remove paccept.
* socket/sys/socket.h: Remove paccept declaration.

* po/sv.po: Update from translation team.

2008-09-22 Deborah S. Townsend <dstownse@us.ibm.com>

* sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.

2008-09-16 Ulrich Drepper <drepper@redhat.com>

* dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag.
Patch by Olivier Fourdan <ofourdan@redhat.com>.

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

* sunrpc/rpc/svc.h: Declare svcfd_create.
Patch by Michael Solberg <msolberg@redhat.com>.

2008-09-12 Flavio Leitner <fleitner@redhat.com>
Ulrich Drepper <drepper@redhat.com>

* malloc/malloc.c (public_vALLOc): Try other arenas in case
_int_valloc fails.
(public_pVALLOc): Likewise.

2008-09-02 Andreas Jaeger <aj@suse.de>

* sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Fix last
commit.

2008-08-26 Aurelien Jarno <aurelien@aurel32.net>

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

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

Expand Down
6 changes: 4 additions & 2 deletions 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-2
GNU C Library NEWS -- history of user-visible changes. 2008-9-29
Copyright (C) 1992-2007, 2008 Free Software Foundation, Inc.
See the end for copying conditions.

Expand All @@ -23,7 +23,7 @@ Version 2.9
* New implementation of memmem, strstr, and strcasestr which is O(n).
Implemented by Eric Blake.

* New Linux interfaces: inotify_init1, paccept, dup3, epoll_create1, pipe2
* New Linux interfaces: inotify_init1, dup3, epoll_create1, pipe2

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

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

* New locales: sd_IN, sd_IN@devanagari, ks_IN@devanagari, ht_HT, en_AG, nl_AW.

Version 2.8

Expand Down
3 changes: 2 additions & 1 deletion dlfcn/dlopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ dlopen_doit (void *a)
struct dlopen_args *args = (struct dlopen_args *) a;

if (args->mode & ~(RTLD_BINDING_MASK | RTLD_NOLOAD | RTLD_DEEPBIND
| RTLD_GLOBAL | RTLD_LOCAL | RTLD_NODELETE))
| RTLD_GLOBAL | RTLD_LOCAL | RTLD_NODELETE
| __RTLD_SPROF))
GLRO(dl_signal_error) (0, NULL, NULL, _("invalid mode parameter"));

args->new = GLRO(dl_open) (args->file ?: "", args->mode | __RTLD_DLOPEN,
Expand Down
12 changes: 11 additions & 1 deletion elf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ tests += loadtest restest1 preloadtest loadfail multiload origtest resolvfail \
restest2 next dblload dblunload reldep5 reldep6 reldep7 reldep8 \
circleload1 tst-tls3 tst-tls4 tst-tls5 tst-tls6 tst-tls7 tst-tls8 \
tst-tls10 tst-tls11 tst-tls12 tst-tls13 tst-tls14 tst-tls15 \
tst-tls16 tst-tls-dlinfo \
tst-tls16 tst-tls17 tst-tls-dlinfo \
tst-align tst-align2 $(tests-execstack-$(have-z-execstack)) \
tst-dlmodcount tst-dlopenrpath tst-deep1 \
tst-dlmopen1 tst-dlmopen2 tst-dlmopen3 \
Expand All @@ -181,6 +181,7 @@ ifeq (yesyes,$(have-fpie)$(build-shared))
tests: $(objpfx)tst-pie1.out
endif
tests: $(objpfx)tst-leaks1-mem
tlsmod17a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
testobj1_1 failobj constload2 constload3 unloadmod \
dep1 dep2 dep3 dep4 vismod1 vismod2 vismod3 \
Expand All @@ -200,6 +201,8 @@ modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
tst-tlsmod9 tst-tlsmod10 tst-tlsmod11 tst-tlsmod12 \
tst-tlsmod13 tst-tlsmod13a tst-tlsmod14a tst-tlsmod14b \
tst-tlsmod15a tst-tlsmod15b tst-tlsmod16a tst-tlsmod16b \
$(patsubst %,tst-tlsmod17a%,$(tlsmod17a-suffixes)) \
tst-tlsmod17b \
circlemod1 circlemod1a circlemod2 circlemod2a \
circlemod3 circlemod3a \
reldep8mod1 reldep8mod2 reldep8mod3 \
Expand Down Expand Up @@ -714,6 +717,13 @@ $(objpfx)tst-tls-dlinfo.out: $(objpfx)tst-tlsmod2.so
$(objpfx)tst-tls16: $(libdl)
$(objpfx)tst-tls16.out: $(objpfx)tst-tlsmod16a.so $(objpfx)tst-tlsmod16b.so

$(objpfx)tst-tls17: $(libdl)
$(objpfx)tst-tls17.out: $(objpfx)tst-tlsmod17b.so
$(patsubst %,$(objpfx)tst-tlsmod17a%.os,$(tlsmod17a-suffixes)): $(objpfx)tst-tlsmod17a%.os : tst-tlsmod17a.c
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ -DN=$* -DNOT_IN_libc=1 $<
$(patsubst %,$(objpfx)tst-tlsmod17a%.so,$(tlsmod17a-suffixes)): $(objpfx)tst-tlsmod17a%.so: $(objpfx)ld.so
$(objpfx)tst-tlsmod17b.so: $(patsubst %,$(objpfx)tst-tlsmod17a%.so,$(tlsmod17a-suffixes))

CFLAGS-tst-align.c = $(stack-align-test-flags)
CFLAGS-tst-align2.c = $(stack-align-test-flags)
CFLAGS-tst-alignmod.c = $(stack-align-test-flags)
Expand Down
2 changes: 1 addition & 1 deletion elf/dl-tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ _dl_update_slotinfo (unsigned long int req_modid)
newp = malloc ((2 + newsize) * sizeof (dtv_t));
if (newp == NULL)
oom ();
memcpy (newp, &dtv[-1], oldsize * sizeof (dtv_t));
memcpy (newp, &dtv[-1], (2 + oldsize) * sizeof (dtv_t));
}
else
{
Expand Down
13 changes: 11 additions & 2 deletions elf/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -1397,6 +1397,7 @@ typedef struct
#define STO_MIPS_INTERNAL 0x1
#define STO_MIPS_HIDDEN 0x2
#define STO_MIPS_PROTECTED 0x3
#define STO_MIPS_PLT 0x8
#define STO_MIPS_SC_ALIGN_UNUSED 0xff

/* MIPS specific values for `st_info'. */
Expand Down Expand Up @@ -1543,8 +1544,10 @@ typedef struct
#define R_MIPS_TLS_TPREL_HI16 49 /* TP-relative offset, high 16 bits */
#define R_MIPS_TLS_TPREL_LO16 50 /* TP-relative offset, low 16 bits */
#define R_MIPS_GLOB_DAT 51
#define R_MIPS_COPY 126
#define R_MIPS_JUMP_SLOT 127
/* Keep this the last entry. */
#define R_MIPS_NUM 52
#define R_MIPS_NUM 128

/* Legal values for p_type field of Elf32_Phdr. */

Expand Down Expand Up @@ -1610,7 +1613,13 @@ typedef struct
#define DT_MIPS_COMPACT_SIZE 0x7000002f /* (O32)Size of compact rel section. */
#define DT_MIPS_GP_VALUE 0x70000030 /* GP value for aux GOTs. */
#define DT_MIPS_AUX_DYNAMIC 0x70000031 /* Address of aux .dynamic. */
#define DT_MIPS_NUM 0x32
/* The address of .got.plt in an executable using the new non-PIC ABI. */
#define DT_MIPS_PLTGOT 0x70000032
/* The base of the PLT in an executable using the new non-PIC ABI if that
PLT is writable. For a non-writable PLT, this is omitted or has a zero
value. */
#define DT_MIPS_RWPLT 0x70000034
#define DT_MIPS_NUM 0x35

/* Legal values for DT_MIPS_FLAGS Elf32_Dyn entry. */

Expand Down
28 changes: 28 additions & 0 deletions elf/tst-tls17.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#include <dlfcn.h>
#include <stdio.h>

static int
do_test (void)
{
void *h = dlopen ("tst-tlsmod17b.so", RTLD_LAZY);
if (h == NULL)
{
puts ("unexpectedly failed to open tst-tlsmod17b.so");
exit (1);
}

int (*fp) (void) = (int (*) (void)) dlsym (h, "tlsmod17b");
if (fp == NULL)
{
puts ("cannot find tlsmod17b");
exit (1);
}

if (fp ())
exit (1);

return 0;
}

#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
23 changes: 23 additions & 0 deletions elf/tst-tlsmod17a.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#include <stdio.h>

#ifndef N
#define N 0
#endif
#define CONCAT1(s, n) s##n
#define CONCAT(s, n) CONCAT1(s, n)

__thread int CONCAT (v, N) = 4;

int
CONCAT (tlsmod17a, N) (void)
{
int *p = &CONCAT (v, N);
/* GCC assumes &var is never NULL, add optimization barrier. */
asm volatile ("" : "+r" (p));
if (p == NULL || *p != 4)
{
printf ("fail %d %p\n", N, p);
return 1;
}
return 0;
}
15 changes: 15 additions & 0 deletions elf/tst-tlsmod17b.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#define P(N) extern int tlsmod17a##N (void);
#define PS P(0) P(1) P(2) P(3) P(4) P(5) P(6) P(7) P(8) P(9) \
P(10) P(12) P(13) P(14) P(15) P(16) P(17) P(18) P(19)
PS
#undef P

int
tlsmod17b (void)
{
int res = 0;
#define P(N) res |= tlsmod17a##N ();
PS
#undef P
return res;
}
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-28 16:23 UTC
fedora-sync-tag := fedora-glibc-20080828T1623
fedora-sync-date := 2008-10-19 18:15 UTC
fedora-sync-tag := fedora-glibc-20081019T1815
20 changes: 19 additions & 1 deletion fedora/glibc.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Summary: The GNU libc libraries
Name: glibc
Version: @glibcversion@
Release: 12
Release: 14
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
# Things that are linked directly into dynamically linked programs
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
Expand Down Expand Up @@ -221,6 +221,12 @@ package or when debugging this package.
# memmove. The memcpy implementation below is not tolerant at
# all.
rm -f sysdeps/alpha/alphaev6/memcpy.S
%if %{buildpower6}
# On powerpc32, hp timing is only available in power4/power6
# libs, not in base, so pre-power4 dynamic linker is incompatible
# with power6 libs.
rm -f sysdeps/powerpc/powerpc32/power4/hp-timing.[ch]
%endif

find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \;
cat > find_provides.sh <<EOF
Expand Down Expand Up @@ -976,6 +982,18 @@ rm -f *.filelist*
%endif

%changelog
* Sun Oct 19 2008 Jakub Jelinek <jakub@redhat.com> 2.8.90-14
- update from trunk
- fix dynamic TLS handling (#467309)
- fix sys/signalfd.h for C++ (#467172)
- fix sprof (#458861)
- fix _mcount and socket syscalls on s390x (#464146)
- try harder to allocate memory in valloc and pvalloc (#461481)
- fix power6 32-bit libs (#467311)

* Fri Oct 10 2008 Dennis Gilmore <dennis@ausil.us> 2.8.90-13
- apply sparcv9v memset patch from jakub and davem

* Fri Aug 29 2008 Jakub Jelinek <jakub@redhat.com> 2.8.90-12
- update from trunk
- revert origin changes (#457849)
Expand Down
43 changes: 42 additions & 1 deletion localedata/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,8 +1,49 @@
2008-09-17 Ulrich Drepper <drepper@redhat.com>

* locales/en_GB: Set first weekday and workday to 2.

2008-09-16 Ulrich Drepper <drepper@redhat.com>

* locales/nl_AW: New file.
* SUPPORTED (SUPPORTED-LOCALES): Add nl_AW.UTF-8.

* locales/en_AG: New file.
* SUPPORTED (SUPPORTED-LOCALES): Add en_AG.UTF-8.

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

* locales/ht_HT: New file.
* SUPPORTED: Add ht_HT.UTF-8.

* locales/en_GB: Change dom_tel_fmt to %A %l.
* locales/de_DE: Likewise.

* SUPPORTED (SUPPORTED-LOCALES): Add sd_IN.

* locales/sd_IN: New file.
Contributed by Pravin Satpute <psatpute@redhat.com>.

* locales/sd_IN@devanagari: Fix locale name.
* locales/ks_IN@devanagari: Likewise.

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

* SUPPORTED (SUPPORTED-LOCALES): Add ks_IN@devnagari and
sd_IN@devanagari.

[BZ #6857]
* locales/sd_IN@devanagari: New file.
Contributed by Pravin Satpute <psatpute@redhat.com>.

[BZ #6856]
* locales/ks_IN@devanagari: New file.
Contributed by Pravin Satpute <psatpute@redhat.com>.

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

* locales/iso14651_t1_common: Add Kannada collation support.
Patch by Pravin Satpute <psatpute@redhat.com>.

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

[BZ #6713]
Expand Down
Loading

0 comments on commit 6d8225f

Please sign in to comment.