Skip to content

Commit

Permalink
Merge remote branch 'origin/master' into fedora/master
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Feb 22, 2010
2 parents 0c3f133 + 199428c commit 2b6e16c
Show file tree
Hide file tree
Showing 84 changed files with 7,061 additions and 541 deletions.
181 changes: 181 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,184 @@
2010-02-19 Carl Fredrik Hammar <hammy.lite@gmail.com>

* hurd/hurdioctl.c (tiocsctty): Call `do_tiocsctty' instead of
non-existent `tiocsctty_port'.

2010-02-16 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/i386/i686/multiarch/memcmp.S (memcmp): Use CPUID_OFFSET
instead of FEATURE_OFFSET.
* sysdeps/i386/i686/multiarch/strcmp.S (strcmp): Likewise.

* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Add alignnments.
Fix one unwind info problem.

* sysdeps/i386/i686/multiarch/memcmp-ssse3.S (less1bytes): Add CFI_POP.

* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Simplify unwind info.

2010-02-17 H.J. Lu <hongjiu.lu@intel.com>
Ulrich Drepper <drepper@redhat.com>

* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Fix typo in unwind info.
Clean up a bit.

2010-02-17 Carl Fredrik Hammar <hammy.lite@gmail.com>

* hurd/hurdioctl.c (tiocsctty): Only get FD ports, do work in...
(tiocsctty_port): ...this new function.

* hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Cast to
`ioctl_handler_t'.

2010-02-15 Ulrich Drepper <drepper@redhat.com>

* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Fix unwind info.
* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.

* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Don't fall through to
undefined code.

2010-02-12 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
strcmp-ssse3, strcmp-sse4, strncmp-c, strncmp-ssse3, strncmp-sse4,
memcmp-c, memcmp-ssse3, and memcmp-sse4.
* sysdeps/i386/i686/multiarch/memcmp-sse4.S: New file.
* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: New file.
* sysdeps/i386/i686/multiarch/memcmp.S: New file.
* sysdeps/i386/i686/multiarch/strcmp-sse4.S: New file.
* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: New file.
* sysdeps/i386/i686/multiarch/strcmp.S: New file.
* sysdeps/i386/i686/multiarch/strncmp-c.c: New file.
* sysdeps/i386/i686/multiarch/strncmp-sse4.S: New file.
* sysdeps/i386/i686/multiarch/strncmp-ssse3.S: New file.
* sysdeps/i386/i686/multiarch/strncmp.S: New file.

2010-02-12 Luis Machado <luisgpm@br.ibm.com>

* sysdeps/powerpc/powerpc32/dl-machine.h: Removed old PPC_REL16 check.
* sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/memset.S: Likewise.
* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
* sysdeps/powerpc/powerpc32/configure.in: Fail if R_PPC_REL16
is not supported.
* sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
* sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.

2010-02-12 Alan Modra <amodra@gmail.com>

* elf/tls-macros.h [__powerpc__] (__TLS_CALL_CLOBBERS): Remove r3.
Define and use for __powerpc64__ too.
[__powerpc__] (TLS_LD): Add r3 to clobbers.
[__powerpc__] (TLS_GD): Set asm output. Make __result r3 reg.
[__powerpc64__] (TLS_GD): Make __result r3 reg.
[__powerpc64__] (TLS_IE): Relax output constraint.

2010-02-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>

* sysdeps/s390/s390-64/utf8-utf16-z9.c: Disable hardware
instructions cu21 and cu24. Add well-formedness checking
parameter and adjust the software implementation.
* sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.

2010-02-10 Ulrich Drepper <drepper@redhat.com>

[BZ #11271]
* io/ftw.c (ftw_startup): Close descriptor for initial directory
after changing back to it.

2010-02-05 David S. Miller <davem@davemloft.net>

* elf/elf.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle new
ifunc relocs.
(elf_machine_lazy_rel): Likewise.
(sparc_fixup_plt): Pull out to...
* sysdeps/sparc/sparc32/dl-plt.h: ...here.
* sysdeps/sparc/sparc32/dl-irel.h: New file.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle new
ifunc relocs.
(elf_machine_lazy_rel): Likewise.
(sparc64_fixup_plt): Pull out to...
* sysdeps/sparc/sparc64/dl-plt.h: ...here.
* sysdeps/sparc/sparc64/dl-irel.h: New file.

2010-02-09 Maxim Kuvyrkov <maxim@codesourcery.com>

* elf/elf.h: Define m68k TLS relocations.

2010-02-10 Luis Machado <luisgpm@br.ibm.com>

* sysdeps/powerpc/powerpc64/power7/Implies: Removed.
* sysdeps/powerpc/powerpc64/power7/fpu/Implies: Removed.
* sysdeps/powerpc/powerpc32/power7/Implies: Removed.
* sysdeps/powerpc/powerpc32/power7/fpu/Implies: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Add
64-bit power7 fpu path.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Add
32-bit power7 fpu math.

2010-02-09 Ulrich Drepper <drepper@redhat.com>

* sysdeps/i386/rshift.S: More compact unwind information.

* sysdeps/i386/lshift.S: Fix unwind information.

2010-02-08 Luis Machado <luisgpm@br.ibm.com>

* sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: New file.
* sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: New file.
* sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: New file.
* sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: New file.
* sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: New file.
* sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: New file.

2010-02-08 Andreas Schwab <schwab@redhat.com>

* include/fenv.h: Add hidden proto for fegetenv.
* math/fegetenv.c: Add hidden alias.
* sysdeps/i386/fpu/fegetenv.c: Likewise.
* sysdeps/ia64/fpu/fegetenv.c: Likewise.
* sysdeps/powerpc/fpu/fegetenv.c: Likewise.
* sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
* sysdeps/sparc/fpu/fegetenv.c: Likewise.
* sysdeps/x86_64/fpu/fegetenv.c: Likewise
* sysdeps/s390/fpu/fegetenv.c: Likewise. Remove unused headers.

2010-02-12 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Use unsigned
Expand Down
21 changes: 12 additions & 9 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,23 @@ In GNU/Hurd systems, it works with a microkernel and Hurd servers.
The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[34567]86-*-gnu.

When working with Linux kernels, the GNU C Library version 2.4 is
intended primarily for use with Linux kernel version 2.6.0 and later.
We only support using the NPTL implementation of pthreads, which is now
the default configuration. Most of the C library will continue to work
on older Linux kernels and many programs will not require a 2.6 kernel
to run correctly. However, pthreads and related functionality will not
work at all on old kernels and we do not recommend using glibc 2.4 with
any Linux kernel prior to 2.6.
When working with Linux kernels, the GNU C Library version from
version 2.4 on is intended primarily for use with Linux kernel version
2.6.0 and later. We only support using the NPTL implementation of
pthreads, which is now the default configuration. Most of the C
library will continue to work on older Linux kernels and many programs
will not require a 2.6 kernel to run correctly. However, pthreads and
related functionality will not work at all on old kernels and we do
not recommend using glibc 2.4 with any Linux kernel prior to 2.6.

All Linux kernel versions prior to 2.6.16 are known to have some bugs that
may cause some of the tests related to pthreads in "make check" to fail.
If you see such problems, please try the test suite on the most recent
Linux kernel version that you can use, before pursuing those bugs further.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The old LinuxThreads add-on implementation of pthreads for older Linux
kernels is no longer supported, and we are not distributing it with this
release. Someone has volunteered to revive its maintenance unofficially
Expand All @@ -48,7 +51,6 @@ The GNU C Library supports these configurations for using Linux kernels:
sparc*-*-linux-gnu
sparc64*-*-linux-gnu

alpha*-*-linux-gnu Requires Linux 2.6.9 for NPTL
sh[34]-*-linux-gnu Requires Linux 2.6.11

The code for other CPU configurations supported by volunteers outside of
Expand All @@ -57,6 +59,7 @@ add-on. You can find glibc-ports-VERSION distributed separately in the
same place where you got the main glibc distribution files.
Currently these configurations are known to work using the `ports' add-on:

alpha*-*-linux-gnu Requires Linux 2.6.9 for NPTL
arm-*-linux-gnu Requires Linux 2.6.15 for NPTL, no SMP support
arm-*-linux-gnueabi Requires Linux 2.6.16-rc1 for NPTL, no SMP
mips-*-linux-gnu Requires Linux 2.6.12 for NPTL
Expand Down
25 changes: 24 additions & 1 deletion elf/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -1123,8 +1123,29 @@ typedef struct
#define R_68K_GLOB_DAT 20 /* Create GOT entry */
#define R_68K_JMP_SLOT 21 /* Create PLT entry */
#define R_68K_RELATIVE 22 /* Adjust by program base */
#define R_68K_TLS_GD32 25 /* 32 bit GOT offset for GD */
#define R_68K_TLS_GD16 26 /* 16 bit GOT offset for GD */
#define R_68K_TLS_GD8 27 /* 8 bit GOT offset for GD */
#define R_68K_TLS_LDM32 28 /* 32 bit GOT offset for LDM */
#define R_68K_TLS_LDM16 29 /* 16 bit GOT offset for LDM */
#define R_68K_TLS_LDM8 30 /* 8 bit GOT offset for LDM */
#define R_68K_TLS_LDO32 31 /* 32 bit module-relative offset */
#define R_68K_TLS_LDO16 32 /* 16 bit module-relative offset */
#define R_68K_TLS_LDO8 33 /* 8 bit module-relative offset */
#define R_68K_TLS_IE32 34 /* 32 bit GOT offset for IE */
#define R_68K_TLS_IE16 35 /* 16 bit GOT offset for IE */
#define R_68K_TLS_IE8 36 /* 8 bit GOT offset for IE */
#define R_68K_TLS_LE32 37 /* 32 bit offset relative to
static TLS block */
#define R_68K_TLS_LE16 38 /* 16 bit offset relative to
static TLS block */
#define R_68K_TLS_LE8 39 /* 8 bit offset relative to
static TLS block */
#define R_68K_TLS_DTPMOD32 40 /* 32 bit module number */
#define R_68K_TLS_DTPREL32 41 /* 32 bit module-relative offset */
#define R_68K_TLS_TPREL32 42 /* 32 bit TP-relative offset */
/* Keep this the last entry. */
#define R_68K_NUM 23
#define R_68K_NUM 43

/* Intel 80386 specific definitions. */

Expand Down Expand Up @@ -1303,6 +1324,8 @@ typedef struct
#define R_SPARC_H34 85
#define R_SPARC_SIZE32 86
#define R_SPARC_SIZE64 87
#define R_SPARC_JMP_IREL 248
#define R_SPARC_IRELATIVE 249
#define R_SPARC_GNU_VTINHERIT 250
#define R_SPARC_GNU_VTENTRY 251
#define R_SPARC_REV32 252
Expand Down
Loading

0 comments on commit 2b6e16c

Please sign in to comment.