Commit Graph

159 Commits

Author SHA1 Message Date
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