Commit Graph

3228 Commits

Author SHA1 Message Date
Andreas Jaeger
10598c0f30 Merge from mainline. 2002-06-03 06:50:10 +00:00
Ulrich Drepper
aa928f79d2 Avoid using INTUSE. 2002-05-31 00:08:20 +00:00
Ulrich Drepper
a9555e1509 (process_elf_file): Give correct message when finding object of wrong class. 2002-05-31 00:03:01 +00:00
Ulrich Drepper
70ba7f76f0 (__moddi3): Fix pasto. 2002-05-30 23:59:11 +00:00
Ulrich Drepper
5ec0c64874 Define _internal aliases. 2002-05-21 02:18:21 +00:00
Ulrich Drepper
f5cb3df4c0 (LOAD_PIC_REG): Define.
(elf_machine_dynamic): Use it to force PIC register to be loaded.
(elf_machine_load_address): Likewise.
2002-05-21 02:18:04 +00:00
Ulrich Drepper
ac8fa81c1e When second argument pointer is unaligned, do not forget to fully initialize
%g1 magic value.
2002-05-21 02:17:33 +00:00
Ulrich Drepper
9f0b2bffcf Fix 64-bit elf register definitions and provide 32-bit variants of structures
during 64-bit builds.
2002-05-21 02:17:06 +00:00
Ulrich Drepper
f432e749d0 Build libgcc-compat and divdi3. 2002-05-21 00:28:35 +00:00
Ulrich Drepper
17b5aef5f3 Code to be re-exported. 2002-05-21 00:25:28 +00:00
Ulrich Drepper
9d4e563caf (fdim): Add __THROW.
(fdimf): Likewise.
2002-05-16 00:18:09 +00:00
Roland McGrath
a79fccef13 2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
        Allocate three, not two, more than LEN when appending '/.'.
        * sysdeps/mach/hurd/chroot.c (chroot): Likewise.  Don't check
        if NAME ends with '/.' if it is shorter than 2 chars.
2002-05-13 01:49:55 +00:00
Andreas Jaeger
1ddd6effc3 Merge from mainline. 2002-05-09 08:11:38 +00:00
Andreas Jaeger
dfea38e9f4 Merge from mainline. 2002-05-08 13:49:11 +00:00
Roland McGrath
adfce7a671 2002-04-29 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/configure.in: Set stdio=libio by default.
	* sysdeps/mach/hurd/configure: Regenerated.
2002-04-30 19:17:31 +00:00
Ulrich Drepper
04caa0acab (glob): Don't pass GLOB_NOMAGIC flag to glob_in_dir. 2002-04-29 04:26:37 +00:00
Roland McGrath
36d9a1779f 2002-04-28 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/sys/io.h: New file.
	* sysdeps/mach/hurd/i386/ioperm.c: New file.
	* sysdeps/mach/hurd/i386/Dist: Add them.
	* sysdeps/mach/hurd/i386/Versions
	(libc: GLIBC_2.2.6): New set, add ioperm.
	* sysdeps/mach/hurd/i386/Makefile [$(subdir) = misc]
	(sysdep_routines): Append ioperm here.
	(sysdep_headers): Append sys/io.h here.
	* sysdeps/mach/i386/configure.in: New file.
	Check to set HAVE_I386_IO_PERM_MODIFY.
	* config.h.in (HAVE_I386_IO_PERM_MODIFY): #undef it.
	* sysdeps/mach/i386/configure: New file.
	* mach/Makefile (user-interfaces): Add i386/mach_i386 to the list.
2002-04-28 20:09:03 +00:00
Ulrich Drepper
e2560b3364 Copied from i386/semctl.c.
(__old_semctl, __new_semctl): Only use va_arg if the argument will be used.
2002-04-26 20:35:02 +00:00
Ulrich Drepper
51b458612c Fix recovery code. 2002-04-26 07:53:32 +00:00
Ulrich Drepper
b0f8043480 Add getunwind for GLIBC_2.2.6. 2002-04-25 00:16:00 +00:00
Andreas Jaeger
6cc721dfbd Merge from mainline. 2002-04-22 11:54:03 +00:00
Andreas Jaeger
6b5f2c6212 Merge from mainline. 2002-04-22 05:59:13 +00:00
Roland McGrath
fe9b233f99 2002-04-19 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen.
2002-04-20 21:28:19 +00:00
Ulrich Drepper
395bae2fdc Adjust all callers of _dl_lookup_symbol and _dl_lookup_versioned_symbol. 2002-04-13 16:04:45 +00:00
Ulrich Drepper
d83a43e9af Adjust prototypes for _dl_lookup_symbol and _dl_lookup_versioned_symbol. 2002-04-13 16:03:45 +00:00
Ulrich Drepper
61b8e333c3 (LOC): Don't paste in a token. 2002-04-11 20:39:56 +00:00
Andreas Jaeger
76942fdab2 Merge with mainline. 2002-04-08 11:16:16 +00:00
Andreas Jaeger
d62747222a Merge with mainline. 2002-04-08 08:35:43 +00:00
Ulrich Drepper
c672e2d1da (TRAMPOLINE_TEMPLATE): Add unwind info.
(RTLD_START): Ditto.
(__ia64_init_bootstrap_fdesc_table): Insert stop bit to avoid RAW
dependency violation.
2002-04-05 23:27:31 +00:00
Ulrich Drepper
d1ea594e42 Don't overwrite r8 on error. 2002-04-05 16:42:57 +00:00
Andreas Jaeger
051139c2d2 Merge from mainline. 2002-04-04 11:01:00 +00:00
Andreas Jaeger
d59a10719b Merge from mainline. 2002-04-04 09:12:36 +00:00
Ulrich Drepper
8e7a793762 (_DL_HWCAP_COUNT): Define as 8. 2002-04-03 06:57:13 +00:00
Andreas Jaeger
88218ca246 Merge. 2002-03-27 11:10:10 +00:00
Andreas Jaeger
4cc96fbdfa Merge. 2002-03-26 16:54:56 +00:00
Andreas Jaeger
91c1773a6f Merge with mainline. 2002-03-26 12:39:21 +00:00
Roland McGrath
7b673eb55e 2002-03-23 Roland McGrath <roland@frob.com>
* sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm
	* sysdeps/posix/shm_unlink.c: Likewise.
2002-03-24 02:07:34 +00:00
Roland McGrath
c3ec2a41a4 2002-03-23 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/Makefile
	(sysdep_routines, shared-only-routines): Don't add framestate,
	reverting 2001-10-02 change.
	* 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/generic/Makefile (sysdep_routines, shared-only-routines):
	Do it here instead, only if [$(unwind-find-fde) = yes].
2002-03-24 01:53:44 +00:00
Roland McGrath
aafc2e6919 2002-03-22 Roland McGrath <roland@frob.com>
* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Make 2.2.6 default.
	* sysdeps/mach/hurd/configure.in: Default oldest ABI is 2.2.6
	under --enable-libio.
	* sysdeps/mach/hurd/configure: Regenerated.
2002-03-23 19:33:22 +00:00
Andreas Jaeger
12ba5872b7 Don't use __GLIBC_HAVE_LONG_LONG. 2002-03-22 13:23:26 +00:00
Andreas Jaeger
f695e8f580 Merge with mainline. 2002-03-22 12:46:26 +00:00
Andreas Jaeger
27ce3ca483 Merge from mainline. 2002-03-22 12:19:35 +00:00
Andreas Jaeger
077a7822a4 Merge from mainline. 2002-03-22 10:11:30 +00:00
Ulrich Drepper
16cf78b926 Remove getpriority from syscalls list. 2002-03-22 09:30:22 +00:00
Andreas Jaeger
9cfd01aa63 Merge with mainline. 2002-03-21 16:05:47 +00:00
Andreas Jaeger
6dbc574a65 Merge with mainline. 2002-03-20 10:19:42 +00:00
Andreas Jaeger
20c8798585 Cleanup x86 types. 2002-03-19 09:47:02 +00:00
Ulrich Drepper
3a2f6162f7 (elf_machine_load_address): Fix if .dynamic comes before .got. 2002-03-18 22:17:16 +00:00
Andreas Jaeger
5a87b21956 Undo last patch. 2002-03-18 18:38:15 +00:00
Andreas Jaeger
ced0a621eb * sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits.
* sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment.

	* sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause
	bits.

	* sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New.
	(CAUSE_SHIFT): New.
2002-03-17 12:06:59 +00:00
Ulrich Drepper
38159e3c82 Regenerated configure file for SPARC64. 2002-03-12 00:37:05 +00:00
Ulrich Drepper
ec5976d3a0 Configure fragment for SPARC64. 2002-03-12 00:36:29 +00:00
Roland McGrath
2fbe9636ac 2002-03-11 Roland McGrath <roland@frob.com>
* Versions.def (libc): Add GLIBC_2.2.6.
	* hurd/Versions (libc: GLIBC_2.2.6): Add __errno_location.
	* sysdeps/mach/hurd/errnos.awk: In generated macro, use
	__errno_location instead of __hurd_errno_location, and don't inline it.
	* sysdeps/mach/hurd/bits/errno.h: Regenerated.
	* hurd/errno.c: New file.
	* hurd/Makefile (routines): Add errno.
2002-03-11 21:27:01 +00:00
Roland McGrath
00eaa2ecf4 2002-03-11 Roland McGrath <roland@frob.com>
* Versions.def (libc): Add GLIBC_2.2.6.
	* hurd/Versions (libc: GLIBC_2.2.6): Add __errno_location.
	* sysdeps/mach/hurd/errnos.awk: In generated macro, use
	__errno_location instead of __hurd_errno_location, and don't inline it.
	* sysdeps/mach/hurd/bits/errno.h: Regenerated.
	* hurd/errno.c: New file.
	* hurd/Makefile (routines): Add errno.
2002-01-01  Roland McGrath  <roland@frob.com>

	* sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching.
2002-03-11 21:26:46 +00:00
Ulrich Drepper
e8b5a1571b (ftime): Don't return 1000 in millitm. 2002-03-11 21:22:31 +00:00
Roland McGrath
fd581473e4 2002-02-06 Roland McGrath <roland@frob.com>
* sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ...
	* sysdeps/generic/netinet/ip.h: ... here, replacing old file.
2002-03-09 21:43:03 +00:00
Andreas Jaeger
46afbf29e5 Merge from mainline. 2002-03-06 10:11:02 +00:00
Andreas Jaeger
a205dbe5b1 Merge from mainline. 2002-03-04 13:47:00 +00:00
Andreas Jaeger
cf3a3a9666 Added initialization of GP (to _gp) if compiled non-PIC. 2002-03-02 13:15:50 +00:00
Ulrich Drepper
e2395361cb (_dl_important_hwcaps): Fix creation of .str elements in the returned
data structure.
2002-03-02 10:33:58 +00:00
Ulrich Drepper
9bf4068d8d Nice implementation for Linux. 2002-03-02 00:46:57 +00:00
Ulrich Drepper
83af0cf53d (sysdep_routines): Add divdi3 in csu dir.
(shared-only-routines): Likewise.
2002-02-28 19:39:19 +00:00
Ulrich Drepper
6d0579742f __divdi3 function also found in libgcc. 2002-02-28 19:38:59 +00:00
Ulrich Drepper
cf3cc0f22e (elf_machine_load_address, RTLD_START): Work around an Alpha gas bug. 2002-02-27 18:09:31 +00:00
Ulrich Drepper
ef9e71571b (struct stat): Add attribute((packed)) to counter stupid people misuing gcc
options.
(struct stat64): Likewise.
2002-02-06 18:13:41 +00:00
Ulrich Drepper
2338e5c828 Check for ssize_t overflow, don't use alloca if the memory reqirements are too
high.
Use ssize_t for bytes_written.  Fix comment.
2002-02-03 19:37:55 +00:00
Ulrich Drepper
31a3179d04 Use ssize_t for bytes_read. 2002-02-03 19:37:18 +00:00
Ulrich Drepper
c056910930 (_test_and_set): Use branch likely. 2002-02-03 02:29:07 +00:00
Ulrich Drepper
3c7654e4ad (exchange_and_add): Use branch likely.
(atomic_add): Likewise.
(compare_and_swap): Return 0 only when failed to compare. Use branch likely.
2002-02-03 02:28:49 +00:00
Ulrich Drepper
43414194b8 (_dl_get_origin): Avoid writing over array boundary. 2002-02-02 19:21:26 +00:00
Andreas Schwab
9a53f4f254 Don't use multi-line string literals. 2002-02-01 10:36:38 +00:00
Ulrich Drepper
4e6f18e12f Check for ssize_t overflow.
Don't use alloca if the memory requirements are too high.
2002-01-31 19:25:40 +00:00
Ulrich Drepper
247767f5d9 Regenerated: autoconf sysdeps/unix/sysv/linux/configure.in 2002-01-29 04:01:49 +00:00
Ulrich Drepper
e6683f0578 (pic-ccflag): New variable. 2002-01-29 03:53:57 +00:00
Ulrich Drepper
8b67700424 (libc_cv_gcc_unwind_find_fde): Set for arm, too. 2002-01-29 03:23:58 +00:00
Andreas Jaeger
57300ad3e3 Merge with mainline. 2002-01-26 10:30:06 +00:00
Andreas Schwab
e2bd0a6c89 (libc_cv_gcc_unwind_find_fde): Set for m68k, too. 2002-01-18 13:07:12 +00:00
Ulrich Drepper
2d243804a2 Use 64 bit instructions for pointer operations. 2002-01-17 22:57:59 +00:00
Andreas Jaeger
a84562fa98 GCC 3.1 has __uint128_t build-in. 2002-01-17 17:37:40 +00:00
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