Ulrich Drepper
7876272372
* libio/genops.c (_IO_unbuffer_write): Don't always free the
...
buffer. This is not necessary except in debug mode. If we don't
free the buffer but the FILE structure to a list.
(buffer_free): New function. Free buffers or tell _IO_unbuffer_write
to do so.
* libio/libio.h (struct _IO_FILE): Add new members to keep track
of which buffers have to be freed.
2006-01-11 07:55:51 +00:00
Ulrich Drepper
3370f2bd3d
* iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cache
...
is NULL.
2006-01-11 07:09:22 +00:00
Roland McGrath
2fd4de4b15
[BZ #321 ]
...
2005-10-14 Paul Eggert <eggert@cs.ucla.edu>
* malloc/obstack.c: Fix old comments. Update FSF snail mail address.
* malloc/obstack.h: Likewise.
[BZ #321 ]
Fix portability bugs encountered when porting to Itanium.
* malloc/obstack.h (obstack_empty_p, obstack_finish): Do not
assume that the "contents" member is suitably aligned. It is
not, for some hosts and alignments: e.g., Itanium, long-double.
* malloc/obstack.c (_obstack_begin, _obstack_begin_1,
_obstack_newchunk): Likewise.
* malloc/obstack.c: Include <stddef.h>, for size_t.
Include <inttypes.h>, <stdint.h> if needed and available.
(DEFAULT_ALIGNMENT): Now an enum constant, not a macro.
Use C89 offsetof rather than K&R trick.
Use the maximum alignment of uintmax_t, long double, void *
rather than the alignment of double.
(union fooround): Use uintmax_t, long double, void * members
rather than just long and double.
[BZ #321 ]
Fix portability bugs encountered when porting to the IBM iSeries,
where pointers are 256 bits wide and no integers are that wide.
* malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove.
All uses changed to:
(__BPTR_ALIGN, __PTR_ALIGN): New macros.
(struct _obstack_chunk.temp): Change from int to a union
of pointer and int. All uses changed.
[BZ #321 ]
* malloc/obstack.c (print_and_abort) [!_LIBC]:
Call fprintf (stderr, ...), not __fxprintf (NULL, ...).
[_LIBC && USE_IN_LIBIO]: Don't include <wchar.h>; no longer needed.
2006-01-11 05:43:11 +00:00
Roland McGrath
49a0ba2748
[BZ #1060 ]
...
2006-01-10 Derek Price <derek@ximbiot.com>
Paul Eggert <eggert@cs.ucla.edu>
[BZ #1060 ]
* posix/glob.c: Assume freestanding C89 compiler. Simplify cruft that
may be replaced with GNULIB modules. Make no attempt to find 64-bit
versions of file access functions directly when [!_LIBC].
Don't define GLOB_* macros here.
(DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK, DIRENT_MIGHT_BE_DIR): New
macros to abstract dirent->d_type access.
(GETPW_R_SIZE_MAX, GET_LOGIN_NAME_MAX): New macros to abstract sysconf
access.
2006-01-11 05:30:12 +00:00
Roland McGrath
04a8b3013f
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
...
(PTR_MANGLE): Fix cast.
2006-01-11 01:17:36 +00:00
Roland McGrath
a6811b4071
* timezone/test-tz.c: Revert last change, updating to match
...
tzdata2005r definition of "MST".
2006-01-10 20:38:30 +00:00
Ulrich Drepper
9e811b7f2a
* include/bits/setjmp.h: Don't include jmpbuf-offsets.h if _ISOMAC is
...
defined.
2006-01-10 20:23:08 +00:00
Andreas Jaeger
9e6c38d2c7
* include/time.h: Use normal comments.
...
2006-01-10 Andreas Jaeger <aj@suse.de>
* include/time.h: Use normal comments.
2006-01-10 19:46:49 +00:00
Roland McGrath
59de277f1d
* hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>.
...
* sysdeps/mach/hurd/jmp-unwind.c: Likewise.
2006-01-10 19:09:19 +00:00
Ulrich Drepper
debf73246a
* wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than
...
vswprintf recursively.
2006-01-10 18:18:07 +00:00
Ulrich Drepper
95a2c38996
* sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif.
2006-01-10 18:00:24 +00:00
Roland McGrath
d5d55e016b
* include/bits/setjmp.h: New file.
...
* setjmp/jmpbuf-offsets.h: New file.
* sysdeps/alpha/bits/setjmp.h: Move JB_* macros ...
* sysdeps/alpha/jmpbuf-offsets.h: ... here, new file.
* sysdeps/hppa/bits/setjmp.h (JB_SP): Macro moved ...
* sysdeps/hppa/jmpbuf-offsets.h: ... here, new file.
* sysdeps/i386/bits/setjmp.h: Move JB_* macros ...
* sysdeps/i386/jmpbuf-offsets.h: ... here, new file.
* sysdeps/mips/bits/setjmp.h (JB_PC): Macro removed.
* sysdeps/powerpc/bits/setjmp.h: Move JB_* macros ...
* sysdeps/powerpc/jmpbuf-offsets.h: ... here, new file.
* sysdeps/s390/bits/setjmp.h: Remove __JB_* macros.
* sysdeps/sh/bits/setjmp.h (JB_SIZE): Macro moved ...
* sysdeps/sh/jmpbuf-offsets.h: ... here, new file.
* sysdeps/sparc/sparc32/bits/setjmp.h: Move JB_* macros ...
* sysdeps/sparc/sparc32/jmpbuf-offsets.h: ... here, new file.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Remove JB_* macros.
* sysdeps/x86_64/bits/setjmp.h: Move JB_* macros ...
* sysdeps/x86_64/jmpbuf-offsets.h: ... here, new file.
2006-01-10 10:18:56 +00:00
Roland McGrath
0ca13e1412
* sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
...
* sysdeps/powerpc/jmpbuf-unwind.h: ... here.
* sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
* sysdeps/alpha/jmpbuf-unwind.h: ... here.
* sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
* sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here.
* sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
* sysdeps/i386/jmpbuf-unwind.h: ... here.
* sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
* sysdeps/x86_64/jmpbuf-unwind.h: ... here.
* sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
* sysdeps/sh/jmpbuf-unwind.h: ... here.
* sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
* sysdeps/hppa/jmpbuf-unwind.h: ... here, new file.
* sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
* sysdeps/mips/jmpbuf-unwind.h: ... here.
* sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
* sysdeps/m68k/jmpbuf-unwind.h: ... here, new file.
* sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
* sysdeps/s390/jmpbuf-unwind.h: ... here.
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
Move macro ...
* sysdeps/ia64/jmpbuf-unwind.h: ... here.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS):
Move macro ...
* sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here.
* sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/.
2006-01-10 08:54:22 +00:00
Roland McGrath
de59a29179
* sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/.
...
* sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/.
* sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/.
* sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/.
* sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/.
* sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/.
* sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/.
* sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/.
* sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/.
2006-01-10 08:23:51 +00:00
Roland McGrath
4d99c878ff
* sysdeps/linkmap.h: File removed.
2006-01-10 08:09:54 +00:00
Roland McGrath
53751fd5e5
* sysdeps/hppa/elf/start.S (_start): Use PLABEL32 relocations
...
by using LR and RR. Add %sr0 to iitlbp.
* timezone/private.h: Update from tzcode2005r.
* timezone/tzfile.h: Likewise.
* timezone/zdump.c: Likewise.
* timezone/zic.c: Likewise.
* timezone/africa: Update from tzdata2005r.
* timezone/antarctica: Likewise.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/systemv: Likewise.
2006-01-10 07:55:46 +00:00
Roland McGrath
69e094203a
* elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo,
...
so we depend on $(objpfx)reldepmod6.so as intended.
2006-01-10 01:46:43 +00:00
Ulrich Drepper
bc795d0b30
[BZ #2126 ]
...
* sysdeps/i386/i686/strtok.S: Store pointer to NUL byte if NULL is
returned.
* sysdeps/i386/strtok.S: Likewise.
* sysdeps/x86_64/strtok.S: Likewise.
* string/Makefile (tests): Add bug-strtok1.
* string/bug-strtok1.c: New file.
2006-01-10 00:25:07 +00:00
Ulrich Drepper
71ea167b1d
* elf/check-textrel.c (AB): Also check for writable and executable
...
segments.
2006-01-09 23:40:51 +00:00
Ulrich Drepper
8ff1624522
* sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from
...
const variables, gas produces garbage.
* sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
* sysdeps/ieee754/flt-32/e_expf.c: Likewise.
* sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2006-01-09 23:24:14 +00:00
Roland McGrath
ee05cd05be
more typos
...
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Use i386/lxstat.c.
2006-01-09 21:40:30 +00:00
Roland McGrath
51a8358869
typos
...
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c:
Use i386/fxstatat.c.
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstatat.c:
Use i386/lxstatat.c.
(__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define
2006-01-09 21:30:48 +00:00
Ulrich Drepper
add27d6620
* sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Use i386/xstat.c.
...
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: Use i386/fxstat.c.
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstatat.c: Use i386/lxstat.c.
(__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL) Don't define
2006-01-09 21:23:21 +00:00
Roland McGrath
931786ee34
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add
...
stack bias to mc_fp field.
* sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
(struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec.
(struct kernel_stat64): New type.
(_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1,
_HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4,
_HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2,
_HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2,
_HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4,
_HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2):
Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Include i386 version.
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat,
struct stat64): Add nsec resolution for 64-bit code like already done
for 32-bit code.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define
for sparc64.
(__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12
kernels.
* scripts/data/c++-types-sparc-linux-gnu.data: New file.
* scripts/data/c++-types-sparc64-linux-gnu.data: New file.
* scripts/data/c++-types-alpha-linux-gnu.data: Adjust.
2006-01-09 21:17:57 +00:00
Roland McGrath
aeb2153cd6
[BZ #1535 ]
...
* sysdeps/unix/get_child_max.c: New file.
* posix/get_child_max.c: New file.
* posix/Makefile (routines): Add it.
* include/sys/sysinfo.h (__get_child_max): Declare it.
* sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it.
2006-01-08 09:39:29 +00:00
Roland McGrath
9b12134354
* sysdeps/unix/sysv/linux/futimes.c [!__NR_fcntl && __NR_fcntl64]: Use
...
fcntl64 syscall instead.
2006-01-08 08:27:49 +00:00
Roland McGrath
7b1b6d57d0
* stdio-common/tst-fmemopen2.c (do_test): Add a cast.
...
* stdio-common/printf-parsemb.c (__find_specmb): Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
2006-01-08 08:24:11 +00:00
Roland McGrath
6ddd37a4b3
* sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in
...
#include for kernel-features.h.
* sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
* sysdeps/unix/sysv/linux/check_pf.c: Likewise.
* sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
* sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
* sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
* sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
* sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
* sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
* sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/futimes.c: Likewise.
* sysdeps/unix/sysv/linux/futimesat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/ifreq.c: Likewise.
* sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/fchownat.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mmap64.c: Likewise.
* sysdeps/unix/sysv/linux/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
* sysdeps/unix/sysv/linux/opendir.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/setegid.c: Likewise.
* sysdeps/unix/sysv/linux/seteuid.c: Likewise.
* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/syslog.c: Likewise.
* sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/utimes.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2006-01-08 08:21:40 +00:00
Roland McGrath
152d41c301
* po/libc.pot: Regenerated.
2006-01-08 06:52:38 +00:00
Roland McGrath
9de06f3c77
* po/.cvsignore: List libc.pot.files, and not any .pot names.
...
* manual/maint.texi (Porting): Don't mention Dist files.
* sysdeps/alpha/soft-fp/Dist: File removed.
* sysdeps/alpha/Dist: File removed.
* sysdeps/i386/i686/Dist: File removed.
* sysdeps/i386/soft-fp/Dist: File removed.
* sysdeps/i386/Dist: File removed.
* sysdeps/mips/soft-fp/Dist: File removed.
* sysdeps/mips/mips64/soft-fp/Dist: File removed.
* sysdeps/mips/mips64/Dist: File removed.
* sysdeps/mips/Dist: File removed.
* sysdeps/wordsize-32/Dist: File removed.
* sysdeps/m68k/fpu/switch/Dist: File removed.
* sysdeps/m68k/fpu/Dist: File removed.
* sysdeps/powerpc/powerpc64/Dist: File removed.
* sysdeps/powerpc/soft-fp/Dist: File removed.
* sysdeps/powerpc/powerpc32/fpu/Dist: File removed.
* sysdeps/powerpc/powerpc32/Dist: File removed.
* sysdeps/powerpc/fpu/Dist: File removed.
* sysdeps/powerpc/Dist: File removed.
* sysdeps/unix/common/Dist: File removed.
* sysdeps/unix/bsd/bsd4.4/Dist: File removed.
* sysdeps/unix/bsd/Dist: File removed.
* sysdeps/unix/sysv/linux/alpha/Dist: File removed.
* sysdeps/unix/sysv/linux/i386/Dist: File removed.
* sysdeps/unix/sysv/linux/mips/mips64/Dist: File removed.
* sysdeps/unix/sysv/linux/mips/Dist: File removed.
* sysdeps/unix/sysv/linux/m68k/Dist: File removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: File removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: File removed.
* sysdeps/unix/sysv/linux/powerpc/aix/Dist: File removed.
* sysdeps/unix/sysv/linux/powerpc/Dist: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/Dist: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: File removed.
* sysdeps/unix/sysv/linux/sparc/Dist: File removed.
* sysdeps/unix/sysv/linux/ia64/Dist: File removed.
* sysdeps/unix/sysv/linux/s390/s390-64/Dist: File removed.
* sysdeps/unix/sysv/linux/s390/Dist: File removed.
* sysdeps/unix/sysv/linux/s390/s390-32/Dist: File removed.
* sysdeps/unix/sysv/linux/sh/Dist: File removed.
* sysdeps/unix/sysv/linux/x86_64/Dist: File removed.
* sysdeps/unix/sysv/linux/hppa/Dist: File removed.
* sysdeps/unix/sysv/linux/Dist: File removed.
* sysdeps/unix/sysv/Dist: File removed.
* sysdeps/unix/Dist: File removed.
* sysdeps/generic/Dist: File removed.
* sysdeps/sparc/sparc32/soft-fp/Dist: File removed.
* sysdeps/sparc/sparc32/sparcv9/Dist: File removed.
* sysdeps/sparc/sparc32/sparcv8/Dist: File removed.
* sysdeps/sparc/sparc32/Dist: File removed.
* sysdeps/sparc/sparc64/soft-fp/Dist: File removed.
* sysdeps/sparc/sparc64/Dist: File removed.
* sysdeps/sparc/Dist: File removed.
* sysdeps/gnu/Dist: File removed.
* sysdeps/ia64/fpu/Dist: File removed.
* sysdeps/ia64/Dist: File removed.
* sysdeps/mach/mips/Dist: File removed.
* sysdeps/mach/hurd/alpha/Dist: File removed.
* sysdeps/mach/hurd/i386/Dist: File removed.
* sysdeps/mach/hurd/mips/Dist: File removed.
* sysdeps/mach/hurd/powerpc/Dist: File removed.
* sysdeps/mach/hurd/Dist: File removed.
* sysdeps/s390/s390-64/Dist: File removed.
* sysdeps/s390/Dist: File removed.
* sysdeps/s390/s390-32/Dist: File removed.
* sysdeps/sh/Dist: File removed.
* sysdeps/posix/Dist: File removed.
* sysdeps/ieee754/dbl-64/Dist: File removed.
* sysdeps/ieee754/ldbl-128/Dist: File removed.
* sysdeps/ieee754/flt-32/Dist: File removed.
* sysdeps/ieee754/Dist: File removed.
* sysdeps/x86_64/soft-fp/Dist: File removed.
* sysdeps/x86_64/Dist: File removed.
* sysdeps/hppa/Dist: File removed.
* Makerules (common-clean): Don't remove distinfo file.
($(objpfx)distinfo): Target removed.
* manual/Makefile (mostlyclean): Don't remove distinfo file.
(glibc-targets): Remove echo-distinfo.
* scripts/list-sources.sh: New file.
* Makefile (TAGS): New target.
* po/Makefile (libc.pot, libc.pot.files): New targets.
* Makeconfig (XGETTEXT): New variable.
* Makerules ($(..)po/%.pot): Rule removed.
(TAGS): Target removed.
* Rules (subdir_TAGS): Target removed.
* MakeTAGS: File removed.
* Makefile (iconvdata/% localedata/% po/% manual/%): Depend on FORCE.
* Makeconfig ($(all-Depend-files)): New targets with no-op commands.
2006-01-08 06:46:10 +00:00
Roland McGrath
ca3d773e19
[BZ #2119 ]
...
2004-08-03 Marco Gerards <marco@gnu.org>
[BZ #2119 ]
* sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro.
2006-01-07 23:29:45 +00:00
Ulrich Drepper
38cbcf0a37
* stdio-common/tstdiomisc.c (F): Use NAN to get NaN value.
2006-01-07 22:04:22 +00:00
Ulrich Drepper
a7e915610a
* elf/tst-tls8.c (do_test): Use $ORIGIN in module names.
...
2006-01-03 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/generic/sysdep.h (cfi_same_value): Define macro.
* sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve,
_dl_profile_resolve): Add CFI directives for stack and LR save.
Save LR in LRSAVE of previous frame per ABI.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives
for LR save.
* sysdeps/powerpc/powerpc32/lshift.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
(__makecontext, __novec_makecontext): Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive
for LR save to register.
* sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive
for stack.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
* sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack
and LR save.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Don't use
negative stack addressing.
* sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
_dl_profile_resolve): Add CFI directives for stack and LR save.
* sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives
for stack.
* sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI
directives for stack and LR save.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI
directives for stack.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI
directives for stack.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
(__getcontext, __novec_getcontext): Add CFI directives for stack
and LR save.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
(__makecontext): Add CFI directives for stack and LR save.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
(__setcontext, __novec_setcontext): Add CFI directives for stack
and LR save.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
(__swapcontext, __novec_swapcontext): Add CFI directives for stack
and LR save.
2006-01-07 03:58:05 +00:00
Ulrich Drepper
ae4ad00acb
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h.
...
(SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid
the need of .register directive for it.
* configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset
2047 instead of 0 in the test on sparc64.
2006-01-06 23:07:16 +00:00
Ulrich Drepper
ced368f7dc
* scripts/check-c++-types.sh: Add more pthread types.
...
* scripts/data//c++-types-i386-linux-gnu.data: Adjust.
* scripts/data//c++-types-ia64-linux-gnu.data: Likewise.
* scripts/data//c++-types-powerpc-linux-gnu.data: Likewise.
* scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise.
* scripts/data//c++-types-s390-linux-gnu.data: Likewise.
* scripts/data//c++-types-s390x-linux-gnu.data: Likewise.
* scripts/data//c++-types-x86_64-linux-gnu.data: Likewise.
2006-01-06 22:58:39 +00:00
Ulrich Drepper
cbbbb1887f
* sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS):
...
Adjust for private->__private rename in tcbhead_t.
2006-01-06 22:27:53 +00:00
Ulrich Drepper
74158740ea
[BZ #2114 ]
...
* ncsd/aicache.c: Don't use sendfile for records on the stack.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/initgrcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
Patch by dmueller@suse.com .
2006-01-06 19:15:13 +00:00
Ulrich Drepper
eb4f408100
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE.
...
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2006-01-06 18:11:20 +00:00
Roland McGrath
9a2f485b8c
typo
...
2006-01-05 Mike Frysinger <vapier@gentoo.org>
2006-01-06 13:01:06 +00:00
Roland McGrath
c913bb2cc4
* Makeconfig (+gnu-stabs): Remove ancient cruft.
2006-01-06 12:44:01 +00:00
Roland McGrath
ca2e078f95
[BZ #2103 ]
...
* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro
name (was typo ARPHDR_HWX25).
(ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros.
(ARPHRD_VOID, ARPHRD_NONE): New macros.
2006-01-06 12:27:03 +00:00
Roland McGrath
4aa019cb00
* sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
2006-01-06 12:15:49 +00:00
Roland McGrath
d15b99ac5a
* io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.
...
* posix/unistd.h [__USE_ATFILE]: Declare faccessat.
* io/faccessat.c: New file.
* sysdeps/unix/sysv/linux/faccessat.c: New file.
* io/Makefile (routines): Add faccessat.
* io/Versions (libc: GLIBC_2.4): Likewise.
* io/tst-faccessat.c: New file.
* io/Makefile (tests): Add it.
* io/sys/stat.h: Likewise.
2006-01-06 12:14:26 +00:00
Roland McGrath
030219826e
* scripts/check-local-headers.sh: Revert last change.
2006-01-06 12:02:26 +00:00
Roland McGrath
cb483e04aa
* io/euidaccess.c: Add eaccess as an alias.
...
* sysdeps/mach/hurd/euidaccess.c: Likewise.
* sysdeps/posix/euidaccess.c: Likewise.
* posix/unistd.h [__USE_GNU]: Declare eaccess.
* io/Versions (libc: GLIBC_2.4): Add eaccess.
2006-01-06 11:22:10 +00:00
Roland McGrath
e7b8c7bc73
* soft-fp/Makefile (gcc-single-routines): Add unordsf2,
...
floatunsisf, floatundisf.
(gcc-double-routines): Add unorddf2, floatunsidf, floatundidf.
(gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf.
* soft-fp/op-common.h (_FP_CMP_UNORD): Define.
* soft-fp/single.h (FP_CMP_UNORD_S): Define.
* soft-fp/double.h (FP_CMP_UNORD_D): Define.
* soft-fp/quad.h (FP_CMP_UNORD_Q): Define.
* soft-fp/extended.h (FP_CMP_UNORD_E): Define.
* soft-fp/unordsf2.c: New file.
* soft-fp/unorddf2.c: New file.
* soft-fp/unordtf2.c: New file.
* soft-fp/floatunsisf.c: New file.
* soft-fp/floatundisf.c: New file.
* soft-fp/floatunsidf.c: New file.
* soft-fp/floatundidf.c: New file.
* soft-fp/floatunsitf.c: New file.
* soft-fp/floatunditf.c: New file.
2006-01-06 10:47:57 +00:00
Roland McGrath
0d86378f95
* soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz,
...
__builtin_clzl and __builtin_clzll.
2006-01-06 10:37:39 +00:00
Roland McGrath
d719443fee
* include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
2006-01-06 09:56:05 +00:00
Ulrich Drepper
e7ebabedca
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
...
Only define for 2.6.12+ on s390{,x}.
(__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches
and only for 2.6.11+ on s390{,x}.
2006-01-06 07:30:36 +00:00
Ulrich Drepper
b957e86420
* rt/Makefile (tests): Add tst-aio9 and tst-aio10.
...
* rt/tst-aio10.c: New file.
2006-01-06 04:13:26 +00:00
Ulrich Drepper
679d83bac2
* sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]
...
(struct waitlist): Don't add cond.
* sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP]
(__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal.
* sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't
use condvar, use AIO_MISC_WAIT.
* sysdeps/pthread/lio_listio.c: Likewise.
* rt/Makefile (tests): Add aio_suspend.
* rt/tst-aio9.c: New file.
2006-01-06 03:08:04 +00:00
Ulrich Drepper
17041e4ff0
* rt/tst-aio3.c: The thread is now supposed to be created.
2006-01-05 22:44:54 +00:00
Roland McGrath
0b8f25bbca
* include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
...
it or _GNU_SOURCE is defined.
* io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
[__USE_GNU].
* libio/stdio.h: Likewise.
* posix/unistd.h: Likewise.
* time/sys/time.h: Likewise.
2006-01-05 12:25:42 +00:00
Roland McGrath
c90c5d4106
* io/sys/stat.h [__USE_GNU]: Declare fchmodat.
...
* io/fchmodat.c: New file.
* io/Makefile (routines): Add fchmodat.
* io/Versions (libc: GLIBC_2.4): Likewise.
* sysdeps/unix/sysv/linux/fchmodat.c: New file.
* io/tst-fchmodat.c: New file.
* io/Makefile (tests): Add it.
2006-01-05 10:32:47 +00:00
Ulrich Drepper
9759bbf188
* sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
...
directive to ENTRY macros.
(END): Add cfi_endproc directive to END macro.
* sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
directive to ENTRY macros.
(END, END_GEN_TB): Add cfi_endproc directive to END macros.
* sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for
_dl_start_user and _dl_main_dispatch.
* sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro.
* sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise.
* sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
* sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
* sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
* sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant
cfi_startproc and cfi_endproc.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2006-01-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/aio_misc.h (struct waitlist): Add result member.
* sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters,
failed I/O, and a result pointer, set value to -1.
* sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL.
* sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in
wait list to local variable result. If nonzero afterwards, set errno
to EIO. For LIO_NOWAIT set result to NULL.
* rt/Makefile (tests): Add tst-aio8.
* rt/tst-aio8.c: New file.
2006-01-04 20:05:05 +00:00
Roland McGrath
8e856b5a9a
* abi-tags (*-.*-syllable.*): New match, with ABI value 5.
...
* elf/cache.c (print_entry): Match the Syllable ABI tag.
2006-01-04 17:14:58 +00:00
Ulrich Drepper
db59b28bdd
* include/stdlib.h: Make even more C++ compliant.
2006-01-04 09:26:31 +00:00
Ulrich Drepper
b268486e60
type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
2006-01-04 07:36:31 +00:00
Andreas Jaeger
44115e991f
Update.
...
2006-01-04 Joseph S. Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use
__SYSCALL_CLOBBERS.
2006-01-04 06:46:59 +00:00
Ulrich Drepper
943db9eb64
* configure.in (HAVE_LIBAUDIT): Check
...
audit_log_user_avc_message instead of audit_log_avc.
2006-01-04 Joseph S. Myers <joseph@codesourcery.com>
* sysdeps/ieee754/bits/nan.h: Fix typo.
2006-01-04 06:26:39 +00:00
Ulrich Drepper
b01fe5f792
* sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.
...
* sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused
define.
* sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add
{,u}atomic*_t typedefs.
(__sparc32_atomic_do_lock): Add __volatile and memory clobber.
(__sparc32_atomic_do_unlock): Add memory barrier.
(__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
[!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
(__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
__v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
__v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
atomic_exchange_24_rel): Define.
[SHARED] (atomic_exchange_and_add): Define.
[!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
[!SHARED] (_dl_hwcap): New weak decl.
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel,
atomic_compare_and_exchange_val_24_acq): Define.
* sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel,
atomic_compare_and_exchange_val_24_acq): Define.
2006-01-04 00:20:45 +00:00
Ulrich Drepper
6d3aff23e2
lio_listio should emit an event for each individual request in
...
addition to the global event.
* sysdeps/pthread/lio_listio.c (lio_listio): Renamed to
lio_listio_internal. Remove mode parameter check. Only set sigevent
type ti SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
(__lio_listio_21): New function. Compatiblity version which sets
LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
(__lio_listio_item_notify): New function.
* sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and
__lio_listio_item_notify macros.
* sysdeps/pthread/Versions: New file.
* rt/tst-aio2.c: Adjust test for new semantics of lio_listio.
* include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT.
* Versions.def: Add GLIBC_2.4 for librt.
* rt/Versions: Whitespace fix.
* sysdeps/pthread/aio_misc.c: Likewise.
2006-01-03 23:19:03 +00:00
Ulrich Drepper
1c50f6b660
* nscd/connections.c (nscd_init): Remove if block which should
...
have been removed as part of the -S option removal.
2006-01-03 21:29:11 +00:00
Andreas Jaeger
5e1f32525a
* scripts/check-local-headers.sh: Allow $includedir/c++.
...
2006-01-03 Andreas Jaeger <aj@suse.de>
* scripts/check-local-headers.sh: Allow $includedir/c++.
2006-01-03 19:00:59 +00:00
Ulrich Drepper
35c2fd59ba
* posix/unistd.h (ctermid): Remove __nonnull attribute.
2006-01-03 16:13:21 +00:00
Ulrich Drepper
305bb37e1e
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
...
PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE,
PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64]
(_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp.
* sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp
and %o7.
* sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp
and %o7.
2006-01-02 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2):
Define.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2):
Likewise.
* sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15.
* sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
* sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15.
* sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf
struct tag to make C++ happy.
2006-01-02 Ulrich Drepper <drepper@redhat.com>
* posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
the include list.
2006-01-02 20:57:43 +00:00
Ulrich Drepper
cc792128be
* posix/getconf.c: Update copyright year.
...
* nss/getent.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.
* debug/catchsegv.sh: Likewise.
* resolv/res_debug.c (latlon2ul): Use ISO C function definition.
(getanswer): Use ISO C function definition.
2006-01-01 19:18:49 +00:00
Andreas Jaeger
fd63cc3ba8
[BZ #1395 ]
...
* manual/filesys.texi (Symbolic Links): Fix description of
canonicalize_file_name based on patch by Oskar Liljeblad
<oskar@osk.mine.nu>.
2005-12-31 Andreas Jaeger <aj@suse.de>
[BZ #1395 ]
* manual/filesys.texi (Symbolic Links): Fix description of
canonicalize_file_name based on patch by Oskar Liljeblad
<oskar@osk.mine.nu>.
2005-12-31 13:11:27 +00:00
Ulrich Drepper
db0a00d3aa
* resolv/res_debug.c (latlon2ul): Use ISO C function declaration.
...
(precsize_aton): Likewise.
(precsize_ntoa): Likewise.
* resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype.
(gethostbyname2): Likewise.
(gethostbyaddr): Likewise.
(getanswer): Use ISO C function declaration.
2005-12-30 22:47:37 +00:00
Ulrich Drepper
3ddf7149f0
* sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.
...
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/sh/_mcount.S: Add cfi instrumentation.
* sysdeps/unix/sh/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc.
* sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate
cfi_startproc and cfi_endproc.
* sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.
2005-12-30 22:17:53 +00:00
Ulrich Drepper
5ad7714494
* sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard
...
value doesn't survive in a registers when the function returns.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2005-12-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
PTR_MANGLE2.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
PTR_MANGLE2 and PTR_DEMANGLE2.
* sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2005-12-30 Ulrich Drepper <drepper@redhat.com>
2005-12-30 21:04:04 +00:00
Ulrich Drepper
b36205c4ab
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
...
Don't use _demangle parameter for now.
2005-12-30 18:29:30 +00:00
Ulrich Drepper
b5352f2d51
[BZ #2080 ]
...
* libio/iogetwline.c (_IO_getwline_info): Move return to correct
location.
2005-12-30 18:09:21 +00:00
Ulrich Drepper
fd83714aa0
* nscd/connections.c: Remove last remnants of -S option support.
...
* nscd/nscd.c: Likewise.
* nscd/nscd.h: Likewise.
2005-12-30 16:53:24 +00:00
Andreas Jaeger
08be1ea824
[BZ #1067 ]
...
2005-12-30 Andreas Jaeger <aj@suse.de>
[BZ #1067 ]
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
for 64-bit mips kernel.
2005-12-30 09:28:00 +00:00
Ulrich Drepper
8c2e201ba9
2005-12-08 Steven Munroe <sjmunroe@us.ibm.com>
...
Tom Gall <tom_gall@vnet.ibm.com>
* elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map.
* sysdeps/powerpc/elf/libc-start.c: Move this...
* sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here.
* sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label.
* sysdeps/powerpc/powerpc32/hp-timing.h: New file.
* sysdeps/unix/sysv/linux/powerpc/Versions: New file.
* sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL
is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to
INTERNAL_SYSCALL and INLINE_SYSCALL respectively. Otherwise include
<bits/libc-vdso.h>. Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead
of the normal versions throughout the code.
* sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if
HAVE_CLOCK_GETTIME_VSYSCALL is defined.
* sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file.
* sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file.
* sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file.
* sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO.
* sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS,
INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL,
and HAVE_CLOCK_GETTIME_VSYSCALL.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2005-12-30 07:32:48 +00:00
Ulrich Drepper
4e54d7e476
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:
...
Define PTR_DEMANGLE2.
* sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also
mangle r1.
* sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also
demangle r1.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle
r0 and r1.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]:
Demangle r0 and r1.
2005-12-29 22:03:36 +00:00
Ulrich Drepper
8a422e9efd
* sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also
...
mangle r1.
* sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also
demangle r1.
2005-12-29 21:16:24 +00:00
Ulrich Drepper
c50ce9a464
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:
...
Move common function to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S:
Move common function to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S:
Move common function to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym
(_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1,
_FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4):
Remove unrelated stack frame defines.
2005-12-29 21:10:34 +00:00
Ulrich Drepper
099cf5dba2
* stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):
...
Defining as macro as before the last change.
2005-12-29 18:00:11 +00:00
Ulrich Drepper
8b4f159823
* sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,
...
include the named file.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2005-12-29 16:34:57 +00:00
Roland McGrath
1d02865b2d
* sysdeps/mach/hurd/errno.c: New file.
...
* sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.
2005-12-29 10:51:20 +00:00
Roland McGrath
8ad684db49
* sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
...
* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast.
* hurd/report-wait.c (_S_msg_report_wait): Likewise.
* include/sys/xattr.h: New file.
2005-12-29 10:38:16 +00:00
Ulrich Drepper
62a8cefb90
* nscd/selinux.c (log_callback): Use audit_log_user_avc_message.
...
Don't do anything if audit_fd is invalid.
(audit_init): Don't complain if kernel support is missing.
Patch by Steve Grubb <sgrubb@redhat.com>.
2005-12-29 01:09:00 +00:00
Roland McGrath
8c7a8501d1
* hurd/sigunwind.c: Include <stdint.h>.
...
* sysdeps/mach/hurd/jmp-unwind.c: Likewise.
2005-12-28 20:40:09 +00:00
Ulrich Drepper
272b289859
* sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack
...
pointer. Add CFI.
* sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer.
* sysdeps/i386/bsd-setjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
2005-12-28 19:13:20 +00:00
Ulrich Drepper
4973f31953
* sysdeps/x86_64/__longjmp.S: No need to make sure return value is
...
!= 0, the caller did that.
2005-12-28 16:49:48 +00:00
Ulrich Drepper
ebef0bd6aa
* sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading
...
mangled values in %rbp and %rsp registers and by wrong cfi.
2005-12-28 16:37:29 +00:00
Roland McGrath
ef226fecbe
* config.make.in (c++-sysincludes): New substituted variable.
...
* configure.in (CXX_SYSINCLUDES): New substituted variable.
* configure: Regenerated.
* Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.
2005-12-28 06:53:43 +00:00
Roland McGrath
db169ed561
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
...
(PTR_MANGLE): Fix cast.
* sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
DEMANGLE, and pass SP value through it.
* sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise.
* sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline
demangler function to _JMPBUF_UNWINDS.
* sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function.
(_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
2005-12-28 05:42:30 +00:00
Roland McGrath
0317eaecb1
* posix/tst-execle1.c (do_test): Add a const.
...
* posix/tst-execle2.c (do_test): Likewise.
* posix/transbug.c (run_test): Add some casts.
* posix/bug-regex22.c (main): Likewise.
* posix/bug-regex5.c (main): Likewise.
* wcsmbs/tst-mbsrtowcs.c (main): Likewise.
* string/test-strspn.c (do_test, do_random_tests): Likewise.
* string/test-strrchr.c (do_test, do_random_tests): Likewise.
* string/test-strlen.c (do_random_tests): Likewise.
* string/test-strpbrk.c (do_test, do_random_tests): Likewise.
* string/test-strcmp.c (do_random_tests): Likewise.
* string/test-strchr.c (do_test, do_random_tests): Likewise.
* string/test-strcat.c (do_test, do_random_tests): Likewise.
* string/test-strncpy.c (do_random_tests): Likewise.
* string/test-strcpy.c (do_test, do_random_tests): Likewise.
* string/test-memccpy.c (do_test): Likewise.
* string/test-memmove.c (do_test, do_random_tests): Likewise.
* string/test-memcpy.c (do_test, do_random_tests): Likewise.
* string/test-memcmp.c (do_test, do_random_tests): Likewise.
* string/test-memchr.c (do_test, do_random_tests): Likewise.
* dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast.
* stdio-common/tst-fgets.c (do_test): Add a cast.
* iconvdata/bug-iconv4.c (xiconv): Add a cast.
* locale/programs/simple-hash.c (insert_entry_2): Remove useless casts.
* resolv/herror.c (herror): Remove unused extern decl.
* libio/obprintf.c: Include "strfile.h".
* elf/order2mod2.c (init): Cast ignored value to void.
* stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long
2005-12-27 22:50:12 +00:00
Ulrich Drepper
285a709ace
* elf/tst-tls13.c (do_test): Avoid using the library path when
...
looking for tst-tlsmod13a.so.
2005-12-27 22:29:27 +00:00
Ulrich Drepper
11f685f5d8
* stdio-common/tstdiomisc.c: If FLT_EVEL_METHOD is 2 use long
...
double math to generate NaN results.
2005-12-27 21:45:22 +00:00
Ulrich Drepper
bfffffaee3
* sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD
...
and ENOTRECOVERABLE if not already defined.
* sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise.
2005-12-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat
entry for up to 138 errnos.
2005-12-27 15:27:09 +00:00
Ulrich Drepper
1911b455dc
* iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct
...
before calling it.
2005-12-27 David S. Miller <davem@sunset.davemloft.net>
* sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat
entry for up to 134 errnos.
2005-12-27 15:06:33 +00:00
Ulrich Drepper
1bcfb5a5eb
* Versions.def: Add GLIBC_2.4 for libpthread.
2005-12-27 01:04:06 +00:00
Ulrich Drepper
08f60b258e
* stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so
...
that $(..)/bits is not found early.
2005-12-25 19:19:20 +00:00
Ulrich Drepper
d4d138a4d9
* manual/errno.texi: Add new Linux errno codes.
...
* sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry
for up to 132 errnos.
2005-12-24 21:12:00 +00:00
Ulrich Drepper
9333ed0d58
* sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
...
ENOTRECOVERABLE if not already defined.
2005-12-24 20:07:27 +00:00
Ulrich Drepper
9256e5794f
[BZ #1566 ]
...
2005-12-23 Ulrich Drepper <drepper@redhat.com>
[BZ #1566 ]
* sysdeps/i386/i586/memusage.h: New file.
* sysdeps/i386/memusage.h: Don't define GETTIME.
2005-12-23 15:29:25 +00:00