Commit Graph

7345 Commits

Author SHA1 Message Date
Roland McGrath 6461e57784 * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line
entries in the map file match too.
2003-03-13 21:51:07 +00:00
Andreas Jaeger 6fde8d5325 Update.
2003-03-13  Guido Guenther  <agx@sigxcpu.org>

	* sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local
	label .Lthread_start since current binutils don't allow branches
	to globally visible symbols.
2003-03-13 15:07:26 +00:00
Ulrich Drepper b5ec56172d Update.
2003-03-13  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN,
	ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3,
	ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define.
	(INTERNAL_SYSCALL, INLINE_SYSCALL): Use it.  Make syscall arguments
	clobbered by the syscall.
	(ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5,
	ASM_ARGS_6): Change constraints from r to index of corresponding
	output register.
	* sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap
	ptid and ctid to match kernel.
	* sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise.

	* sysdeps/powerpc/powerpc64/elf/configure.in: Remove
	* sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
2003-03-13 04:41:39 +00:00
Roland McGrath 3cd698527d 2003-03-12 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc64/elf/configure.in: Remove
	AC_DEFINE(PI_STATIC_AND_HIDDEN).  Not supported for PowerPC64.
        * sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
2003-03-12 21:40:02 +00:00
Roland McGrath d63609a7b6 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
Check SYM_MAP rather than SYM as definedness check.
	Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs.
	Don't handle R_PPC64_REL24 reloc.
	Mostly from Steven Munroe <sjmunroe@us.ibm.com>.

	* sysdeps/powerpc/powerpc64/dl-machine.h
	[USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a
	block, so we cover all the TPREL16* flavors without 6 ||s.
	[USE_TLS] (elf_machine_tprel): New function.
	(elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc,
	and handle TPREL16 relocs too.  Return rather than break for DTPREL64.
	Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
2003-03-12 07:45:15 +00:00
Ulrich Drepper b874af9995 Update.
2003-03-11  Ralf Baechle  <ralf@linux-mips.org>

	* sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal
	instead of jalr to invoke subroutine so restoring the $gp register
	will work properly.
2003-03-12 01:06:30 +00:00
Ulrich Drepper 6c477888ca Update.
2003-03-11  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define
	to __NR_pread if not defined.
	(__NR_pwrite64): Define to __NR_pwrite if not defined.
2003-03-11 19:40:00 +00:00
Ulrich Drepper f006d3a007 Update.
* sysdeps/unix/sysv/linux/ia64/system.c: New file.
	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with
	kernel >= 2.5.64.

2003-03-11  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
2003-03-11 19:02:26 +00:00
Roland McGrath b33e61633a * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1,
allocate space even for the trailing '/'.
	Reported by John Reiser <jreiser@BitWagon.com>.

	* sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6,
	ASM_CLOBBERS_6): Define.
	(ASM_CLOBBERS_5): Use ASM_CLOBBERS_6.
	* sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments
	to match IA-32 order.
	* sysdeps/unix/sysv/linux/i386/clone.S: Fix comment.
2003-03-11 09:30:37 +00:00
Roland McGrath 19afbd2cfd 2003-03-10 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
	Copy extra params for NPTL to registers used in clone syscall.
2003-03-10 21:04:45 +00:00
Roland McGrath ce2290cba4 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system
call names for pread and pwrite.
2003-03-10 19:21:23 +00:00
Roland McGrath d38c777e8d * dlfcn/Makefile (libdl-routines): Add dladdr1.
* dlfcn/dladdr1.c: New file.
	* dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
	[__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
	* elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
	a const ElfNN_Sym ** to fill in.
	* include/dlfcn.h: Update decl.  Include <link.h>.
	* dlfcn/dladdr.c (dladdr): Update caller.
	* malloc/mtrace.c (tr_where): Likewise.
	* sysdeps/generic/elf/backtracesyms.c: Likewise.
	* sysdeps/generic/elf/backtracesymsfd.c: Likewise.
	* dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
	* Versions.def (libdl): Define GLIBC_2.3.3 set.
2003-03-10 10:01:35 +00:00
Roland McGrath e48f96382f * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
assembler command.
	* sysdeps/unix/Makefile (compile-syscall): New variable.
	Pass -g0 to compiler for assembling syscall stubs from stdin.

	* sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO]
	(STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END):
	Define these to do nothing.

	* configure.in: New check for -g on .S files.
	* configure: Regenerated.
	* config.make.in (have-cpp-asm-debuginfo): New variable.
	* config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
	* Makeconfig (ASFLAGS): New variable, if undefined and
	$(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
	* Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
2003-03-10 09:11:13 +00:00
Roland McGrath fcc60e3b83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args
used by NPTL on new kernels.  From Paul Mackerras <paulus@samba.org>.

	* rt/tst-aio7.c (do_test): Give BUFF permanent extent, too.
2003-03-10 08:52:41 +00:00
Ulrich Drepper c37cae9e8a Update.
* po/da.po: Likewise.
2003-03-09 23:59:21 +00:00
Ulrich Drepper 8049ef7857 Update.
* po/ca.po: Likewise.
2003-03-09 22:52:20 +00:00
Ulrich Drepper e51838c8b5 Update.
2003-03-09  Ulrich Drepper  <drepper@redhat.com>

	* po/fi.po: Update from translation team.
2003-03-09 17:48:04 +00:00
Ulrich Drepper 05ae97d81d Update.
2003-03-08  Ulrich Drepper  <drepper@redhat.com>

	* rt/tst-aio7.c (do_test): Change BYTES into a #define.
2003-03-08 18:56:15 +00:00
Ulrich Drepper 35457070d2 Update.
* rt/tst-aio7.c (do_test): Give buff permanent extend, too.
2003-03-07 22:23:23 +00:00
Ulrich Drepper b6b9ee9bcb Update.
2003-03-07  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
2003-03-07 21:22:27 +00:00
Roland McGrath 6326c93cfd * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.
* sysdeps/s390/s390-64/sysdep.h (L): Likewise.
2003-03-07 10:07:23 +00:00
Andreas Jaeger 2090a1d0d3 update.
2003-03-04  Guido Guenther  <agx@sigxcpu.org>

	* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
	stubs, we have INLINE_SYSCALL.
	* sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
	MAP_NONBLOCK.
2003-03-07 09:48:51 +00:00
Roland McGrath 696efd11f3 * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1
permanent extent and add a comment about testing its implicit teardown.
2003-03-06 20:21:47 +00:00
Roland McGrath f1a56a2b95 * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope. 2003-03-06 19:17:05 +00:00
Ulrich Drepper 49400d0eab Update.
2003-03-05  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix
	reversed __builtin_expect expectation.
2003-03-06 07:13:01 +00:00
Roland McGrath 5fc728a23a * stdio-common/sscanf.c: Use prototype defn with ... syntax.
* libio/swscanf.c: Likewise.
	* libio/swprintf.c: Likewise.
2003-03-05 19:58:20 +00:00
Roland McGrath 790eed83d1 * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.
(elf_machine_rela): Always use RESOLVE_MAP, needed for
	R_PPC64_JMP_SLOT as well as TLS cases.
	(BIT_INSERT): Move parenthesis where it ought to have been.
	Reported by Steven Munroe <sjmunroe@us.ibm.com>.
2003-03-05 03:27:24 +00:00
Roland McGrath 510793fd95 * posix/confstr.c (confstr): Correct STRING_LEN values for
_CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing
	break.  Reported by Alexandre Julliard <julliard@winehq.com>.
2003-03-05 03:02:35 +00:00
Ulrich Drepper 0de28d5c71 Update.
2003-03-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
2003-03-04 23:01:30 +00:00
Ulrich Drepper e2b80a5802 Update.
* sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new
	clone parameters.
2003-03-04 19:46:28 +00:00
Ulrich Drepper a05be180bc Update.
* misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
2003-03-04 19:20:26 +00:00
Ulrich Drepper 269e8af716 Update.
2003-03-04  Ulrich Drepper  <drepper@redhat.com>

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

	    Ulrich Drepper  <drepper@redhat.com>
2003-03-04 18:38:38 +00:00
Andreas Jaeger 330a187b8f Update.
2003-03-04  Andreas Jaeger  <aj@suse.de>
	    Ulrich Drepper <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments.
2003-03-04 12:33:24 +00:00
Ulrich Drepper cc775edf2d Update.
* sysdeps/generic/dl-sysdep.h: Add double include protection.
2003-03-04 08:56:12 +00:00
Ulrich Drepper 7508154210 Update.
* po/tr.po: Update from translation team.
2003-03-04 04:22:47 +00:00
Ulrich Drepper 6fffb9a2c1 Update.
* elf/dl-load.c (_dl_map_object_from_fd): Determine whether there
	are holes between the segments.  Only call mprotect to set
	proection to PROT_NONE if there are some.

	* elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE.
	Update comment.
2003-03-04 00:10:34 +00:00
Ulrich Drepper 4f6f0a8fcf Update.
2003-03-03  Ulrich Drepper  <drepper@redhat.com>

	* include/sched.h (__clone2): Use ... instead of adding all the
	new parameters.
2003-03-03 22:02:13 +00:00
Roland McGrath 868b9d6a26 * elf/dl-load.c (struct filebuf): Fix typo in last change. 2003-03-03 21:23:04 +00:00
Roland McGrath ce78b460ea * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
PI_STATIC_AND_HIDDEN.
	* sysdeps/powerpc/powerpc32/elf/configure: Regenerated.
2003-03-03 21:21:00 +00:00
Ulrich Drepper 625f22fc7f Update.
2003-03-03  Ian Wienand  <ianw@gelato.unsw.edu.au>

	* sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone
	flags.
	* include/sched.h: Update clone2 prototype.
2003-03-03 19:53:27 +00:00
Ulrich Drepper 71502ebe1a Update.
2003-03-03  Andreas Jaeger  <aj@suse.de>

	* math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition.
	(llrint): Use it to correct return type.
	(lrint): Likewise.
	(lround): Likewise.
	(llround): Likewise.

	* po/gl.po: Likewise.
2003-03-03 19:41:03 +00:00
Ulrich Drepper 3c531a8761 Update.
* misc/Makefile (routines): Add remap_file_pages.
2003-03-03 19:34:52 +00:00
Ulrich Drepper ca97fb5325 Update.
* elf/dl-load.c (struct filebuf): For 64-bit platforms use 640
	byte filebuf size.
2003-03-03 19:08:31 +00:00
Ulrich Drepper 1739d26836 Update.
* libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor
	if ccs parameter isn't valid.  Reported by Andreas Schwab.

2003-03-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support
	for system call numbers > 255.
	* sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL,
	INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
	INTERNAL_SYSCALL): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL,
	INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
	INTERNAL_SYSCALL): Likewise.

2003-03-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv
	array if it is the initial dtv.

2003-03-03  Ulrich Drepper  <drepper@redhat.com>

	* po/es.po: Update from translation team.
	* po/fr.po: Likewise.
	* po/sk.po: Likewise.
	* po/sv.po: Likewise.
2003-03-03 18:36:14 +00:00
Ulrich Drepper d15a8404ef Update.
2003-03-03  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
	* misc/sys/mman.h: Add prototype for remap_file_pages.
	* sysdeps/generic/remap_file_pages.c: New file.

	* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
	and MAP_NONBLOCK.
	* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
	* sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.

	* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
2003-03-03 10:05:49 +00:00
Roland McGrath a49f57629f * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
* sysdeps/ia64/dl-machine.h: Likewise.
	* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
	argument type.
	* sysdeps/ia64/dl-lookupcfg.h: Update decl.

	* sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
	* sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
	* locale/Versions (libc: GLIBC_2.3): Move those to ...
	* sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
	* sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
	* Versions.def (libc): Add GLIBC_2.3.3 set.
2003-03-03 09:45:25 +00:00
Roland McGrath ea6a015bd7 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
* sysdeps/ia64/dl-machine.h: Update decl.
2003-03-03 08:44:46 +00:00
Andreas Jaeger 625845408e Update.
2003-03-03  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing
	brace.
2003-03-03 08:23:47 +00:00
Roland McGrath 78c3fb45c1 * scripts/abilist.awk: Reject data items with apparent 0 size.
* scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar
	after foo.* as if it were a duplicate.

	* sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.

	__ASSUME_POSIX_TIMERS for Linux 2.5.63 and up.
2003-03-03 07:43:09 +00:00
Ulrich Drepper 1be3d6642e Update.
* elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
2003-03-03 07:31:25 +00:00