Commit Graph

227 Commits

Author SHA1 Message Date
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
Andreas Jaeger
b1212cdb2f 2000-03-31 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
	* sysdeps/mips/fpu/fegetenv.c: Likewise.
	* sysdeps/mips/fpu/feupdateenv.c: Likewise.
	* sysdeps/mips/fpu/fclrexcpt.c: Likewise.
	* sysdeps/mips/fpu/fesetenv.c: Likewise.
2000-03-31 11:11:10 +00:00
Ulrich Drepper
73a35fc451 Use SHARED instead of PIC. 2000-03-31 05:44:27 +00:00
Andreas Jaeger
17e74c26b7 2000-03-29 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
	* sysdeps/mips/fpu/fegetenv.c: Likewise.
	* sysdeps/mips/fpu/fesetenv.c: Likewise.
	* sysdeps/mips/fpu/feupdateenv.c: Likewise.
	* sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
2000-03-29 11:18:48 +00:00
Andreas Jaeger
f5a37cdb1b 2000-03-24 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
	access relocated entries in l_info.
	(elf_machine_got_rel): Likewise.
	(elf_machine_runtime_setup): Likewise.
	* sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
	(elf_machine_runtime_setup): Likewise.
	(__dl_runtime_resolve): Likewise.
2000-03-24 15:27:37 +00:00
Ulrich Drepper
2535a9deff MIPS specific additions to the internal definitions for the dynamic loader. 2000-03-23 20:30:03 +00:00
Ulrich Drepper
e6e840f034 Define DL_CALL_FCT here. 2000-02-28 20:50:34 +00:00
Ulrich Drepper
41841677b4 Change default version to GLIBC_2.2. 2000-02-26 01:09:38 +00:00
Andreas Jaeger
bab23124f0 2000-02-12 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
	conventions.
	(elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
	(elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
	file and make dependend on RESOLVE.
	(ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
	(RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
2000-02-12 11:27:47 +00:00
Ulrich Drepper
6753cccf4b MIPS specific definitions of macros to get stack pointer and high
precision timer.
2000-02-11 19:47:48 +00:00
Andreas Jaeger
ae8736b798 2000-02-03 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/abort-instr.h: New file.
2000-02-03 15:03:50 +00:00
Andreas Jaeger
ede084048d 2000-02-03 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.

	* sysdeps/unix/sysv/linux/mips/register-dump.h: New file.

	* sysdeps/mips/stackinfo.h: New file.
2000-02-03 14:10:24 +00:00
Andreas Jaeger
fc16ca3254 2000-02-01 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
2000-02-01 08:28:15 +00:00
Ulrich Drepper
16e4bf6fec Correct return value according to the standard. 2000-01-31 07:56:49 +00:00
Andreas Jaeger
6959849dcf 2000-01-11 Andreas Schwab <schwab@suse.de>
* sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
	infinite loop to avoid pulling in stdio in the dynamic linker.
	* sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2000-01-11 18:08:15 +00:00
Andreas Jaeger
f818255971 2000-01-11 Andreas Schwab <schwab@suse.de>
* sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
	infinite loop to avoid pulling in stdio in the dynamic linker.
2000-01-11 17:12:43 +00:00
Andreas Jaeger
be57c15a96 2000-01-10 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
	change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
	EM_MIPS_RS3_LE.
	* sysdeps/mips/mips64/dl-machine.h: Likewise.
2000-01-10 17:34:40 +00:00
Andreas Jaeger
7e61a4b7b9 2000-01-10 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/Implies: Add wordsize-32.
2000-01-10 12:33:45 +00:00
Andreas Jaeger
f4b123a3a8 (elf_machine_dynamic): New function.
(elf_machine_got): Removed, not needed anymore.
	(ELF_MACHINE_RELOC_NOPLT): Removed.
	(ELF_MACHINE_JMP_SLOT): Added.
	(_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
	(_RTLD_EPILOGUE): Likewise.
	(RESOLVE_GOTSYM): Use R_MIPS_REL32.
	(ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1999-11-23 16:10:26 +00:00
Andreas Jaeger
119fab9878 Fix typo in applying last patch. 1999-11-23 15:57:26 +00:00
Andreas Jaeger
58f68573b9 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
(elf_machine_got): Removed, not needed anymore.
	(ELF_MACHINE_RELOC_NOPLT): Removed.
	(ELF_MACHINE_JMP_SLOT): Added.
	(_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
	(_RTLD_EPILOGUE): Likewise.
	(RESOLVE_GOTSYM): Use R_MIPS_REL32.
	(ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
	Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
	Ralf Baechle <baechle@uni-koblenz.de>.
1999-11-23 15:49:22 +00:00
Ulrich Drepper
d971640e98 fetestexcept implementation for PowerPC. 1999-11-01 00:16:46 +00:00
Ulrich Drepper
f2425ccdbb fegetexcept implementation for PowerPC. 1999-11-01 00:16:36 +00:00
Ulrich Drepper
cf025bb298 feupdateenv implementation for PowerPC. 1999-11-01 00:16:24 +00:00
Ulrich Drepper
deb5c024aa fesetround implementation for PowerPC. 1999-11-01 00:16:05 +00:00
Ulrich Drepper
9ce49bd30b fesetenv implementation for PowerPC. 1999-11-01 00:15:55 +00:00
Ulrich Drepper
e576db000f fegetround implementation for PowerPC. 1999-11-01 00:15:45 +00:00
Ulrich Drepper
dd5c04b4d6 fegetenv implementation for PowerPC. 1999-11-01 00:15:28 +00:00
Ulrich Drepper
4a986c1a7d feclearexcept implementation for PowerPC. 1999-11-01 00:15:18 +00:00
Ulrich Drepper
08784f9d79 Moved into fpu subdir. 1999-11-01 00:11:13 +00:00
Ulrich Drepper
146bade74f Return value and add alias. 1999-10-31 23:13:47 +00:00
Ulrich Drepper
1e4e03d63b Implied directories for MIPS3. 1999-10-19 03:06:55 +00:00
Ulrich Drepper
33f88b1aad Remove wordsize-32 reference. 1999-10-19 03:06:37 +00:00
Ulrich Drepper
10b20b58ab Remove SGI specific calls, add RTLD_LOCAL. 1999-08-22 16:05:13 +00:00
Roland McGrath
893f3d106f 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
* elf/dl-reloc.c (_dl_reloc_bad_type): New function.
	* elf/ldsodefs.h: Declare it.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
	instead of assert.
	(elf_machine_lazy_rel): Likewise.  Take new arg MAP.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
	* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
	* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
	_dl_reloc_bad_type instead of _dl_signal_error.
	* elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
1999-07-21 16:57:52 +00:00
Ulrich Drepper
98a0c25a63 Add flt-32 and dbl-64. 1999-07-14 00:29:21 +00:00
Ulrich Drepper
b28057ced4 Adapted for header file change. 1999-05-23 09:46:25 +00:00
Ulrich Drepper
d3cbb9807c (fenv_t): Prepend __ to member names to protect from user's macro namespace. 1999-05-23 09:44:56 +00:00
Ulrich Drepper
df019d9428 (ucontext): Rename field uc_links to
uc_link which is the right name according to Unix98.
1999-03-01 07:20:35 +00:00
Ulrich Drepper
963048adc5 (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated.
(__dl_runtime_resolve): Likewise.
1999-02-20 18:25:14 +00:00
Ulrich Drepper
e675032fec (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated. 1999-02-20 18:22:38 +00:00
Ulrich Drepper
3aa76df334 (elf_machine_got_rel): Likewise.
(elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
1999-02-20 15:00:01 +00:00
Ulrich Drepper
1d32500284 Fix typo. 1999-02-16 15:13:16 +00:00
Ulrich Drepper
9383535442 Fix typo.
Remove __setfpucw.
1999-02-16 09:35:56 +00:00
Ulrich Drepper
d6ab589ffe Add sys/regdef.h back. 1999-01-14 13:26:49 +00:00
Ulrich Drepper
e53006703b Register definitions for MIPS. 1999-01-14 13:26:19 +00:00
Ulrich Drepper
465cf3e6e2 Remove sys/regdef.h. 1999-01-14 12:35:18 +00:00
Ulrich Drepper
283cf8bf85 MIP floating point definition header. 1998-12-31 18:14:25 +00:00
Ulrich Drepper
74de4bb5bc MIPS assembler helper definitions. 1998-12-31 18:13:59 +00:00
Ulrich Drepper
579075e899 SGI's MIPS definitions. 1998-12-31 18:13:42 +00:00
Ulrich Drepper
f2fdff253e MIPS register definitions. 1998-12-31 18:13:29 +00:00
Ulrich Drepper
1599a5f3d2 MIPS floating point control information. 1998-12-31 18:13:10 +00:00
Ulrich Drepper
18aa0178af MIPS floating point register definitions. 1998-12-31 18:12:57 +00:00
Ulrich Drepper
df8c87f808 Add new headers. 1998-12-31 18:12:40 +00:00
Ulrich Drepper
eb78494f44 Add new files. 1998-12-31 18:12:32 +00:00
Ulrich Drepper
04fd64c32e (elf_machine_rel): Fixl_addr parameter type. 1998-12-11 15:27:22 +00:00
Ulrich Drepper
ea0499d2b8 ISO C 9x FPU exception handling function. 1998-11-28 20:59:45 +00:00
Ulrich Drepper
94f347c012 (sysdep_routines): Use += instead of a :=. 1998-11-28 20:59:14 +00:00
Ulrich Drepper
60f3ce2755 Add closing comment to avoid warning. 1998-11-27 09:04:02 +00:00
Ulrich Drepper
3f764c1f26 System V ucontext definition for MIPS. 1998-11-26 12:01:59 +00:00
Ulrich Drepper
3f72bf96a9 (ELF_MACHINE_NO_PLT): New defined macro.
(elf_machine_got_rel): Remove scope variable.  Use scope from the map.
Don't modify _dl_global_scope_end in the end.
(__dl_runtime_resolv): Also use scope from the map.
1998-11-26 12:01:21 +00:00