Commit Graph

195 Commits

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