Commit Graph

212 Commits

Author SHA1 Message Date
Ulrich Drepper
872cf89f66 (ELF_MACHINE_BEFORE_RTLD_RELOC): Don't use label at end of compound statement. 2002-01-29 02:58:00 +00:00
Ulrich Drepper
046f02be6f (__dl_runtime_resolve): Remove const' from got'. 2002-01-17 23:21:33 +00:00
Ulrich Drepper
532e4e4b65 GCC frame description for MIPS. 2001-11-16 01:12:04 +00:00
Ulrich Drepper
80ad17cac2 (DL_CALL_FCT): Cast to void *.
Use __BEGIN_DECLS/__END_DECLS around prototypes.
2001-10-27 00:03:32 +00:00
Ulrich Drepper
fe166e9e57 Updated. 2001-09-15 03:01:21 +00:00
Ulrich Drepper
09d4f65308 Fix usage of new _dl_signal_error() format. 2001-09-08 17:16:44 +00:00
Ulrich Drepper
560c476139 (__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
_dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
2001-08-29 18:48:49 +00:00
Ulrich Drepper
5c6029e5c0 (elf_machine_lookup_noplt_p, elf_machine_lookup_noexec_p): Remove.
(elf_machine_type_class): Define.
2001-08-26 22:26:38 +00:00
Ulrich Drepper
4b5c9edf2e (elf_machine_rel_relative): New function. 2001-08-24 14:57:45 +00:00
Ulrich Drepper
335e9a00db (elf_machine_rel_relative): Use ElfW(Rel) in argument. 2001-08-24 14:53:23 +00:00
Ulrich Drepper
85bdccdbd2 Define elf_machine_rel_relative. Minor optimizations. 2001-08-24 08:43:21 +00:00
Andreas Jaeger
3b402ca813 (MCOUNT): Don't use delay slot for jal since jal is a macro. 2001-08-13 08:42:44 +00:00
Ulrich Drepper
0b3cda64b8 Not needed anymore. 2001-07-28 05:53:57 +00:00
Ulrich Drepper
d6df8f49fd Remove non-existing files. 2001-07-28 05:53:37 +00:00
Ulrich Drepper
b04f70b77d Not needed anymore. 2001-07-16 22:30:06 +00:00
Ulrich Drepper
760ab2840b (MAP_BASE_ADDR): Removed.
(elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
(RESOLVE_GOTSYM): Rewrite to use RESOLVE.
2001-07-16 22:26:12 +00:00
Andreas Jaeger
f01ec4673b Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
Andreas Jaeger
3214b89b32 Update to LGPL v2.1. 2001-07-06 04:56:23 +00:00
Andreas Jaeger
13906e12b9 Add .type for the entry point. 2001-06-05 06:20:45 +00:00
Andreas Jaeger
3a97df5aa5 MIPS specific atomicity functions. 2001-05-27 08:41:04 +00:00
Andreas Jaeger
3eca484689 Removed unneeded binary output format directive. 2001-05-11 13:09:04 +00:00
Ulrich Drepper
48d32c2da9 Add atan2f deltas. 2001-04-22 04:55:54 +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 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
Andreas Jaeger
a9a575e676 (__longjmp): Restore SP and FP last and
in a single asm as they may be used to access other stored
registers.
2000-11-27 14:40:15 +00:00
Andreas Jaeger
9285ecc8a1 (elf_machine_rel): Add the symbol's
value plus the run-time displacement to the relocation for non-GOT
symbols.  Set the relocation to the GOT entry for GOT symbols.
2000-11-02 09:32:30 +00:00
Ulrich Drepper
ff86bfcd6b Update after libm-test.inc change. 2000-10-26 17:23:46 +00:00
Andreas Jaeger
67d3dc3d79 Partly revert patch from 2000-10-18. 2000-10-24 07:01:37 +00:00
Ulrich Drepper
f1dba30859 (elf_machine_matches_host): Parameter is now pointer to ELF header. 2000-10-20 17:04:28 +00:00
Andreas Jaeger
d9c1416a4a 2000-10-18 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
	(ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
	(elf_machine_runtime_link_map): Likewise.
	(elf_machine_runtime_setup): Likewise.
	Handle dynamic linker's local got entries.
	Patches by Ralf Baechle <ralf@gnu.org>.

2000-10-09  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

	* sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
	the frame pointer.  Allocate stack space for $a0 for
	__dl_runtime_resolve().  Do not save $sp in $s0 as it's
	callee-saved anyway.
2000-10-18 10:21:16 +00:00
Ulrich Drepper
d89e0413b2 (RTLD_START): Fix computation of envp argument passed to _dl_init. 2000-10-01 22:36:00 +00:00
Ulrich Drepper
f8f2a6fa36 Add fpu/fenv_libc.h. 2000-09-19 00:18:10 +00:00
Andreas Jaeger
921bb2c300 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
as function.
        (_RTLD_EPILOGUE): Reformat.  Declare size of entry function.
        (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
        it will even work when not loaded to the standard address.
        (RTLD_START): Reformat.  Call _dl_start in a way that is safe even
        before the dynamic linker itself is relocated.
2000-09-18 16:40:35 +00:00
Andreas Jaeger
8ebc36ad77 (FE_NOMASK_ENV): Define. 2000-09-15 18:15:57 +00:00
Andreas Jaeger
5898ca31ae (__fesetenv): Handle FE_NOMASK_ENV. 2000-09-15 18:15:31 +00:00
Andreas Jaeger
d9bfc800cc Use fenv_libc.h 2000-09-15 12:57:40 +00:00
Andreas Jaeger
73675ea1ec New file, common definitions for feenableexcept/fedisableexcept/fegetexcept. 2000-09-15 12:57:14 +00:00
Andreas Jaeger
09ab85fedc MIPS specific version s of feenableexcept, fedisableexcept, fegetexcept. 2000-09-15 12:24:49 +00:00
Andreas Jaeger
5e817c4e87 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to
dl_lookup.
	(ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2000-09-07 14:53:05 +00:00
Andreas Jaeger
610bd8dec7 New file with soft-fp specific files. 2000-09-06 10:52:05 +00:00
Andreas Jaeger
7e54ab950c [$(subdir) = misc]: Use sysdep_headers instead of headers for make dist. 2000-09-06 08:21:55 +00:00
Andreas Jaeger
8025e83427 Moved from soft-fp/sysdeps/mips/sfp-machine.h. 2000-09-05 08:41:37 +00:00
Andreas Jaeger
1db6393c86 Moved from soft-fp/sysdeps/mips/mips64/sfp-machine.h 2000-09-05 08:37:09 +00:00
Ulrich Drepper
858db9cbc8 Change type of FE_*_ENV macros to const fenv_t*. 2000-09-01 04:41:12 +00:00
Andreas Jaeger
c52761c183 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
__STRING(entry) and not #entry.
	(_RTLD_EPILOGUE): Likewise.
	* sysdeps/mips/mips64/dl-machine.h: Likewise.
2000-07-25 10:32:02 +00:00
Ulrich Drepper
f8bc20d3fa Define RTLD_NOLOAD and RTLD_NODELETE. 2000-07-20 22:52:53 +00:00
Andreas Jaeger
74cb5b6093 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
	that gpreg really points to the GOT section of the calling object.
	Scan all PT_LOAD segments of objects for stub_pc, instead of only
	checking a start address of first one.
	Fix typos.
	* sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
	Likewise.

	* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
2000-07-10 13:51:45 +00:00
Andreas Jaeger
6964aca34a Fix type of fpu_control_t.
(_FPU_GETCW): Remove extra colon.
	Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2000-07-05 15:37:11 +00:00
Andreas Jaeger
0a725b6114 Deltas for math test suite on MIPS 2000-06-20 14:16:21 +00:00