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
Andreas Jaeger
d9560fca3d
* sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
...
first.
* sysdeps/mips/fpu/feholdexcpt.c: New file.
* sysdeps/mips/fpu/fraiseexcpt.c: New file.
2000-06-20 13:05:21 +00:00
Ulrich Drepper
c92d72a8fe
Include <sysdeps/generic/memusage.h>.
2000-06-20 06:33:57 +00:00
Ulrich Drepper
949eb60694
Macro to allow memory usage tracking.
2000-06-20 06:29:45 +00:00
Ulrich Drepper
3f56045a39
Renamed to memusage.h.
2000-06-20 06:29:15 +00:00
Andreas Jaeger
feaff18976
* sysdeps/mips/dl-machine.h: Always use $25 as jump register.
...
Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2000-06-18 17:20:01 +00:00
Andreas Jaeger
49e1806ccb
* sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
...
entry point.
Reported by Jim Pick <jim@jimpick.com>.
2000-06-14 13:13:58 +00:00
Andreas Jaeger
66268e64b9
* sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
...
Patch by Ralf Baechle <ralf@gnu.org>.
2000-06-13 14:33:22 +00:00
Ulrich Drepper
959c224a4a
DT_THISPROCNUM definition for MIPS.
2000-06-08 04:48:05 +00:00
Greg McGary
fa39016a27
* sysdeps/mips/elf/start.S: Trim redundant code.
2000-06-07 00:30:05 +00:00
Andreas Jaeger
4decd16ab5
* sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
...
words.
2000-05-24 16:16:17 +00:00
Andreas Jaeger
5494bc3a50
2000-04-21 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
* sysdeps/mips/mips64/add_n.S: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/lshift.S: Likewise.
* sysdeps/mips/mips64/mul_1.S: Likewise.
* sysdeps/mips/mips64/rshift.S: Likewise.
* sysdeps/mips/mips64/setjmp.S: Likewise.
* sysdeps/mips/mips64/sub_n.S: Likewise.
* sysdeps/mips/mips64/submul_1.S: Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
and update comment. The strtab from _dl_relocate_object can be
used.
2000-04-21 16:37:58 +00:00
Andreas Jaeger
5166e402b8
2000-04-18 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
2000-04-18 18:31:00 +00:00
Andreas Jaeger
a4d132bfdf
(elf_machine_relplt): Removed, it's not needed.
...
(_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
2000-04-17 23:56:16 +00:00
Andreas Jaeger
4f20384216
2000-04-17 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
as suggested by Ulrich Drepper.
(__dl_runtime_resolve): Remove unused variable, initialize sym
directly.
(RTLD_START): Document OFFSET_GP_GOT.
(OFFSET_GP_GOT): New magic value.
(elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
(elf_machine_got_rel): Only declare strtab if needed.
2000-04-17 21:22:59 +00:00
Andreas Jaeger
2cf8794ab9
2000-04-17 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/add_n.S: Add newline at EOF.
* sysdeps/mips/rshift.S: Likewise.
* sysdeps/mips/mul_1.S: Likewise.
* sysdeps/mips/lshift.S: Likewise.
* sysdeps/mips/addmul_1.S: Likewise.
2000-04-17 20:59:00 +00:00
Andreas Jaeger
245bff9408
2000-04-14 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
symidx correctly.
(elf_machine_got_rel): Cast sym correctly.
2000-04-15 04:33:57 +00:00
Andreas Jaeger
b5e0b658d8
sysdeps/mips/add_n.S
2000-04-15 03:54:15 +00:00
Andreas Jaeger
127035bb55
2000-04-14 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
symidx correctly.
* sysdeps/mips/add_n.S: Use __PIC__, add .end directive.
2000-04-15 03:45:10 +00:00
Andreas Jaeger
500d200d09
2000-04-14 Andreas Jaeger <aj@suse.de>
...
* weaks.c: Fix typo.
2000-04-14 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/madvise.c: Fix typos.
* sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
* sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
* sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
warnings.
2000-04-14 17:36:37 +00:00
Andreas Jaeger
12c4efc1d0
2000-04-13 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/dl-machine.h
(elf_machine_got_rel): Handle symbol versioning.
2000-04-14 00:35:39 +00:00
Andreas Jaeger
043351e023
2000-04-13 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/dl-machine.h
(elf_machine_got_rel): Only add runtime display if needed.
2000-04-14 00:15:38 +00:00
Andreas Jaeger
15d5e7dc14
2000-04-13 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
versioning.
2000-04-13 23:55:20 +00:00
Andreas Jaeger
5b917f4e43
2000-04-13 Andreas Jaeger <aj@suse.de>
...
* sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
default.
* sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
with some applications.
Patches by Ralf Baechle <ralf@uni-koblenz.de>.
* sysdeps/mips/bsd-setjmp.S: Use __PIC__.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/setjmp.S: Likewise.
2000-04-13 19:46:02 +00:00
Andreas Jaeger
5719e666f7
2000-04-11 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/dl-machine.h: Update some comments.
(ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
2000-04-12 17:59:20 +00:00
Andreas Jaeger
3a344e73cc
2000-03-31 Andreas Jaeger <aj@suse.de>
...
* sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
init function interface.
* sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
2000-03-31 12:35:12 +00:00