Andreas Jaeger
8881b13276
* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and PowerPC.
2002-01-17 17:20:03 +00:00
Ulrich Drepper
310970c627
Fix regexp to reliably remove "-ia64" from rtld name.
2002-01-17 06:44:55 +00:00
Ulrich Drepper
fa831e8f1c
Update.
2002-01-17 00:47:26 +00:00
Ulrich Drepper
541e0e9620
swapcontext implementation for S390.
2002-01-17 00:46:11 +00:00
Ulrich Drepper
268090dfe7
We need different files for 32 and 64 bits.
2002-01-17 00:44:15 +00:00
Ulrich Drepper
3c8d17cb7e
Regenerated: autoconf sysdeps/unix/sysv/linux/configure.in
2002-01-12 01:43:16 +00:00
Ulrich Drepper
ac4ddec1ba
Add framestate.
2002-01-12 01:42:50 +00:00
Ulrich Drepper
44662670eb
s390-64 specific profile counter definitions.
2002-01-12 01:42:33 +00:00
Ulrich Drepper
a710437e19
s390-32 specific profile counter definitions.
2002-01-12 01:42:17 +00:00
Ulrich Drepper
49b0393f42
Need different versions for 31 and 64 bit machines.
2002-01-12 01:41:23 +00:00
Ulrich Drepper
93a6348b16
(__brk): Correct inline assembly contraints.
2002-01-12 01:40:40 +00:00
Ulrich Drepper
6dee5db02d
(libc_cv_gcc_unwind_find_fde): Set for s390 and s390x architectures.
2002-01-12 01:40:17 +00:00
Ulrich Drepper
ffd03ced90
(__ieee754_sqrt): Don't use multi-line string literals.
...
(__full_ieee754_sqrt): Add __attribute_used__.
2002-01-11 01:03:31 +00:00
Ulrich Drepper
5128ccc6e5
(__group_member): Also check groups[0].
2002-01-11 01:02:18 +00:00
Ulrich Drepper
bee8401f6f
Add ldd-rewrite.sed.
2002-01-08 21:37:02 +00:00
Ulrich Drepper
d2c4f682c0
Add sysv_termio.h and start-libc.c.
2002-01-08 21:34:59 +00:00
Ulrich Drepper
c0357983b9
Additional files to distribute for 4.4BSD.
2002-01-08 21:33:26 +00:00
Roland McGrath
ce12c9ffa2
2002-01-07 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use
volatile on type of ARGC so the compiler doesn't get clever.
2002-01-08 19:54:56 +00:00
Andreas Jaeger
d99126e6ef
Prevent double inclusion.
2002-01-08 10:20:28 +00:00
Ulrich Drepper
03f7b19e08
(execute_cfa_program): Fix DW_CFA_restore handling.
2002-01-08 06:30:43 +00:00
Ulrich Drepper
a608efe0cb
(__register_frame_info_bases): Optimize if .eh_frame section contains no FDEs.
...
(__register_frame, __deregister_frame_info_bases, __deregister_frame): Likewise.
2002-01-08 06:30:23 +00:00
Ulrich Drepper
dedaac22e2
Special unwind code for glibc-gcc interoperability.
2002-01-08 06:29:53 +00:00
Ulrich Drepper
106be30c1e
(getloadavg): Always use C locale to parse /proc/loadavg.
2001-12-31 17:44:02 +00:00
Ulrich Drepper
71614e31fb
(clone): Subtract stack bias from child stack pointer before passing it to
...
clone syscall.
2001-12-19 00:21:31 +00:00
Andreas Jaeger
d46d6ca3db
Merge from mainline.
2001-12-14 15:56:38 +00:00
Ulrich Drepper
261e312c01
(cuserid): If we don't find the UID, but have a user supplied buffer, return
...
the empty buffer, not NULL.
2001-12-14 07:02:32 +00:00
Roland McGrath
088af173bf
2001-12-10 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we never
set it.
2001-12-11 05:06:49 +00:00
Roland McGrath
8961b4b9a0
2001-12-10 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde):
Fix conditionals so this is set by default for stdio and not for libio.
* sysdeps/mach/hurd/configure: Regenerated.
2001-12-11 04:29:56 +00:00
Ulrich Drepper
41ab4177b4
(glob): Return only pattern if nothing matches and GLOB_NOCHECK is set.
2001-12-10 23:54:18 +00:00
Ulrich Drepper
f2fc51ea22
(__ieee754_remainder): Fix overflow problem.
2001-12-05 18:53:42 +00:00
Roland McGrath
4da0c639d1
2001-12-01 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
missing backslash in test arguments.
* sysdeps/mach/hurd/configure: Regenerated.
2001-12-02 00:11:20 +00:00
Ulrich Drepper
f47a6ad7db
(next_brace_sub): Return NULL if braces don't match, fix {{a,b},c} globbing,
...
clean up.
2001-11-29 21:55:01 +00:00
Ulrich Drepper
67675fdae9
(fflush): Define to _IO_flush_all_lockp(0) if libio is used.
2001-11-28 23:37:01 +00:00
Ulrich Drepper
c85587506e
(__signbitf, __signbit, __signbitl): Only define for ISO C99.
2001-11-28 21:13:08 +00:00
Andreas Jaeger
9f2a264a97
Merge from mainline.
2001-11-26 12:44:35 +00:00
Andreas Jaeger
5224e27c9e
* include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
...
compilers that support it.
* posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* stdlib/stdlib.h: Likewise.
2001-11-19 10:12:15 +00:00
Andreas Jaeger
35aab52634
(__erfcl): Fix K&R header.
2001-11-16 20:19:31 +00:00
Ulrich Drepper
5ff4a0aa78
Update.
...
2001-11-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes.
2001-11-16 01:43:09 +00:00
Ulrich Drepper
74bd2300b5
Update.
...
2001-10-02 Jakub Jelinek <jakub@redhat.com>
H.J. Lu <hjl@gnu.org>
* configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc
if gcc supports this flag.
(EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it.
(gcc3): Allow glibc to be compiled with gcc 3.x.
* config.h.in (EXPORT_UNWIND_FIND_FDE): Add.
* config.make.in (static-libgcc, unwind-find-fde): Add.
* Makerules (build-shlib-helper, build-module-helper): Use it.
* scripts/versions.awk: Make sure GLIBC_ versions come first.
* elf/soinit.c (__libc_global_ctors): Set tbases and dbases if
necessary.
(_fini): Call __deregister_frame_info_bases if
__register_frame_info_bases was used to register.
* elf/Versions (__register_frame_info, __deregister_frame_info): Add
for GLIBC_2.0.
(__register_frame_info_bases, __register_frame_info_table_bases,
__deregister_frame_info_bases, _Unwind_Find_FDE): Add for GLIBC_2.2.5.
* elf/Makefile (routines): Add unwind-dw2-fde.
(shared-only-routines): Add unwind-dw2-fde.
* sysdeps/alpha/gccframe.h: New file.
* sysdeps/arm/gccframe.h: New file.
* sysdeps/generic/framestate.c: New file.
* sysdeps/generic/dwarf2.h: New file.
* sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0.
* sysdeps/generic/unwind-dw2-fde.c: New file.
* sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file.
* sysdeps/generic/unwind-dw2-fde.h: New file.
* sysdeps/generic/unwind-dw2.c: New file.
* sysdeps/generic/unwind-pe.h: New file.
* sysdeps/generic/unwind.h: New file.
* sysdeps/hppa/gccframe.h: New file.
* sysdeps/i386/gccframe.h: New file.
* sysdeps/m68k/gccframe.h: New file.
* sysdeps/mips/gccframe.h: New file.
* sysdeps/powerpc/gccframe.h: New file.
* sysdeps/s390/gccframe.h: New file.
* sysdeps/sh/gccframe.h: New file.
* sysdeps/sparc/gccframe.h: New file.
* sysdeps/vax/gccframe.h: New file.
* sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
Set on all architectures except ia64.
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set
for i386.
* sysdeps/mach/hurd/i386/Versions (__register_frame_info,
__deregister_frame_info): Move to elf/Versions.
* sysdeps/unix/sysv/linux/m68k/Versions: Likewise.
* sysdeps/unix/sysv/linux/arm/Versions: Likewise.
* sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
* sysdeps/unix/sysv/linux/i386/Versions: Likewise.
* sysdeps/unix/sysv/linux/mips/Versions: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
* sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file.
* sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file.
* sysdeps/generic/strnlen.c: New file.
2001-11-16 01:27:24 +00:00
Roland McGrath
27114e2046
* stdio-common/tmpfile.c: Moved to ...
...
* sysdeps/generic/tmpfile.c: ... here.
* sysdeps/mach/hurd/tmpfile.c: New file.
* hurd/fopenport.c (__fopenport): Renamed from fopenport.
[USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie.
(fopenport): Define as weak alias.
* libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
* libio/libioP.h: ... to here.
2001-11-13 10:07:33 +00:00
Ulrich Drepper
9d63abbc7f
Update.
...
2001-11-10 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object_from_fd): Remove use of
_dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro.
* sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro.
* elf/dl-reloc.c (_dl_relocate_object): Likewise.
2001-11-10 22:47:40 +00:00
Andreas Jaeger
76321a2576
Update.
...
2001-11-10 Andreas Jaeger <aj@suse.de>
* sysdeps/ieee754/ldbl-128/e_log2l.c: New file.
* sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
Contributed by Stephen L Moshier <moshier@mediaone.net>.
2001-11-10 10:39:05 +00:00
Andreas Jaeger
4a568eb978
128-bit long double implementation of e_log2.
2001-11-10 10:38:27 +00:00
Roland McGrath
7d0c582398
Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.
...
* NEWS: Mention it.
* sysdeps/mach/hurd/powerpc/exc2signal.c: New file.
* sysdeps/mach/hurd/powerpc/init-first.c: New file.
* sysdeps/mach/hurd/powerpc/intr-msg.h: New file.
* sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file.
* sysdeps/mach/hurd/powerpc/register-dump.h: New file.
* sysdeps/mach/hurd/powerpc/sigreturn.c: New file.
* sysdeps/mach/hurd/powerpc/static-start.S: New file.
* sysdeps/mach/hurd/powerpc/trampoline.c: New file.
* sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file.
* sysdeps/mach/hurd/powerpc/Dist: New file.
2001-11-10 00:37:59 +00:00
Andreas Schwab
682f31ba6f
New file to fix RLIM_INFINITY.
2001-11-09 19:57:55 +00:00
Ulrich Drepper
40b07f5b94
Update.
...
* sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and
HWCAP_CHECK macro code.
* elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit.
Now returns MAP_FAILED on error.
* elf/rtld.c: Adjust caller.
* sysdeps/generic/dl-cache.c: Likewise.
* sysdeps/generic/ldsodefs.h: Adjust description.
2001-11-08 01:48:57 +00:00
Ulrich Drepper
dd7a9e89f4
(DL_DEBUG_HELP): New macro.
2001-11-06 20:15:40 +00:00
Roland McGrath
b1ac1b8c3c
* sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h
...
instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h.
2001-11-06 10:59:17 +00:00
Roland McGrath
fc8bbaf0c1
2001-11-06 Roland McGrath <roland@frob.com>
...
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
sysdeps/powerpc/elf/sysdep.h.
Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
2001-11-06 10:56:56 +00:00
Ulrich Drepper
c95f3fd42e
Update.
...
* elf/elf.h: Add dynamic tag definitions for prelinking.
* elf/rtld.c (process_envvars): Avoid using array of string pointers.
Rewrite code to remove environment varables for SUID binaries.
Small optimization in LD_PROFILE handling.
* sysdeps/generic/unsecvars.h: Adjust format for process_envvars
changes.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
* sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.
2001-11-06 00:16:32 +00:00