Commit Graph

2682 Commits

Author SHA1 Message Date
Ulrich Drepper
c9ae5095a4 (RTLD_START): Set up dp with DT_PLTGOT value from application so that
constructors in non-PIC libs work.
(RTLD_START): _dl_init now returns a function pointer, hence load the jump
address and gp from the function pointer before jumping.
2001-04-24 19:38:55 +00:00
Ulrich Drepper
dd69124f25 fegetexcept implementation for Arm. 2001-04-22 14:32:20 +00:00
Ulrich Drepper
285e7aeefd feenableexcept implementation for Arm. 2001-04-22 14:31:51 +00:00
Ulrich Drepper
984dfe1266 fedisableexcept implementation for Arm. 2001-04-22 14:31:25 +00:00
Ulrich Drepper
90256e473e Include sys/procfs.h not sys/elf.h. 2001-04-22 14:10:28 +00:00
Ulrich Drepper
e8551fba7f (struct user_fpregs): Renamed from struct user_fp.
(struct user_regs): New.
(struct user): Use struct user_regs rather than struct pt_regs to
avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
of struct user_fp and struct user_fp_struct.
2001-04-22 14:10:14 +00:00
Ulrich Drepper
ace45f1fd0 Move contents to sys/procfs.h, and tell the user to include that file instead. 2001-04-22 14:08:57 +00:00
Ulrich Drepper
c2a38d017e Remove old cruft surrounded with #if 0.
(elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
from sys/elf.h.
(prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
elf_fpregset_t respectively.
2001-04-22 14:07:25 +00:00
Ulrich Drepper
7ace52d01f Also print the address that faulted. 2001-04-22 14:02:39 +00:00
Ulrich Drepper
48d32c2da9 Add atan2f deltas. 2001-04-22 04:55:54 +00:00
Ulrich Drepper
15a25bb641 Fix clone system call entry point stub. 2001-04-22 03:24:39 +00:00
Ulrich Drepper
fe6fac6851 Removed ptrace entry so the ptrace.c wrapper is used. 2001-04-22 03:23:45 +00:00
Ulrich Drepper
c358f9f787 (_dl_start_address): Rename to _dl_function_address. 2001-04-22 03:22:20 +00:00
Ulrich Drepper
9c56436673 (ELF_MACHINE_START_ADDRESS): Define. 2001-04-22 03:22:03 +00:00
Ulrich Drepper
e40ba2ccb8 Add _dl_function_address. 2001-04-22 03:21:47 +00:00
Ulrich Drepper
85ff0834bb (_dl_function_address): Prototype.
(DL_FUNCTION_ADDRESS): Define.
(DL_DT_INIT_ADDRESS): Define.
(DL_DT_FINI_ADDRESS): Define.
2001-04-22 03:21:34 +00:00
Andreas Schwab
efaa6dd8a2 * sysdeps/m68k/fpu/libm-test-ulps: Update. 2001-04-20 13:02:01 +00:00
Ulrich Drepper
21e7ad57ab (NGREG, NFPREG, gregset): Correct for new kernel definitions. 2001-04-20 06:05:52 +00:00
Ulrich Drepper
6e3bde59b4 (CALL_MCOUNT): Update comment. 2001-04-20 06:05:04 +00:00
Ulrich Drepper
ee6d867525 (LDFLAGS-c_pic.os): Define.
(CFLAGS-.os): Remove.
2001-04-20 06:03:07 +00:00
Ulrich Drepper
70d533e66b Change dlt reg save to r3 and generate unwind info by hand. 2001-04-20 05:58:49 +00:00
Ulrich Drepper
964b686b75 (INLINE_SYSCALL): Change to return a signed result for compatibility with other
architectures, and correctness.
2001-04-19 21:23:49 +00:00
Andreas Jaeger
6f66c56d4e Fix typos in last patch. 2001-04-19 09:35:01 +00:00
Andreas Jaeger
070b2d2a8e Fix typos in last patch. 2001-04-19 09:33:50 +00:00
Ulrich Drepper
f6bd63ae21 Maximum error for atan2f is 4. 2001-04-18 00:22:15 +00:00
Ulrich Drepper
5e6947e364 Adjust error values for atan2f. 2001-04-18 00:19:18 +00:00
Ulrich Drepper
b0b7e44c75 Adjust for increased precision in result of several tests. 2001-04-17 18:59:43 +00:00
Andreas Jaeger
5c8f22b4fb [__ASSEMBLY__]: Define it. 2001-04-11 11:56:35 +00:00
Andreas Schwab
910250c575 Adjusted. 2001-04-11 08:33:14 +00:00
Ulrich Drepper
0a5b388e1f Stack information for Arm. 2001-04-11 07:34:36 +00:00
Ulrich Drepper
a7d0b32d5f [!__ASSEMBLY__]: Declare __start. 2001-04-10 22:32:04 +00:00
Ulrich Drepper
1bdc6e7d38 Stack information for Alpha. 2001-04-10 20:50:54 +00:00
Andreas Schwab
5d0b153553 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
values.
	* sysdeps/m68k/fpu/e_scalb.c: Likewise.
2001-04-10 19:58:52 +00:00
Ulrich Drepper
e555ed6515 CRIS-specific memory copying code. 2001-04-10 00:24:23 +00:00
Ulrich Drepper
fdac9b9648 CRIS-specific low-level definitions. 2001-04-10 00:23:59 +00:00
Ulrich Drepper
5cb610484f setjmp implementation on CRIS. 2001-04-10 00:23:44 +00:00
Ulrich Drepper
050eb091f7 Macros to help memusage program on CRIS. 2001-04-10 00:23:30 +00:00
Ulrich Drepper
e9ca92e3b2 Definitions for efficient copying on CRIS. 2001-04-10 00:23:12 +00:00
Ulrich Drepper
9c266efdcd Profiling definitions for CRIS. 2001-04-10 00:22:52 +00:00
Ulrich Drepper
cdda3fc7f0 Startup code for ELF binaries on CRIS. 2001-04-10 00:22:36 +00:00
Ulrich Drepper
26414026ac CRIS-specific part of ELF dynamic loader. 2001-04-10 00:22:01 +00:00
Ulrich Drepper
233922db0f <string.h> optimizations for CRIS. 2001-04-10 00:21:27 +00:00
Ulrich Drepper
0f6b212541 <stejmp.h> definitions for CRIS. 2001-04-10 00:21:13 +00:00
Ulrich Drepper
469020c10b <endian.h> definitions for CRIS. 2001-04-10 00:20:57 +00:00
Ulrich Drepper
83f091042e _mcount implementation for CRIS. 2001-04-10 00:20:23 +00:00
Ulrich Drepper
848b98a109 __longjmp implementation for CRIS. 2001-04-10 00:20:03 +00:00
Ulrich Drepper
291195e9a8 Additional make rules for CRIS. 2001-04-10 00:19:49 +00:00
Ulrich Drepper
675fffd21d Other implied directories to use. 2001-04-10 00:19:20 +00:00
Ulrich Drepper
35fee9f0dd Extra files to distribute for CRIS. 2001-04-10 00:18:50 +00:00
Ulrich Drepper
fe4dd66ed7 setresuid implementation for Linux/CRIS. 2001-04-09 05:08:36 +00:00
Ulrich Drepper
51610bc7b3 setresgid implementation for Linux/CRIS. 2001-04-09 05:08:17 +00:00
Ulrich Drepper
12d6ab7b10 __xstat implementation for Linux/CRIS. 2001-04-09 04:51:09 +00:00
Ulrich Drepper
b13de4a8b7 vfork implementation for Linux/CRIS. 2001-04-09 04:50:57 +00:00
Ulrich Drepper
c2e42b7134 System specific code for Linux/CRIS. 2001-04-09 04:50:44 +00:00
Ulrich Drepper
a2c5e2b43a System specific definitions for Linux/CRIS. 2001-04-09 04:50:27 +00:00
Ulrich Drepper
c8e66742e2 syscall implementation for Linux/CRIS. 2001-04-09 04:50:08 +00:00
Ulrich Drepper
b660421d48 ucontext definitions for Linux/CRIS. 2001-04-09 04:49:56 +00:00
Ulrich Drepper
22ebc6a15f socket implementation for Linux/CRIS. 2001-04-09 04:49:41 +00:00
Ulrich Drepper
25a87ddfb0 shmctl implementation for Linux/CRIS. 2001-04-09 04:49:25 +00:00
Ulrich Drepper
1157fe0248 setuid implementation for Linux/CRIS. 2001-04-09 04:49:10 +00:00
Ulrich Drepper
a6aa3792be setrlimit implementation for Linux/CRIS. 2001-04-09 04:48:56 +00:00
Ulrich Drepper
382b7b8995 setreuid implementation for Linux/CRIS. 2001-04-09 04:48:41 +00:00
Ulrich Drepper
4c8b7016a8 setregid implementation for Linux/CRIS. 2001-04-09 04:48:27 +00:00
Ulrich Drepper
f79e192ba6 setgroups implementation for Linux/CRIS. 2001-04-09 04:48:09 +00:00
Ulrich Drepper
e1cb46ec7a setgid implementation for Linux/CRIS. 2001-04-09 04:47:52 +00:00
Ulrich Drepper
75938458d7 setfsuid implementation for Linux/CRIS. 2001-04-09 04:47:29 +00:00
Ulrich Drepper
70f5c90d37 setfsgid implementation for Linux/CRIS. 2001-04-09 04:47:13 +00:00
Ulrich Drepper
abf44d0128 seteuid implementation for Linux/CRIS. 2001-04-09 04:46:45 +00:00
Ulrich Drepper
b074d424bd setegid implementation for Linux/CRIS. 2001-04-09 04:46:28 +00:00
Ulrich Drepper
f63b7c8b19 semctl implementation for Linux/CRIS. 2001-04-09 04:46:05 +00:00
Ulrich Drepper
0cfe451872 Register dump code for Linux/CRIS. 2001-04-09 04:45:39 +00:00
Ulrich Drepper
efe7db140e Profile helper definitions for Linux/CRIS. 2001-04-09 04:45:23 +00:00
Ulrich Drepper
6f41227c00 msgctl implementation for Linux/CRIS. 2001-04-09 04:45:00 +00:00
Ulrich Drepper
83fcbc9f9c mmap64 implementation for Linux/CRIS. 2001-04-09 04:44:45 +00:00
Ulrich Drepper
1e9050b191 mmap implementation for Linux/CRIS. 2001-04-09 04:43:42 +00:00
Ulrich Drepper
9783a2c16b __lxstat implementation for Linux/CRIS. 2001-04-09 04:43:24 +00:00
Ulrich Drepper
0ef01ce34a lockf64 implementation for Linux/CRIS. 2001-04-09 04:43:05 +00:00
Ulrich Drepper
1e1229ee3d lchown implementation for Linux/CRIS. 2001-04-09 04:42:48 +00:00
Ulrich Drepper
d4c00be41b getuid implementation for Linux/CRIS. 2001-04-09 04:36:48 +00:00
Ulrich Drepper
b7119d5193 getrlimit64 implementation for Linux/CRIS. 2001-04-09 04:36:29 +00:00
Ulrich Drepper
4fa1498695 getrlimit implementation for Linux/CRIS. 2001-04-09 04:36:16 +00:00
Ulrich Drepper
ca9495b62e getresuid implementation for Linux/CRIS. 2001-04-09 04:35:56 +00:00
Ulrich Drepper
7663b23c29 getresgid implementation for Linux/CRIS. 2001-04-09 04:35:40 +00:00
Ulrich Drepper
77e0283665 getgroups implementation for Linux/CRIS. 2001-04-09 04:35:21 +00:00
Ulrich Drepper
58e6c6c253 getgid implementation for Linux/CRIS. 2001-04-09 04:35:05 +00:00
Ulrich Drepper
ac9292a134 geteuid implementation for Linux/CRIS. 2001-04-09 04:34:52 +00:00
Ulrich Drepper
f96ae8fee8 getegid implementation for Linux/CRIS. 2001-04-09 04:34:34 +00:00
Ulrich Drepper
49b9983558 __fxstat implementation for Linux/CRIS. 2001-04-09 04:34:09 +00:00
Ulrich Drepper
d00b608d09 fcntl implementation for Linux/CRIS. 2001-04-09 04:33:52 +00:00
Ulrich Drepper
dc778674f3 fchown implementation for Linux/CRIS. 2001-04-09 04:33:08 +00:00
Ulrich Drepper
0f5e0abce9 clone implementation for Linux/CRIS. 2001-04-09 04:32:55 +00:00
Ulrich Drepper
2a509b902e chown implementation for Linux/CRIS. 2001-04-09 04:32:41 +00:00
Ulrich Drepper
223bf22682 brk implementation for Linux/CRIS. 2001-04-09 04:32:28 +00:00
Ulrich Drepper
e1eebead7a <sys/resource.h> definitions for Linux/CRIS. 2001-04-09 04:32:15 +00:00
Ulrich Drepper
187454c642 <sys/mman.h> definitions for Linux/CRIS. 2001-04-09 04:31:50 +00:00
Ulrich Drepper
d2d1cc6e89 <fcntl.h> definitions for Linux/CRIS. 2001-04-09 04:31:35 +00:00
Ulrich Drepper
2e3938d45f libio config for Linux/CRIS. 2001-04-09 04:31:15 +00:00
Ulrich Drepper
58dc8bd3f5 Additional rules for Linux/CRIS. 2001-04-09 04:31:00 +00:00
Ulrich Drepper
693ba46706 Additional files to distribute for Linux/CRIS. 2001-04-09 04:30:48 +00:00
Ulrich Drepper
fefb54b6d6 (INLINE_SYSCALL): Fix typo; s/==/=/ for assignment. 2001-04-09 03:58:11 +00:00
Ulrich Drepper
6b8a08a9d6 Add a few new files. 2001-04-07 23:36:25 +00:00
Ulrich Drepper
4adec71eab (GET_NPROCS_PARSER): added code to parse new 2.4 format.
(GET_NPROCS_CONF_PARSER): likewise.
2001-04-06 22:37:39 +00:00
Ulrich Drepper
5e9cba3061 Don't use the ELF version, define simple replacements here. 2001-04-05 05:28:23 +00:00
Ulrich Drepper
2fc87911c7 (_dl_open): Fix typo in last change. 2001-04-05 04:19:17 +00:00
Ulrich Drepper
ebe30a97c9 Define __getpeername. 2001-04-04 01:54:28 +00:00
Ulrich Drepper
21be1647f1 AIX PPC memset implementation. 2001-04-04 01:52:37 +00:00
Ulrich Drepper
32cb7502fd AIX dl-sym. 2001-04-04 01:51:14 +00:00
Ulrich Drepper
aceb4f8d27 libc_dl-xxx support. 2001-04-04 01:49:24 +00:00
Ulrich Drepper
dfb0b211c1 AIX dl-open. 2001-04-04 01:48:10 +00:00
Ulrich Drepper
bbee9a4145 AIX dl-close. 2001-04-04 01:36:43 +00:00
Ulrich Drepper
852702b5c1 AIX __loadx defines. 2001-04-04 01:34:38 +00:00
Ulrich Drepper
5f55815d27 AIX startup code. 2001-04-04 01:33:04 +00:00
Ulrich Drepper
7fac016cfa AIX gettimeofday implementation. 2001-04-04 01:32:14 +00:00
Ulrich Drepper
42f86baa0d AIX utmpx.h definitions. 2001-04-04 01:28:41 +00:00
Ulrich Drepper
c8bf86d074 Added _HAVE_UT_TYPE/PID/ID/TV/HOST defines. 2001-04-04 01:26:49 +00:00
Ulrich Drepper
4b159c0223 Removed temp code and made stub. 2001-04-04 01:18:11 +00:00
Ulrich Drepper
1abb612d81 Remove /usr/lib/crt0.o added dl-libc, dl-open,dl-sym, dl-close to misc. 2001-04-04 01:17:41 +00:00
Andreas Jaeger
0b3ec5b028 Add prototype for __umount2. 2001-04-02 12:32:51 +00:00
Andreas Jaeger
a46a95b7e4 Add alias for imaxdiv. 2001-03-30 06:57:48 +00:00
Ulrich Drepper
e8d795b077 Add MAP_* and MADV_* defines to match other architectures. 2001-03-27 02:43:47 +00:00
Ulrich Drepper
e46c35fd6b Change type of second parameter back to size_t as per upcoming XPG6. 2001-03-17 08:27:45 +00:00
Ulrich Drepper
d76aa2b87e (CALL_SIGHANDLER): Define. 2001-03-16 23:52:16 +00:00
Ulrich Drepper
b33675cd5e Dummy replacement for code not needed here. 2001-03-11 23:25:54 +00:00
Ulrich Drepper
7f21c16fbf m68k-specific definitions for ldconfig. 2001-03-10 16:16:44 +00:00
Ulrich Drepper
10e506a635 Add dl-procinfo.c and dl-procinfo.h. 2001-03-10 06:37:12 +00:00
Ulrich Drepper
ce56b0a81a [subdir=elf] (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
dl-procinfo.
2001-03-10 06:36:31 +00:00
Ulrich Drepper
807c3437eb Interface definitions for functions to handle processor specific features
on Linux/Arm.
2001-03-10 06:36:09 +00:00
Ulrich Drepper
e3a9f6bb39 Handling processor specific features for Linux/Arm. 2001-03-10 06:35:45 +00:00
Ulrich Drepper
5c4a646199 (__S_TYPEISMQ, __S_TYPEISSEM, __S_TYPEISSHM): Rewrite to enforce correct
use the macros.  They still always return zero.
2001-03-05 18:28:40 +00:00
Ulrich Drepper
1052cd9dac Define SI_ASYNCNL. 2001-03-04 19:28:52 +00:00
Ulrich Drepper
abb2a703aa Allow __need_sigevent_t being defined and provide only that definition. 2001-03-03 18:15:33 +00:00
Ulrich Drepper
cb8023f938 (elf_machine_rela): Don't handle relocations which are not in ld.so if
RTLD_BOOTSTRAP is defined.
2001-02-28 15:23:48 +00:00
Ulrich Drepper
773b640096 Replace use of old output functions with the new ones. 2001-02-28 06:35:24 +00:00
Ulrich Drepper
5f1644d26e Define alias __libc_write. 2001-02-23 20:24:40 +00:00
Ulrich Drepper
dcab999777 Define __need_NULL before including <stddef.h>. 2001-02-23 20:24:20 +00:00
Ulrich Drepper
8cc9fd41c3 Not needed anymore. 2001-02-23 20:16:31 +00:00
Ulrich Drepper
76b92c87ab Remove restf.S and savef.S. 2001-02-23 20:15:49 +00:00
Ulrich Drepper
70f970dfee [$(subdir) == misc] (sysdep_routines): Remove restf.S and savef.S. 2001-02-23 20:15:23 +00:00
Andreas Jaeger
e33c3af9cb * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
avoid problems on MIPS I.
	* sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.

	* sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
	noreorder".
2001-02-22 08:27:50 +00:00
Ulrich Drepper
191b842dfe m68k exp2l implementation. 2001-02-17 16:49:41 +00:00
Ulrich Drepper
c79b4fded1 m68k exp2f implementation. 2001-02-17 16:49:28 +00:00
Ulrich Drepper
f1ba5c30fc m68k exp2 implementation. 2001-02-17 16:49:17 +00:00
Ulrich Drepper
00ec1b7df9 Renamed to e_exp2. 2001-02-17 16:46:12 +00:00
Ulrich Drepper
84a29bc1f5 (ftruncate): Add __ftruncate64 alias. 2001-02-16 18:12:10 +00:00
Andreas Schwab
ca50de95e8 Correctly handle m68k long double format. 2001-02-16 13:40:22 +00:00
Ulrich Drepper
305f83de53 Define __ftruncate64 and make old name a weak alias. 2001-02-13 22:09:09 +00:00
Ulrich Drepper
6a0148d1cf Little optimization. 2001-02-09 05:27:34 +00:00
Ulrich Drepper
5f5831bee5 Alpha ev67 optimized implementation for strrchr. 2001-02-09 05:27:14 +00:00
Ulrich Drepper
d335db0ecc Add missing word alignment. 2001-02-07 19:18:58 +00:00
Ulrich Drepper
b72a1aa920 Honour __NO_MATH_INLINES. 2001-02-07 18:20:36 +00:00