Commit Graph

367 Commits

Author SHA1 Message Date
Andreas Jaeger 6d1e7ba623 Do not use branch likely. 2002-02-07 10:39:06 +00:00
Andreas Jaeger 9ff2687616 Make sure the right <ldsodefs.h> is included. 2002-02-06 22:48:35 +00:00
Ulrich Drepper f295ff3212 (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:24:53 +00:00
Ulrich Drepper c577723005 (RTLD_START): Call _dl_init_internal instead of _dl_init. 2002-02-03 00:29:15 +00:00
Ulrich Drepper f71d7f5726 Move global variables for SHARED code in struct _rtld_global. Export
this struct, remove all exports for the signal variables.
2002-02-01 01:32:06 +00:00
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
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
Ulrich Drepper 8d897cf417 (elf_machine_lazy_rel): Change first parameter. 1998-08-28 22:54:33 +00:00
Ulrich Drepper 905714080f Issue error message if the header is used directly. 1997-11-26 04:14:44 +00:00
Ulrich Drepper c0d5b73e05 (RTLD_START): Switch back to previous section to avoid confusing the
compiler.
1997-08-27 19:58:41 +00:00
Ulrich Drepper c1dcd33f63 Add some files. 1997-08-10 18:29:45 +00:00
Ulrich Drepper 5cd503e5c1 Additional files to istribute for mips/mipsel. 1997-08-10 17:39:01 +00:00
Ulrich Drepper 1d928c6a5c (elf_machine_runtime_setup): Add new parameter to enable profiling.
(elf_machine_rela): Add new parameter to specify place to store
result in.
1997-07-28 22:32:21 +00:00
Ulrich Drepper dca3aa2229 Remove extra stuff. 1997-07-26 02:31:10 +00:00
Ulrich Drepper fdbb0d4a45 Remove __PIC__ comment. 1997-07-26 02:30:58 +00:00
Ulrich Drepper 75b69faebc MIPS64 dependent RTLD. 1997-07-22 00:05:40 +00:00
Ulrich Drepper abd048b1c0 Special parameters for rtld generation. 1997-07-22 00:04:07 +00:00
Ulrich Drepper 09d24ad477 (elf_machine_rela): Mention program name in warning message. 1997-07-22 00:03:10 +00:00
Ulrich Drepper ecbc158398 Imply ieee754. 1997-07-14 21:45:31 +00:00
Ulrich Drepper 5a50d6f575 Fix PIC case. 1997-07-12 23:28:11 +00:00
Ulrich Drepper 6a2c06dc40 Special control bits for RTLD. 1997-07-12 23:26:15 +00:00
Ulrich Drepper 8c0c6f59b4 MIPS specific DL interface bits. 1997-07-12 23:25:19 +00:00
Ulrich Drepper f095c0f3bb Linker script for building glibc itself. 1997-07-12 23:23:14 +00:00
Ulrich Drepper bd4c4968c8 Update for Linux/MIPS. 1997-07-12 23:22:49 +00:00
Ulrich Drepper a906f96b30 Additional MIPS64 related files to distribute. 1997-07-06 21:50:34 +00:00
Ulrich Drepper db31c86395 Update and reformat copyright, remove trailing white spaces and send
through unexpand.
1997-06-26 22:16:52 +00:00
Ulrich Drepper 788c7990eb Moved to bits/. 1997-06-21 02:40:36 +00:00
Ulrich Drepper 6af245e27b Endian specification for P40. 1997-06-21 02:07:22 +00:00
Ulrich Drepper 7fecd6222d Endian specification for MIPSEL. 1997-06-21 02:07:17 +00:00
Ulrich Drepper 18e5142049 moved to bits/. 1997-06-21 02:06:57 +00:00
Ulrich Drepper d0c2d3b303 MIPS64 support. 1997-06-21 02:06:13 +00:00
Ulrich Drepper 6a37465853 MIPS64 specific setjmp buffer 1997-06-21 02:05:01 +00:00
Ulrich Drepper c8eeac3b71 Say it's a 6t4 bit machine. 1997-06-21 02:03:54 +00:00
Ulrich Drepper 6e9524434b MISP/DEC byte order definition. 1997-06-21 02:02:58 +00:00
Ulrich Drepper 4f389d4c51 MIPS specific setjmp buffer. 1997-06-21 02:02:43 +00:00
Ulrich Drepper 08fe606443 MIPS specific byte order definition. 1997-06-21 02:02:34 +00:00
Ulrich Drepper 781b52c526 MIPS support. 1997-06-21 02:02:21 +00:00
Ulrich Drepper dd13989731 MIPS specific ELF startup code 1997-06-21 02:01:37 +00:00
Ulrich Drepper 0134d025bc MIPS changes. 1997-06-21 02:00:23 +00:00
Ulrich Drepper bcb5cee069 MIPS assembler version of GMP function. 1997-06-21 01:59:39 +00:00
Ulrich Drepper a473fb3982 Removed. WE have a .S file now 1997-06-21 01:58:17 +00:00
Ulrich Drepper 1bf0f668e6 De-ansidecl-fy. 1997-05-26 22:28:25 +00:00
Ulrich Drepper e295f61993 (elf_machine_runtime_setup): Return lazy. 1997-05-24 02:15:43 +00:00
Ulrich Drepper d6abe77e92 update from main archive 970218 1997-02-19 04:43:26 +00:00
Ulrich Drepper 4ead5e7163 Update to 2.1.x development version 1997-02-15 04:31:01 +00:00
Ulrich Drepper 910e2e14fc Update from main archive 961219 1996-12-20 01:35:29 +00:00
Ulrich Drepper f1fc182396 update from main archive 961203 1996-12-04 01:41:27 +00:00
Ulrich Drepper 404e621688 update from main archive 960814 1996-08-15 01:23:29 +00:00
Roland McGrath 3887a8dca9 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
* sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
	Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
	compiler doesn't elide it.
	(elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
1996-07-28 23:43:36 +00:00
Roland McGrath 8db38e6c0f Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
	<kkojima@info.kanagawa-u.ac.jp>.
1996-07-26 04:37:17 +00:00
Roland McGrath 9424ed18f0 Mon Jun 10 06:14:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS.
	(ElfW, ELFW): Use it.
	* elf/Makefile (headers): Add elfclass.h.
	* sysdeps/wordsize-32/elfclass.h: New file.
	* sysdeps/wordsize-64/elfclass.h: New file.
	* sysdeps/alpha/Implies: Add wordsize-64.
	* sysdeps/i386/Implies: Add wordsize-32.
	* sysdeps/m68k/Implies: Add wordsize-32.
	* sysdeps/mips/Implies: Add wordsize-32.
	* sysdeps/sparc/Implies: Add wordsize-32.
1996-06-10 12:55:52 +00:00
Roland McGrath 6c07070b0c Updated from /src/gmp-2.0 1996-05-07 21:04:45 +00:00
Roland McGrath 3de9f02e92 Updated from /src/gmp-1.937 1996-03-01 18:43:45 +00:00
Roland McGrath 39a7d65249 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
* sysdeps/mips/bytesex.h: Add default byte sex.  By Ralf Baechle.

	* sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode'
	member of `struct timex' instead of `modes'.  From Andreas Schwab.

	* sysdeps/unix/sysv/linux/mknod.c: New file.  Generic C version.
	* sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version.

	* sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable.
	[$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace.
	[$(subdir) = misc] (headers): Append sys/mount.h.

	* sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S:
	New files.  Implement system calls.
	* sysdeps/unix/sysv/linux/sys/mount.h: New header file.

	* sysdeps/unix/sysv/linux/ptrace.c: New file.  Wrapper around
	ptrace system call.
	* sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call.

	* sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct
	types for i386/Linux.
1996-01-17 17:13:22 +00:00
Roland McGrath 7def3d92a4 Updated from ../=mpn/gmp-1.906.7 1995-10-16 01:18:40 +00:00
Roland McGrath 3a29975f0a Updated from ../=mpn/gmp-1.906.7 1995-10-14 02:29:43 +00:00
Brendan Kehoe 487e658eeb * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end.
* sysdeps/unix/mips/fork.S (fork): Likewise.
        * sysdeps/unix/mips/pipe.S (fork): Likewise.
        * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise.
        * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise.
        * sysdeps/unix/mips/wait.S (__handler): Likewise.
        * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
        * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
        * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise.
        * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise.
        * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise.
        * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise.
        * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise.
        * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise.
        * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise.
        * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise.  Use `$0'
        instead of `zero' for the li instruction.
1995-04-15 02:30:20 +00:00
Brendan Kehoe e34abb0bcb * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST. 1995-03-31 01:47:52 +00:00
Roland McGrath 2e444e579a (_JMPBUF_UNWINDS): New macro. 1995-03-27 09:27:34 +00:00
Roland McGrath 92c7a8e20e Previously uncontrolled files put into CVS. 1995-02-18 00:05:51 +00:00
Roland McGrath 3b84e62ef2 Imported from gmp-1.900 1995-02-17 20:13:09 +00:00
Roland McGrath a4b6477451 Use ENV[0].__jmpbuf[0]. 1995-02-03 23:29:20 +00:00
Roland McGrath ff775c1262 Use `li' insn instead of `move'. 1995-02-03 23:24:38 +00:00
Roland McGrath b0dcd6754f Remove obsolete __NORETURN keyword. 1995-02-03 23:22:27 +00:00
Roland McGrath 94b0df52ff Initial revision 1994-12-09 06:07:49 +00:00
Roland McGrath 65377bcaa1 Initial revision 1994-12-04 18:14:36 +00:00
Roland McGrath 97f187ac88 Pass SP and FP as 3rd and 4th args, not 2nd and 3rd. 1994-12-04 18:10:46 +00:00