Commit Graph

43 Commits

Author SHA1 Message Date
Roland McGrath
3e9a97580a 2003-03-13 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/mips/add_n.S: Use L macro for local labels.
	* sysdeps/mips/addmul_1.S: Likewise.
	* sysdeps/mips/lshift.S: Likewise.
	* sysdeps/mips/memcpy.S: Likewise.
	* sysdeps/mips/memset.S: Likewise.
	* sysdeps/mips/mul_1.S: Likewise.
	* sysdeps/mips/rshift.S: Likewise.
	* sysdeps/mips/sub_n.S: Likewise.
	* sysdeps/mips/submul_1.S: Likewise.
	* sysdeps/mips/mips64/add_n.S: Likewise.
	* sysdeps/mips/mips64/addmul_1.S: Likewise.
	* sysdeps/mips/mips64/lshift.S: Likewise.
	* sysdeps/mips/mips64/mul_1.S: Likewise.
	* sysdeps/mips/mips64/rshift.S: Likewise.
	* sysdeps/mips/mips64/sub_n.S: Likewise.
	* sysdeps/mips/mips64/submul_1.S: Likewise.
	* sysdeps/unix/mips/sysdep.h: Define L() according to ABI
	conventions.  Define END as in sys/asm.h.
	* sysdeps/unix/mips/sysdep.S: Likewise.
	* sysdeps/unix/mips/wait.S: Likewise.
	* sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2003-03-14 03:59:37 +00:00
Ulrich Drepper
db16023193 Use libc_hidden_def(name) instead of strong_alias (name, __GI_name). 2002-12-31 20:37:32 +00:00
Ulrich Drepper
044758323b Add __GI__setjmp alias. 2002-12-31 09:35:36 +00:00
Roland McGrath
93697b95eb 2002-09-20 Roland McGrath <roland@redhat.com>
* sysdeps/generic/gmp-mparam.h: Include <bits/wordsize.h>.
	(BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in
	terms of __WORDSIZE.
	* sysdeps/x86_64/gmp-mparam.h: File removed.
	* sysdeps/sparc/gmp-mparam.h: File removed.
	* sysdeps/mips/mips64/gmp-mparam.h: File removed.
	* sysdeps/ia64/gmp-mparam.h: File removed.
	* sysdeps/alpha/gmp-mparam.h: File removed.
2002-09-20 21:49:06 +00:00
Ulrich Drepper
dca9c7304b Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION. 2002-02-28 22:36:33 +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
09d4f65308 Fix usage of new _dl_signal_error() format. 2001-09-08 17:16:44 +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
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
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
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
Ulrich Drepper
f1dba30859 (elf_machine_matches_host): Parameter is now pointer to ELF header. 2000-10-20 17:04:28 +00:00
Andreas Jaeger
610bd8dec7 New file with soft-fp specific files. 2000-09-06 10:52:05 +00:00
Andreas Jaeger
1db6393c86 Moved from soft-fp/sysdeps/mips/mips64/sfp-machine.h 2000-09-05 08:37:09 +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
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
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
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
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
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
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
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
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
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
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
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
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
75b69faebc MIPS64 dependent RTLD. 1997-07-22 00:05:40 +00:00
Ulrich Drepper
ecbc158398 Imply ieee754. 1997-07-14 21:45:31 +00:00
Ulrich Drepper
6a2c06dc40 Special control bits for RTLD. 1997-07-12 23:26:15 +00:00
Ulrich Drepper
a906f96b30 Additional MIPS64 related files to distribute. 1997-07-06 21:50:34 +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
Roland McGrath
3b84e62ef2 Imported from gmp-1.900 1995-02-17 20:13:09 +00:00