platform/upstream/linaro-glibc.git
18 years ago[BZ #2013]
Roland McGrath [Thu, 2 Mar 2006 04:49:45 +0000 (04:49 +0000)]
[BZ #2013]

2006-01-05  H.J. Lu  <hongjiu.lu@intel.com>
[BZ #2013]
* sysdeps/ia64/memccpy.S: Properly handle recovery for
predicated speculative load.

18 years ago[BZ #2013]
Roland McGrath [Thu, 2 Mar 2006 04:49:27 +0000 (04:49 +0000)]
[BZ #2013]

2006-01-05  H.J. Lu  <hongjiu.lu@intel.com>
[BZ #2013]
* sysdeps/ia64/memccpy.S: Properly handle recovery for
predicated speculative load.

18 years ago* sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
Ulrich Drepper [Thu, 2 Mar 2006 00:28:24 +0000 (00:28 +0000)]
* sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S

(__lll_robust_lock_wait): Also set FUTEX_WAITERS bit if we got the
mutex.
(__lll_robust_timedlock_wait): Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S
(__lll_robust_lock_wait): Likewise.
(__lll_robust_timedlock_wait): Likewise.
* sysdeps/unix/sysv/linux/lowlevelrobustlock.c
(__lll_robust_lock_wait): Likewise.
(__lll_robust_timedlock_wait): Likewise.

18 years ago(__lll_robust_lock_wait): Also set FUTEX_WAITERS buit if we got the mutex. (__lll_rob...
Ulrich Drepper [Thu, 2 Mar 2006 00:25:56 +0000 (00:25 +0000)]
(__lll_robust_lock_wait): Also set FUTEX_WAITERS buit if we got the mutex. (__lll_robust_timedlock_wait): Likewise.

18 years ago* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
Roland McGrath [Wed, 1 Mar 2006 21:26:02 +0000 (21:26 +0000)]
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.

* sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat64): Use
libc_hidden_ver rather than libc_hidden_def.

18 years ago* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
Roland McGrath [Wed, 1 Mar 2006 20:05:53 +0000 (20:05 +0000)]
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.

* sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept):
Use inline asm to make sure the compiler doesn't optimize insns out.

18 years ago* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
Roland McGrath [Wed, 1 Mar 2006 20:03:27 +0000 (20:03 +0000)]
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h

(DECLARGS_6): Fix a typo.

18 years ago* version.h (VERSION): 2.3.91
Roland McGrath [Wed, 1 Mar 2006 10:35:59 +0000 (10:35 +0000)]
* version.h (VERSION): 2.3.91

* Makeconfig (sysdeps-srcdirs): New variable.
(sysdeps-add-ons-srcdirs): Use it.
* csu/Makefile (all-Banner-files): Use it.

* Makefile (dist-selector): New variable.
(glibc-%.tar rule): Use it.  Make $(dist-separate) tarballs
contain one version-named directory.

18 years ago* Makefile (format-me): Use --plaintext --no-number-sections.
Roland McGrath [Wed, 1 Mar 2006 10:05:04 +0000 (10:05 +0000)]
* Makefile (format-me): Use  --plaintext --no-number-sections.

* NOTES, INSTALL: Regenerated.

18 years ago* NEWS: Update 2.4 items.
Roland McGrath [Wed, 1 Mar 2006 09:54:57 +0000 (09:54 +0000)]
* NEWS: Update 2.4 items.

18 years ago* configure.in (machine): Match sparcv9v and sparc64v.
Roland McGrath [Wed, 1 Mar 2006 09:17:48 +0000 (09:17 +0000)]
* configure.in (machine): Match sparcv9v and sparc64v.

* configure: Regenerated.
* sysdeps/sparc/sparc32/sparcv9v/memcpy.S: New file.
* sysdeps/sparc/sparc32/sparcv9v/memset.S: New file.
* sysdeps/sparc/sparc64/sparcv9v/memcpy.S: New file.
* sysdeps/sparc/sparc64/sparcv9v/memset.S: New file.

18 years ago* sysdeps/mach/hurd/Subdirs: Use "first hurd".
Roland McGrath [Wed, 1 Mar 2006 08:52:13 +0000 (08:52 +0000)]
* sysdeps/mach/hurd/Subdirs: Use "first hurd".

18 years agoMove sysdeps/rs6000 off to ports.
Roland McGrath [Wed, 1 Mar 2006 07:33:08 +0000 (07:33 +0000)]
Move sysdeps/rs6000 off to ports.

2006-02-28  Roland McGrath  <roland@redhat.com>

* sysdeps/rs6000: Directory removed, saved in ports repository.

18 years ago* sysdeps/unix/sysv/linux/sh/pread.c: Copy in mips pread.c.
Roland McGrath [Wed, 1 Mar 2006 06:38:57 +0000 (06:38 +0000)]
* sysdeps/unix/sysv/linux/sh/pread.c: Copy in mips pread.c.

* sysdeps/unix/sysv/linux/sh/pwrite.c: Copy in mips pwrite.c.
* sysdeps/unix/sysv/linux/sh/pread64.c: Copy in mips pread64.c.
* sysdeps/unix/sysv/linux/sh/pwrite64.c: Copy in mips pwrite64.c.

18 years ago* elf/tst-tls-dlinfo.c: New file.
Roland McGrath [Wed, 1 Mar 2006 06:18:49 +0000 (06:18 +0000)]
* elf/tst-tls-dlinfo.c: New file.

* elf/Makefile (tests): Add it.
($(objpfx)tst-tls-dlinfo): Depend on $(libdl).
($(objpfx)tst-tls-dlinfo.out): Depend on $(objpfx)tst-tlsmod2.so.

* dlfcn/dlfcn.h (RTLD_DI_PROFILENAME, RTLD_DI_PROFILEOUT): New enum
values, reserve unsupported requested names used on Solaris.
(RTLD_DI_TLS_MODID, RTLD_DI_TLS_DATA): New enum values.
(RTLD_DI_MAX): Likewise.
* dlfcn/dlinfo.c (dlinfo_doit): Handle RTLD_DI_TLS_MODID and
RTLD_DI_TLS_DATA.

* elf/dl-tls.c (_dl_tls_get_addr_soft): New function.
* sysdeps/generic/ldsodefs.h: Declare it.
* elf/Versions (ld: GLIBC_PRIVATE): Add it.
* elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid,
dlpi_tls_data.
* elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in.

* include/link.h: Don't copy contents from elf/link.h.
Instead, #include it while #define'ing around link_map.
* elf/dl-debug.c (_dl_debug_initialize): Add a cast.
Add bogus extern decl to verify link_map members.
* elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map.
(OUT, main): Use it in place of _r_debug._r_map.
* elf/unload.c: Likewise.
* elf/unload2.c: Likewise.
* elf/neededtest.c (check_loaded_objects): Likewise.
* elf/neededtest2.c (check_loaded_objects): Likewise.
* elf/neededtest3.c (check_loaded_objects): Likewise.
* elf/neededtest4.c (check_loaded_objects): Likewise.
* elf/circleload1.c (check_loaded_objects): Likewise.

18 years ago* nscd/nscd_helper.c: Include <time.h> for `time' declaration.
Roland McGrath [Wed, 1 Mar 2006 05:39:10 +0000 (05:39 +0000)]
* nscd/nscd_helper.c: Include <time.h> for `time' declaration.

18 years ago* include/fcntl.h: Declare __openat, __open64. Use libc_hidden_proto.
Roland McGrath [Wed, 1 Mar 2006 05:32:59 +0000 (05:32 +0000)]
* include/fcntl.h: Declare __openat, __open64.  Use libc_hidden_proto.

* io/openat.c (__openat): Define instead of openat.
Use libc_hidden_def.  Define openat with weak_alias.
* io/openat64.c (__openat64): Define instead of openat64.
Use libc_hidden_def.  Define openat64 with weak_alias.
* sysdeps/unix/sysv/linux/openat.c: Likewise.

* libio/genops.c: Include <sched.h> for __sched_yield decl.

18 years ago* Makeconfig (+includes): Add back $(includes)
Roland McGrath [Wed, 1 Mar 2006 04:20:27 +0000 (04:20 +0000)]
* Makeconfig (+includes): Add back $(includes)

after $(+sysdep-includes).

* Makerules ($(common-objpfx)%.make): Use -DASSEMBLER.

18 years ago* posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t):
Roland McGrath [Tue, 28 Feb 2006 19:11:33 +0000 (19:11 +0000)]
* posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t):

typedef to long int resp. unsigned long int on 64-bit arches.

18 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64
Roland McGrath [Tue, 28 Feb 2006 19:07:44 +0000 (19:07 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64

umount.c rather than hppa umount.c.
* sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Include sh chown.c
rather than m68k chown.c.
* sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include sh
fchownat.c rather than m68k fchownat.c.
* sysdeps/unix/sysv/linux/sh/chown.c: Copy over from m68k chown.c.
* sysdeps/unix/sysv/linux/sh/fchownat.c: Copy over from m68k
fchownat.c.
* sysdeps/unix/sysv/linux/x86_64/brk.c: Copy over from hppa brk.c.
* sysdeps/unix/sysv/linux/x86_64/umount.c: Copy over from hppa
umount.c.

18 years ago* sysdeps/hppa: Directory removed, saved in ports repository.
Roland McGrath [Tue, 28 Feb 2006 10:18:39 +0000 (10:18 +0000)]
* sysdeps/hppa: Directory removed, saved in ports repository.

* sysdeps/mach/hppa: Likewise.
* sysdeps/mach/hurd/hppa: Likewise.
* sysdeps/unix/sysv/linux/hppa: Likewise.
* configure.in (machine): Remove hppa* cases.
* configure: Regenerated.
* shlib-versions: Remove hppa cases.

* sysdeps/m68k: Directory removed, saved in ports repository.
* sysdeps/unix/bsd/m68k: Likewise.
* sysdeps/unix/sysv/linux/m68k: Likewise.
* configure.in (machine): Remove m68* cases.
* configure: Regenerated.

18 years ago* elf/rtld-Rules (subdir-args): New variable.
Roland McGrath [Tue, 28 Feb 2006 09:57:07 +0000 (09:57 +0000)]
* elf/rtld-Rules (subdir-args): New variable.

(rtld-subdir-make): Use it.

18 years ago* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
Roland McGrath [Tue, 28 Feb 2006 09:34:41 +0000 (09:34 +0000)]
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h

(DO_CALL): Add support for 6 system call parameters.
(DECLARGS_6, ASMFMT_6): Define.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.

18 years ago* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h.
Roland McGrath [Tue, 28 Feb 2006 08:39:43 +0000 (08:39 +0000)]
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h.

18 years ago* scripts/config.guess: Update from master, timestamp='2006-02-27'.
Roland McGrath [Tue, 28 Feb 2006 07:54:15 +0000 (07:54 +0000)]
* scripts/config.guess: Update from master, timestamp='2006-02-27'.

* scripts/config.sub: Update from master, timestamp='2006-02-27'.

18 years ago* Makefile (subdir-target-args): New variable.
Roland McGrath [Tue, 28 Feb 2006 07:11:04 +0000 (07:11 +0000)]
* Makefile (subdir-target-args): New variable.

($(all-subdirs-targets)): Use it in place of -C option.
* Rules: Use $(..) instead of ../ if it's already defined.
* Makeconfig (subdir-srcdirs): New variable.
* csu/Makefile (all-Banner-files): Use it.

* configure.in (--enable-add-ons): Set to "yes" by default.
Handle absolute add-on directory names when looking for configure
fragments.  Also look for sysdeps/*/preconfigure fragments in add-ons.
Require add-on configure to set $libc_add_on_canonical, use
that in $add_ons_sfx.  Substitute add_on_subdirs with computed list
of subdir names each add-on configure set in libc_add_on_subdirs.
* configure: Regenerated.
* Makefile (%/preconfigure: %/preconfigure.in): New pattern rule.
* config.make.in (add-on-subdirs): New substituted variable.
* Makeconfig (all-subdirs): Include $(add-on-subdirs).
Remove $(add-ons), $(sysdep-subdirs).
Don't filter out $(sysdep-inhibit-subdirs).
($(common-objpfx)sysd-dirs): Target removed.  Don't include it.
($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs
files together to gen-sorted.awk, and $(subdirs) via -v.
(subdirs): Remove magic reordering for mach and hurd.
* scripts/gen-sorted.awk: Use subdirs from command line.
Process Subdirs and Depend files directly.
Let Subdirs files use "first dir" and "inhibit dir".
Always move elf to the end of the list.
* hurd/Depend: New file.
* sysdeps/mach/Subdirs: Use "first mach".

* Makefile (dist-separate): Remove linuxthreads.
(dist-separate-linuxthreads): Variable removed.
(glibc-%.tar rule): Use $(sysdeps-add-ons).

* Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs),
not $(all-subdirs).
(sysdep-makefiles): Use $(sysdirs).
(sysdirs): Remove export.
($(+sysdir_pfx)sysd-rules): Handle absolute directory names in
$(config-sysdirs).
(+sysdir_pfx): Variable removed.
(sysd-rules): Use $(common-objpfx) in place of it.
(sysdirs): Variable moved to ...
* Makeconfig (sysdirs): ... here.
Handle absolute directory names in $(config-sysdirs).
(full_config_sysdirs): Variable removed.
* csu/Makefile: Use $(sysdirs) in vpath directive.
* math/Makefile (ulps-file): Use $(sysdirs).
* sysdeps/gnu/Makefile (errlist-c): Likewise.
($(objpfx)errlist-compat.c): Likewise.
* Makeconfig (all-Subdirs-files): Likewise.
($(common-objpfx)config.status): Likewise.

* configure.in (sysnames): Handle absolute add-on directory names.
(sysdeps_add_ons): New variable, AC_SUBST it.
Compute which add-ons contributed sysdeps directories.
* configure: Regenerated.
* config.make.in (sysdeps-add-ons): New substituted variable.
* Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ...
* Makeconfig: ... to here.
(+sysdep_dirs): Append $(sysdeps-add-ons) here.
(+includes): Remove $(objpfx) include, already in $(+sysdep_dirs).
Remove $(includes).
(sysdep-makeconfigs): Use $(+sysdep_dirs).
($(common-objpfx)shlib-versions.v.i): Likewise.

* Makeconfig: Remove hair to set Makeconfig-add-on.

* sysdeps/unix/Makefile (sysdirs): Remove export.
(asm_CPP): Variable removed.
($(common-objpfx)sysd-syscalls): Pass them directly for the script.

* sysdeps/posix/Makefile: New file.
* Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix
values here with ?=.

* stdlib/gen-mpn-copy: File removed.
* stdlib/Makefile (distribute): Remove it.
* configure.in: Don't grok --with-gmp.
* configure: Regenerated.

* configure.in (libc_cv_idn): Don't check it; libidn/configure does it.
* configure: Regenerated.

* bare: Directory removed, saved in ports repository.

18 years ago2006-02-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 28 Feb 2006 07:05:34 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* sysdeps/posix/Makefile: New file.
* Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix
values here with ?=.

18 years ago* sysdeps/unix/sysv/linux/linkat.c (linkat): Allow flags to be set
Ulrich Drepper [Mon, 27 Feb 2006 21:45:10 +0000 (21:45 +0000)]
* sysdeps/unix/sysv/linux/linkat.c (linkat): Allow flags to be set

when syscall is used.
* io/fcntl.h (AT_SYMLINK_FOLLOW): Define.

18 years ago(AT_SYMLINK_FOLLOW): Define.
Ulrich Drepper [Mon, 27 Feb 2006 21:38:55 +0000 (21:38 +0000)]
(AT_SYMLINK_FOLLOW): Define.

18 years agoMove bare/ to ports repository.
Roland McGrath [Mon, 27 Feb 2006 07:42:22 +0000 (07:42 +0000)]
Move bare/ to ports repository.

18 years agoAdd fifth parameter to linkat.
Ulrich Drepper [Mon, 27 Feb 2006 05:44:25 +0000 (05:44 +0000)]
Add fifth parameter to linkat.

18 years ago* io/tst-linkat.c (do_test): Pass new parameter to linkat.
Ulrich Drepper [Mon, 27 Feb 2006 01:00:40 +0000 (01:00 +0000)]
* io/tst-linkat.c (do_test): Pass new parameter to linkat.

18 years ago(do_test): Pass new parameter to linkat.
Ulrich Drepper [Mon, 27 Feb 2006 00:59:21 +0000 (00:59 +0000)]
(do_test): Pass new parameter to linkat.

18 years ago* sysdeps/generic/pt-raise.c: Moved to ...
Roland McGrath [Mon, 27 Feb 2006 00:58:34 +0000 (00:58 +0000)]
* sysdeps/generic/pt-raise.c: Moved to ...

* pt-raise.c: ... here.
* sysdeps/generic/lowlevellock.h: Moved to ...
* lowlevellock.h: ... here.

18 years ago2006-02-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 27 Feb 2006 00:58:29 +0000 (00:58 +0000)]
2006-02-26  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/pt-raise.c: Moved to ...
* pt-raise.c: ... here.
* sysdeps/generic/lowlevellock.h: Moved to ...
* lowlevellock.h: ... here.

18 years ago..
Ulrich Drepper [Mon, 27 Feb 2006 00:56:56 +0000 (00:56 +0000)]
..

* posix/unistd.h: Add fifth parameter to linkat.
* io/linkat.c: Likewise.
* sysdeps/unix/sysv/linux/linkat.c: Likewise.

18 years agoAdd fifth parameter to linkat.
Ulrich Drepper [Mon, 27 Feb 2006 00:52:57 +0000 (00:52 +0000)]
Add fifth parameter to linkat.

18 years ago* sysdeps/unix/common/Makefile: File removed.
Roland McGrath [Sun, 26 Feb 2006 23:57:29 +0000 (23:57 +0000)]
* sysdeps/unix/common/Makefile: File removed.

* sysdeps/unix/common/glue-ctype.c: File removed.
* sysdeps/unix/common/configure.in: File removed.
* sysdeps/unix/common/configure: File removed.

* sysdeps/unix/configure.in: File removed.
* sysdeps/unix/configure: File removed.
* sysdeps/unix/make_errlist.c: File removed.
* sysdeps/unix/Makefile ($(objpfx)errlist.c, $(objpfx)make_errlist):
Rules removed.

18 years ago* timezone/africa: Update from tzdata2006b (comment changes only).
Roland McGrath [Sun, 26 Feb 2006 23:56:23 +0000 (23:56 +0000)]
* timezone/africa: Update from tzdata2006b (comment changes only).

* timezone/antarctica: Likewise.

18 years ago* timezone/antarctica: Update from tzdata2006b (comment changes only).
Roland McGrath [Sun, 26 Feb 2006 23:39:43 +0000 (23:39 +0000)]
* timezone/antarctica: Update from tzdata2006b (comment changes only).

* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/etcetera: Likewise.
* timezone/europe: Likewise.
* timezone/factory: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/pacificnew: Likewise.
* timezone/solar87: Likewise.
* timezone/solar88: Likewise.
* timezone/solar89: Likewise.
* timezone/southamerica: Likewise.
* timezone/systemv: Likewise.
* timezone/zone.tab: Likewise.

18 years ago2006-02-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 26 Feb 2006 23:39:30 +0000 (23:39 +0000)]
2006-02-26  Roland McGrath  <roland@redhat.com>

* timezone/antarctica: Update from tzdata2006b (comment changes only).
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/etcetera: Likewise.
* timezone/europe: Likewise.
* timezone/factory: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/pacificnew: Likewise.
* timezone/solar87: Likewise.
* timezone/solar88: Likewise.
* timezone/solar89: Likewise.
* timezone/southamerica: Likewise.
* timezone/systemv: Likewise.
* timezone/zone.tab: Likewise.

18 years ago* elf/do-lookup.h (do_lookup_x): No need to compare SKIP to NULL
Ulrich Drepper [Sun, 26 Feb 2006 20:50:52 +0000 (20:50 +0000)]
* elf/do-lookup.h (do_lookup_x): No need to compare SKIP to NULL

before comparison with MAP.

* elf/dl-sym.c (do_sym): For RTLD_NEXT, pass MATCH to
dl_lookup_symbol_x instead of L.

18 years ago(do_sym): For RTLD_NEXT, pass MATCH for dl_lookup_symbol_x, not L.
Ulrich Drepper [Sun, 26 Feb 2006 20:45:55 +0000 (20:45 +0000)]
(do_sym): For RTLD_NEXT, pass MATCH for dl_lookup_symbol_x, not L.

18 years ago* sysdeps/gnu/net/if.h (IFF_DYNAMIC): New macro.
Roland McGrath [Sat, 25 Feb 2006 11:11:15 +0000 (11:11 +0000)]
* sysdeps/gnu/net/if.h (IFF_DYNAMIC): New macro.

18 years ago* configure.in: Use sparc/sparc32/sparcv9/sparcv9b in place
Roland McGrath [Sat, 25 Feb 2006 03:37:24 +0000 (03:37 +0000)]
* configure.in: Use sparc/sparc32/sparcv9/sparcv9b in place

of sparc/sparc32/sparcv9b.
* configure: Regenerated.
* sysdeps/sparc/sparc32/sparcv9b/Implies: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: File removed.

18 years ago* elf/elf.h (HWCAP_SPARC_BLKINIT): New macro.
Roland McGrath [Sat, 25 Feb 2006 01:57:49 +0000 (01:57 +0000)]
* elf/elf.h (HWCAP_SPARC_BLKINIT): New macro.

* sysdeps/sparc/dl-procinfo.h (HWCAP_IMPORTANT): Add it.
(_DL_HWCAP_COUNT): Increase to 7.
* sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add "v9v".
From David S. Miller <davem@sunset.davemloft.net>.

18 years agoTypo fix.
Roland McGrath [Sat, 25 Feb 2006 01:52:14 +0000 (01:52 +0000)]
Typo fix.

(HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64].

18 years ago* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ...
Roland McGrath [Sat, 25 Feb 2006 01:29:59 +0000 (01:29 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ...

* sysdeps/sparc/dl-procinfo.c: ... here, new file.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Moved to ...
* sysdeps/sparc/dl-procinfo.h: ... here, new file.
(HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE__ != 64].
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: File removed.

2006-02-18  Joseph S. Myers  <joseph@codesourcery.com>

* soft-fp/single.h (SFtype): Define.
(union _FP_UNION_S): Use it.
* soft-fp/double.h (DFtype): Define.
(union _FP_UNION_D): Use it.
* soft-fp/extended.h (XFtype): Define.
(union _FP_UNION_E): Use it.
* soft-fp/quad.h (TFtype): Define.
(union _FP_UNION_Q): Use it.
* soft-fp/soft-fp.h: Add _LIBC conditionals.
(SI_BITS, DI_BITS): Define.
* soft-fp/op-common.h (_FP_DECL): Add __attribute__((unused)) for
X##_c.
(_FP_CMP_EQ): Use parentheses for && inside ||.
(_FP_TO_INT): Use statement expressions in conditional controlling
constant shift.
(_FP_FROM_INT): Likewise.  Take unsigned type as argument.
* soft-fp/op-2.h (_FP_FRAC_SLL_2, _FP_FRAC_SRL_2, _FP_FRAC_SRST_2,
_FP_FRAC_SRS_2, _FP_FRAC_ASSEMBLE_2): Use statement expressions in
conditional controlling possibly constant shift.
(_FP_FRAC_SRST_2, _FP_FRAC_SRS_2): Avoid left shift by exactly
_FP_W_TYPE_SIZE.
(_FP_FRAC_GT_2, _FP_FRAC_GE_2): Use parentheses for && inside ||.
* soft-fp/op-4.h (_FP_FRAC_SRST_4): Avoid left shift by exactly
_FP_W_TYPE_SIZE.
(__FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
__FP_FRAC_SUB_4): Use _FP_W_TYPE for carry flags.
* soft-fp/op-8.h (_FP_FRAC_SRS_8): Avoid left shift by exactly
_FP_W_TYPE_SIZE.
* soft-fp/floatdidf.c: Pass unsigned type and macro for type size.
* soft-fp/floatdisf.c: Likewise.
* soft-fp/floatditf.c: Likewise.
* soft-fp/floatsidf.c: Likewise.
* soft-fp/floatsisf.c: Likewise.
* soft-fp/floatsitf.c: Likewise.
* soft-fp/floatundidf.c: Likewise.
* soft-fp/floatundisf.c: Likewise.
* soft-fp/floatunditf.c: Likewise.
* soft-fp/floatunsidf.c: Likewise.
* soft-fp/floatunsisf.c: Likewise.
* soft-fp/floatunsitf.c: Likewise.
* soft-fp/fixdfdi.c: Pass macro for type size.
* soft-fp/fixdfsi.c: Likewise.
* soft-fp/fixsfdi.c: Likewise.
* soft-fp/fixsfsi.c: Likewise.
* soft-fp/fixtfdi.c: Likewise.
* soft-fp/fixtfsi.c: Likewise.
* soft-fp/fixunsdfdi.c: Likewise.
* soft-fp/fixunsdfsi.c: Likewise.
* soft-fp/fixunssfdi.c: Likewise.
* soft-fp/fixunssfsi.c: Likewise.
* soft-fp/fixunstfdi.c: Likewise.
* soft-fp/fixunstfsi.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtqux.c: Pass unsigned type.
* sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise.
* sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise.
* soft-fp/adddf3.c: Use typedefs for argument and return types.
        * soft-fp/addsf3.c: Likewise.
        * soft-fp/addtf3.c: Likewise.
        * soft-fp/divdf3.c: Likewise.
        * soft-fp/divsf3.c: Likewise.
        * soft-fp/divtf3.c: Likewise.
        * soft-fp/eqdf2.c: Likewise.
        * soft-fp/eqsf2.c: Likewise.
        * soft-fp/eqtf2.c: Likewise.
        * soft-fp/extenddftf2.c: Likewise.
        * soft-fp/extendsfdf2.c: Likewise.
        * soft-fp/extendsftf2.c: Likewise.
        * soft-fp/fixdfdi.c: Likewise.
        * soft-fp/fixdfsi.c: Likewise.
        * soft-fp/fixsfdi.c: Likewise.
        * soft-fp/fixsfsi.c: Likewise.
        * soft-fp/fixtfdi.c: Likewise.
        * soft-fp/fixtfsi.c: Likewise.
        * soft-fp/fixunsdfdi.c: Likewise.
        * soft-fp/fixunsdfsi.c: Likewise.
        * soft-fp/fixunssfdi.c: Likewise.
        * soft-fp/fixunssfsi.c: Likewise.
        * soft-fp/fixunstfdi.c: Likewise.
        * soft-fp/fixunstfsi.c: Likewise.
        * soft-fp/floatdidf.c: Likewise.
        * soft-fp/floatdisf.c: Likewise.
        * soft-fp/floatditf.c: Likewise.
        * soft-fp/floatsidf.c: Likewise.
        * soft-fp/floatsisf.c: Likewise.
        * soft-fp/floatsitf.c: Likewise.
        * soft-fp/floatundidf.c: Likewise.
        * soft-fp/floatundisf.c: Likewise.
        * soft-fp/floatunditf.c: Likewise.
        * soft-fp/floatunsidf.c: Likewise.
        * soft-fp/floatunsisf.c: Likewise.
        * soft-fp/floatunsitf.c: Likewise.
        * soft-fp/gedf2.c: Likewise.
        * soft-fp/gesf2.c: Likewise.
        * soft-fp/getf2.c: Likewise.
        * soft-fp/ledf2.c: Likewise.
        * soft-fp/lesf2.c: Likewise.
        * soft-fp/letf2.c: Likewise.
        * soft-fp/muldf3.c: Likewise.
        * soft-fp/mulsf3.c: Likewise.
        * soft-fp/multf3.c: Likewise.
        * soft-fp/negdf2.c: Likewise.
        * soft-fp/negsf2.c: Likewise.
        * soft-fp/negtf2.c: Likewise.
        * soft-fp/sqrtdf2.c: Likewise.
        * soft-fp/sqrtsf2.c: Likewise.
        * soft-fp/sqrttf2.c: Likewise.
        * soft-fp/subdf3.c: Likewise.
        * soft-fp/subsf3.c: Likewise.
        * soft-fp/subtf3.c: Likewise.
        * soft-fp/truncdfsf2.c: Likewise.
        * soft-fp/trunctfdf2.c: Likewise.
        * soft-fp/trunctfsf2.c: Likewise.
        * soft-fp/unorddf2.c: Likewise.
        * soft-fp/unordsf2.c: Likewise.
        * soft-fp/unordtf2.c: Likewise.

2006-02-09  Joseph S. Myers  <joseph@codesourcery.com>

* soft-fp/op-common.h (_FP_UNPACK_SEMIRAW): Define.
(_FP_OVERFLOW_SEMIRAW): Likewise.
(_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
(_FP_CHOOSENAN_SEMIRAW): Likewise.
(_FP_EXP_NORMAL): Likewise.
(_FP_PACK_SEMIRAW): Likewise.
(_FP_ADD_INTERNAL): Rewrite to operate on semi-raw value.
(_FP_SUB): Likewise.
(_FP_TO_INT): Rewrite to operate on raw values.  Don't set INVALID
exception for conversions where most negative representable
integer is correct truncated value, but do set INEXACT for such
conversions where appropriate.  Don't always left-shift for
converting to a wider integer.
(_FP_FROM_INT): Rewrite to yield raw value.  Correct shift for
integers with one more bits than (mantissa + guard) bits for the
floating point format.  Don't use __FP_FRAC_SRS_1 for shifting
integers that may be wider than _FP_W_TYPE_SIZE.
(FP_CONV): Don't define.
(FP_EXTEND): Define.
(FP_TRUNC): Likewise.
* soft-fp/op-1.h (_FP_FRAC_SRST_1, __FP_FRAC_SRST_1): Define.
(_FP_FRAC_CONV_1_1): Don't define.
(_FP_FRAC_COPY_1_1): Define.
* soft-fp/op-2.h (_FP_FRAC_SRST_2): Define.
(_FP_FRAC_CONV_1_2, _FP_FRAC_CONV_2_1): Don't define.
(_FP_FRAC_COPY_1_2, _FP_FRAC_COPY_2_1): Define.
* soft-fp/op-4.h (_FP_FRAC_SRST_4): Define.
(_FP_FRAC_SRS_4): Define based on _FP_FRAC_SRST_4.
(_FP_FRAC_CONV_1_4, _FP_FRAC_CONV_2_4): Don't define.
(_FP_FRAC_COPY_1_4, _FP_FRAC_COPY_2_4): Define.
(_FP_FRAC_CONV_4_1, _FP_FRAC_CONV_4_2): Don't define.
(_FP_FRAC_COPY_4_1, _FP_FRAC_COPY_4_2): Define.
* soft-fp/single.h (_FP_FRACTBITS_S): Define.
(_FP_FRACXBITS_S): Define in terms of _FP_FRACXBITS_S.
(_FP_WFRACXBITS_S): Likewise.
(_FP_QNANBIT_SH_S, _FP_IMPLBIT_SH_S): Define.
(FP_UNPACK_SEMIRAW_S, FP_UNPACK_SEMIRAW_SP): Define.
(FP_PACK_SEMIRAW_S, FP_PACK_SEMIRAW_SP): Define.
* soft-fp/double.h (_FP_QNANBIT_SH_D, _FP_IMPLBIT_SH_D): Define.
(FP_UNPACK_SEMIRAW_D, FP_UNPACK_SEMIRAW_D): Define
(FP_PACK_SEMIRAW_D, FP_PACK_SEMIRAW_DP): Define.
* soft-fp/extended.h (_FP_QNANBIT_SH_E, _FP_IMPLBIT_SH_E): Define.
(FP_UNPACK_EP): Correct typo.
(FP_UNPACK_SEMIRAW_E, FP_UNPACK_SEMIRAW_EP): Define.
(FP_PACK_SEMIRAW_E, FP_PACK_SEMIRAW_EP): Define.
* soft-fp/quad.h (_FP_QNANBIT_SH_Q, _FP_IMPLBIT_SH_Q): Define.
(FP_UNPACK_SEMIRAW_Q, FP_UNPACK_SEMIRAW_QP): Define.
(FP_PACK_SEMIRAW_Q, FP_PACK_SEMIRAW_QP): Define.
* soft-fp/fixdfdi.c: Use unsigned type for result of conversion.
* soft-fp/fixdfsi.c: Likewise.
* soft-fp/fixsfdi.c: Likewise.
* soft-fp/fixsfsi.c: Likewise.
* soft-fp/fixtfdi.c: Likewise.
* soft-fp/fixtfsi.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise.
* sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
* soft-fp/adddf3.c: Update for changed soft-fp interfaces.
* soft-fp/addsf3.c: Likewise.
* soft-fp/addtf3.c: Likewise.
* soft-fp/extenddftf2.c: Likewise.
* soft-fp/extendsfdf2.c: Likewise.
* soft-fp/extendsftf2.c: Likewise.
* soft-fp/fixdfdi.c: Likewise.
* soft-fp/fixdfsi.c: Likewise.
* soft-fp/fixsfdi.c: Likewise.
* soft-fp/fixsfsi.c: Likewise.
* soft-fp/fixtfdi.c: Likewise.
* soft-fp/fixtfsi.c: Likewise.
* soft-fp/fixunsdfdi.c: Likewise.
* soft-fp/fixunsdfsi.c: Likewise.
* soft-fp/fixunssfdi.c: Likewise.
* soft-fp/fixunssfsi.c: Likewise.
* soft-fp/fixunstfdi.c: Likewise.
* soft-fp/fixunstfsi.c: Likewise.
* soft-fp/floatdidf.c: Likewise.
* soft-fp/floatdisf.c: Likewise.
* soft-fp/floatditf.c: Likewise.
* soft-fp/floatsidf.c: Likewise.
* soft-fp/floatsisf.c: Likewise.
* soft-fp/floatsitf.c: Likewise.
* soft-fp/floatundidf.c: Likewise.
* soft-fp/floatundisf.c: Likewise.
* soft-fp/floatunditf.c: Likewise.
* soft-fp/floatunsidf.c: Likewise.
* soft-fp/floatunsisf.c: Likewise.
* soft-fp/floatunsitf.c: Likewise.
* soft-fp/subdf3.c: Likewise.
* soft-fp/subsf3.c: Likewise.
* soft-fp/subtf3.c: Likewise.
* soft-fp/truncdfsf2.c: Likewise.
* soft-fp/trunctfdf2.c: Likewise.
* soft-fp/trunctfsf2.c: Likewise.
* sysdeps/alpha/soft-fp/ots_add.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtqux.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvttx.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtxt.c: Likewise.
* sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise.
* sysdeps/alpha/soft-fp/ots_sub.c: Likewise.
* sysdeps/powerpc/soft-fp/q_add.c: Likewise.
* sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
* sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
* sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_add.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_sub.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise.

18 years ago* elf/sofini.c (__FRAME_END__): Mark as const.
Roland McGrath [Fri, 24 Feb 2006 22:57:38 +0000 (22:57 +0000)]
* elf/sofini.c (__FRAME_END__): Mark as const.

* elf/soinit.c (__EH_FRAME_BEGIN__): Likewise.  Add used attribute.

18 years ago* descr.h (struct pthread): Add final member `end_padding'.
Roland McGrath [Fri, 24 Feb 2006 07:29:01 +0000 (07:29 +0000)]
* descr.h (struct pthread): Add final member `end_padding'.

(PTHREAD_STRUCT_END_PADDING): Use it.

2006-02-20  Roland McGrath  <roland@redhat.com>

* sysdeps/mips: Directory removed, saved in ports repository.
* sysdeps/unix/sysv/linux/mips: Likewise.

18 years ago* include/libc-symbols.h: Fix comment typo.
Roland McGrath [Fri, 24 Feb 2006 03:27:16 +0000 (03:27 +0000)]
* include/libc-symbols.h: Fix comment typo.

From Peter Kjellerstedt <peter.kjellerstedt@axis.com>.

18 years ago[BZ #2172]
Roland McGrath [Thu, 23 Feb 2006 22:50:36 +0000 (22:50 +0000)]
[BZ #2172]

* sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail"
label is always used.

[BZ #2172]
* bits/syslog-path.h: New file.
* misc/Makefile (headers): Add it.
* misc/sys/syslog.h: Include it.
(_PATH_LOG): Macro removed.
From Robert Millan <robertmh@gnu.org>.

18 years ago* sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation
Roland McGrath [Thu, 23 Feb 2006 22:34:40 +0000 (22:34 +0000)]
* sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation

in misc/, not posix/.
Reported by David S. Miller <davem@davemloft.net>.

2006-02-23  Jakub Jelinek  <jakub@redhat.com>

* posix/sched_yield.c (__sched_yield): Add libc_hidden_def.
* sysdeps/mach/sched_yield.c (__sched_yield): Likewise.

18 years ago* po/libc.pot: Regenerated.
Roland McGrath [Wed, 22 Feb 2006 10:03:04 +0000 (10:03 +0000)]
* po/libc.pot: Regenerated.

2006-02-22  Jakub Jelinek  <jakub@redhat.com>

* nis/ypclnt.c (yperr_string, ypbinderr_string): Add N_()
around string literals.

18 years ago* nscd/selinux.c (audit_init): Print error string in the failure
Roland McGrath [Wed, 22 Feb 2006 07:30:15 +0000 (07:30 +0000)]
* nscd/selinux.c (audit_init): Print error string in the failure

message.

18 years ago* sysdeps/unix/sysv/linux/kernel-features.h
Roland McGrath [Wed, 22 Feb 2006 07:28:05 +0000 (07:28 +0000)]
* sysdeps/unix/sysv/linux/kernel-features.h

(__ASSUME_CLONE_THREAD_FLAGS): Consolidate definitions.

2006-02-03  Jakub Jelinek  <jakub@redhat.com>

* manual/filesys.texi (futimes): Fix prototype.

18 years ago* manual/filesys.texi (futimes): Fix prototype.
Roland McGrath [Wed, 22 Feb 2006 07:17:58 +0000 (07:17 +0000)]
* manual/filesys.texi (futimes): Fix prototype.

18 years ago[BZ #315]
Roland McGrath [Wed, 22 Feb 2006 06:58:11 +0000 (06:58 +0000)]
[BZ #315]

2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
[BZ #315]
* manual/memory.texi (Obstacks Data Alignment): The default
alignment is not 4: it is enough to hold any type of data.
Problem reported by Benno in
<http://sources.redhat.com/ml/libc-alpha/2004-08/msg00055.html>.

18 years ago* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Update comment, remove
Roland McGrath [Wed, 22 Feb 2006 05:49:01 +0000 (05:49 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Update comment, remove

__THROW from epoll_wait, to match .../linux/sys/epoll.h file.

18 years ago[BZ #2380]
Roland McGrath [Wed, 22 Feb 2006 05:37:23 +0000 (05:37 +0000)]
[BZ #2380]

bz tag
[BZ #2380]

18 years ago[BZ #2161]
Roland McGrath [Wed, 22 Feb 2006 02:55:10 +0000 (02:55 +0000)]
[BZ #2161]

2005-11-15  Robert Millan  <robertmh@gnu.org>
[BZ #2161]
* manual/llio.texi (read, write): Document EINVAL on unaligned access.

18 years ago* sysdeps/i386/i686/memset.S: Fix treatment of unaligned pointer.
Roland McGrath [Wed, 22 Feb 2006 02:39:11 +0000 (02:39 +0000)]
* sysdeps/i386/i686/memset.S: Fix treatment of unaligned pointer.

Reported by John Zulauf <john.zulauf@amd.com>.

18 years ago* configure.in (libc_cv_gcc_dwarf2_unwind_info): Delete.
Roland McGrath [Wed, 22 Feb 2006 02:09:08 +0000 (02:09 +0000)]
* configure.in (libc_cv_gcc_dwarf2_unwind_info): Delete.

(HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove AC_DEFINEs.
* configure: Regenerate.
* config.h.in (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove undefs.
* elf/soinit.c: Don't include gccframe.h.
(__EH_FRAME_BEGIN__): Define unconditionally.
(__register_frame_info, __deregister_frame_info)
(__register_frame_info_bases, __deregister_frame_info_bases)
(__register_frame, __deregister_frame): Remove declarations.
(__libc_global_ctors, __libc_fini): Don't call registry functions.
* elf/sofini.c (__EH_FRAME_END__): Define unconditionally.

18 years ago[BZ #2178]
Roland McGrath [Tue, 21 Feb 2006 02:33:00 +0000 (02:33 +0000)]
[BZ #2178]

2006-01-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
[BZ #2178]
* sysdeps/mach/hurd/getsid.c (getsid): When parameter PID is zero,
use _hurd_pid instead.

18 years ago[BZ #2329]
Roland McGrath [Tue, 21 Feb 2006 02:30:10 +0000 (02:30 +0000)]
[BZ #2329]

2006-02-20  Roland McGrath  <roland@redhat.com>
* sysdeps/mips: Directory removed, saved in ports repository.
* sysdeps/unix/mips: Likewise.
* sysdeps/unix/sysv/linux/mips: Likewise.
* sysdeps/mach/mips: Likewise.
* sysdeps/mach/hurd/mips: Likewise.
* shlib-versions: Remove mips matches, now in ports fragment.
* sysdeps/unix/sysv/linux/kernel-features.h: Likewise.
* configure.in (machine): Likewise.
* configure: Regenerated.
2006-02-15  Thomas Schwinge  <tschwinge@gnu.org>

[BZ #2329]
* include/unistd.h (__getresuid, __getresgid, __setresuid)
(__setresgid): Fix argument name order in prototypes.
* posix/unistd.h (getresuid, getresgid, setresuid, setresgid):
Likewise.
* posix/getresuid.c (__getresuid): Fix argument order in definition.
* posix/getresgid.c (__getresgid): Likewise.
* posix/setresuid.c (__setresuid): Likewise.
* posix/setresgid.c (__setresgid): Likewise.
* sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise.
* sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise.
* sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
* sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise.
Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.

18 years agoAmend log entry with omitted file.
Roland McGrath [Tue, 21 Feb 2006 01:35:36 +0000 (01:35 +0000)]
Amend log entry with omitted file.

* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.

18 years ago * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include ...
Richard Henderson [Mon, 20 Feb 2006 22:51:48 +0000 (22:51 +0000)]
    * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include         to math subdir.         * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h.         (__ieee754_sqrtl): Add _round local variable.         * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove.

        * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.
2006-02-20  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include
to math subdir.
* sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h.
(__ieee754_sqrtl): Add _round local variable.
* sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove.

* sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.

18 years ago* hurd/hurd/xattr.h: New file.
Roland McGrath [Mon, 20 Feb 2006 22:12:40 +0000 (22:12 +0000)]
* hurd/hurd/xattr.h: New file.

* hurd/xattr.c: New file.
* hurd/Makefile (routines): Add it.
* sysdeps/mach/hurd/fgetxattr.c: New file.
* sysdeps/mach/hurd/flistxattr.c: New file.
* sysdeps/mach/hurd/fremovexattr.c: New file.
* sysdeps/mach/hurd/fsetxattr.c: New file.
* sysdeps/mach/hurd/getxattr.c: New file.
* sysdeps/mach/hurd/lgetxattr.c: New file.
* sysdeps/mach/hurd/listxattr.c: New file.
* sysdeps/mach/hurd/lsetxattr.c: New file.
* sysdeps/mach/hurd/removexattr.c: New file.
* sysdeps/mach/hurd/setxattr.c: New file.

18 years ago* string/tester.c (test_strnlen): New function.
Roland McGrath [Mon, 20 Feb 2006 21:48:49 +0000 (21:48 +0000)]
* string/tester.c (test_strnlen): New function.

(test_strchr): Call it.
(test_strncat): Test lengths where the sign bit is set.
(test_strncmp): Likewise.

18 years agotypo
Roland McGrath [Mon, 20 Feb 2006 20:24:09 +0000 (20:24 +0000)]
typo

* pthreadP.h: Define PTHREAD_MUTEX_INCONSISTENT instead of

18 years ago* tst-robust1.c: Add second mutex to check that the mutex list is
Ulrich Drepper [Sat, 18 Feb 2006 08:41:57 +0000 (08:41 +0000)]
* tst-robust1.c: Add second mutex to check that the mutex list is

handled correctly.

18 years ago* include/atomic.h (atomic_and, atomic_or): Define.
Ulrich Drepper [Fri, 17 Feb 2006 18:52:09 +0000 (18:52 +0000)]
* include/atomic.h (atomic_and, atomic_or): Define.

18 years ago* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Add lll_robust_mutex_*
Ulrich Drepper [Fri, 17 Feb 2006 15:37:51 +0000 (15:37 +0000)]
* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Add lll_robust_mutex_*

definitions.
* sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: New file.

18 years ago* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
Ulrich Drepper [Fri, 17 Feb 2006 08:07:21 +0000 (08:07 +0000)]
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h

(lll_robust_mutex_unlock): Avoid unnecessary wakeups.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h
(lll_robust_mutex_unlock): Likewise.

18 years ago* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORK
Ulrich Drepper [Wed, 15 Feb 2006 18:14:59 +0000 (18:14 +0000)]
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORK

and MADV_DOFORK.
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.

18 years ago* sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,
Ulrich Drepper [Wed, 15 Feb 2006 17:20:33 +0000 (17:20 +0000)]
* sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,

__openat64_not_cancel): Remove prototypes.
(__openat_nocancel, __openat64_nocancel): New prototypes or defines.
(openat_not_cancel, openat_not_cancel_3, openat64_not_cancel,
openat64_not_cancel_3): Use them.

18 years ago* allocatestack.c (allocate_stack): Initialize robust_list.
Ulrich Drepper [Mon, 13 Feb 2006 01:27:41 +0000 (01:27 +0000)]
* allocatestack.c (allocate_stack): Initialize robust_list.

* init.c (__pthread_initialize_minimal_internal): Likewise.
* descr.h (struct xid_command): Pretty printing.
(struct pthread): Use __pthread_list_t or __pthread_slist_t for
robust_list.  Adjust macros.
* pthread_create.c (start_thread): Adjust robust_list handling.
* phtread_mutex_unlock.c: Don't allow unlocking from any thread
but the owner for all robust mutex types.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Define
__pthread_list_t and __pthread_slist_t.  Use them in pthread_mutex_t.
* sysdeps/pthread/pthread.h: Adjust mutex initializers.

18 years ago* sysdeps/unix/sysv/linux/i386/not-cancel.h: Define openat_not_cancel,
Ulrich Drepper [Sun, 12 Feb 2006 23:46:26 +0000 (23:46 +0000)]
* sysdeps/unix/sysv/linux/i386/not-cancel.h: Define openat_not_cancel,

        openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3.

18 years ago[BZ #2226]
Ulrich Drepper [Sun, 12 Feb 2006 21:41:44 +0000 (21:41 +0000)]
[BZ #2226]

2006-02-12  Ulrich Drepper  <drepper@redhat.com>
* io/ftw.c: Start using *at functions.
* io/ftw64.c: Likewise.

* sysdeps/generic/not-cancel.h: Define openat_not_cancel,
openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3.
* sysdeps/unix/sysv/linux/not-cancel.h: Likewise.

* sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel
functions.

* io/fxstatat.c: Add __fxstatat alias.
* sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstatat.c: Likewise.  Add support for
newfstatat syscall.
* sysdeps/unix/sysv/linux/i386/fxstatat.c: Add __fxstatat alias.
Add support for fstatat64 syscall.
* include/sys/stat.h: Declare __fxstatat.
* io/fxstatat64.c: Add __fxstatat64 alias.
* sysdeps/unix/sysv/linux/fxstatat64.c: Add support for fstatat64
syscall.

* dirent/fdopendir.c: Add __fdopendir alias.
* sysdeps/unix/fdopendir.c: Likewise.
* sysdeps/mach/hurd/fdopendir.c: Likewise.
* include/dirent.h: Add __fdopendir declaration.

[BZ #2226]
* libio/wgenops.c (_IO_wsetb): Use correct size of wide char
buffer in FREE_BUF call.

18 years ago* sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare.
Ulrich Drepper [Wed, 8 Feb 2006 18:25:19 +0000 (18:25 +0000)]
* sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare.

* sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export
unshare.
* sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall.

* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some
preprocessor magic so that the compiler won't see the prototypes
for the functions we are defining as stubs.

18 years ago* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_futex_wait,
Ulrich Drepper [Wed, 8 Feb 2006 15:33:47 +0000 (15:33 +0000)]
* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_futex_wait,

lll_futex_timedwait, lll_wait_tid): Add "memory" clobber.

18 years ago* io/ftw.c (ftw_startup): Use fchdir to return to original
Ulrich Drepper [Sun, 5 Feb 2006 21:19:53 +0000 (21:19 +0000)]
* io/ftw.c (ftw_startup): Use fchdir to return to original

directory for FTW_CHDIR.

18 years ago* manual/stdio.texi (Formatted Output Functions): Fix make_message
Ulrich Drepper [Sat, 4 Feb 2006 07:14:42 +0000 (07:14 +0000)]
* manual/stdio.texi (Formatted Output Functions): Fix make_message

example.  Patch by NIIBE Yutaka <gniibe@m17n.org>.

18 years agoFix make_message example.
Ulrich Drepper [Sat, 4 Feb 2006 07:12:54 +0000 (07:12 +0000)]
Fix make_message example.

18 years ago* structs.def: Add a descriptor for pointer.val field of dtv_t.
Roland McGrath [Sat, 4 Feb 2006 00:48:40 +0000 (00:48 +0000)]
* structs.def: Add a descriptor for pointer.val field of dtv_t.

* td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from
DTV slot.

18 years ago[BZ #2268]
Roland McGrath [Fri, 3 Feb 2006 22:28:47 +0000 (22:28 +0000)]
[BZ #2268]

2006-02-03  Roland McGrath  <roland@redhat.com>
[BZ #2268]
* sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose
timer interval, don't assume smallest possible interval is it.

* sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm
volatile.

18 years ago* stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
Roland McGrath [Fri, 3 Feb 2006 19:16:04 +0000 (19:16 +0000)]
* stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):

Guard with [__USE_SVID || __USE_XOPEN_EXTENDED].

* math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
prototype.

* math/math.h (__nldbl_nexttowardf): Put __THROW before
__attribute__ ((__const__)).
(__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
followed by __THROW.

18 years ago2006-02-03 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 3 Feb 2006 19:15:48 +0000 (19:15 +0000)]
2006-02-03  Jakub Jelinek  <jakub@redhat.com>

* math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
prototype.
* math/math.h (__nldbl_nexttowardf): Put __THROW before
__attribute__ ((__const__)).
(__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
followed by __THROW.

18 years ago* sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]
Ulrich Drepper [Fri, 3 Feb 2006 05:28:06 +0000 (05:28 +0000)]
* sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]

(futimesat): If file is NULL use __futimes.
* include/sys/time.h: Declare __futimes.

18 years ago[__NR_futimesat] (futimesat): If file is NULL use __futimes.
Ulrich Drepper [Fri, 3 Feb 2006 05:26:34 +0000 (05:26 +0000)]
[__NR_futimesat] (futimesat): If file is NULL use __futimes.

18 years agotypo
Roland McGrath [Thu, 2 Feb 2006 10:18:42 +0000 (10:18 +0000)]
typo

CFLAGS-rtld-strnlen.os): Likewise.

18 years ago* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same
Roland McGrath [Thu, 2 Feb 2006 10:16:17 +0000 (10:16 +0000)]
* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same

fstat check for ENOENT that should be EBADF as for ENOTDIR, and also
check for missing /proc the same way.

18 years ago* include/errno.h [__cplusplus]: Avoid extra header magic for C++.
Roland McGrath [Thu, 2 Feb 2006 09:38:03 +0000 (09:38 +0000)]
* include/errno.h [__cplusplus]: Avoid extra header magic for C++.

18 years ago* manual/install.texi (Tools for Compilation): Require gcc 3.4,
Roland McGrath [Thu, 2 Feb 2006 09:20:21 +0000 (09:20 +0000)]
* manual/install.texi (Tools for Compilation): Require gcc 3.4,

recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for
powerpc, s390{x,} with new long double.
* INSTALL: Regenerated.

18 years ago* timezone/private.h: Update from tzcode2006a.
Roland McGrath [Thu, 2 Feb 2006 09:03:52 +0000 (09:03 +0000)]
* timezone/private.h: Update from tzcode2006a.

* timezone/scheck.c: Likewise.
* timezone/asia: Update from tzdata2006a.
* timezone/northamerica: Likewise.
* timezone/zone.tab: Likewise.

18 years ago* sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable.
Roland McGrath [Thu, 2 Feb 2006 08:23:52 +0000 (08:23 +0000)]
* sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable.

(CFLAGS-mcount.c): Use it instead of -msoft-float.
* sysdeps/powerpc/powerpc64/elf/Makefile
(CFLAGS-dl-runtime.os, CFLAGS-dl-lookup.os, CFLAGS-dl-misc.os,
CFLAGS-rtld-mempcpy.os, CFLAGS-rtld-memmove.os, CFLAGS-rtld-memchr.os,
CFLAGS-rtld-strnlen.os): LIkewise

18 years ago* sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
Roland McGrath [Thu, 2 Feb 2006 07:34:00 +0000 (07:34 +0000)]
* sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding

-mlong-double-128 when it's already there.

18 years ago2006-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 2 Feb 2006 07:33:55 +0000 (07:33 +0000)]
2006-02-01  Roland McGrath  <roland@redhat.com>

* sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
-mlong-double-128 when it's already there.

18 years ago* sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise.
Ulrich Drepper [Thu, 2 Feb 2006 05:37:10 +0000 (05:37 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise.

18 years ago(intel_02_known): Add some more entries.
Ulrich Drepper [Thu, 2 Feb 2006 05:33:33 +0000 (05:33 +0000)]
(intel_02_known): Add some more entries.