Ulrich Drepper
3f95e592cb
(RTLD_START): Update _dl_argv.
2000-11-16 02:07:02 +00:00
Ulrich Drepper
f1dba30859
(elf_machine_matches_host): Parameter is now pointer to ELF header.
2000-10-20 17:04:28 +00:00
Ulrich Drepper
8da28deb78
(elf_machine_rela): Handle unaligned relocation also for R_ALPHA_RELATIVE.
2000-09-29 06:50:53 +00:00
Andreas Jaeger
4ce0ef7a86
(elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt
...
t argument to silence GCC.
2000-07-18 14:14:51 +00:00
Ulrich Drepper
22fb102e6b
(elf_machine_rela) [r_type == R_ALPHA_REFQUAD]: Use memcpy to load and
...
store value from relocation address to prevent unaligned trap.
2000-07-01 05:08:03 +00:00
Andreas Jaeger
21dd216cd4
2000-05-08 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
call to elf_machine_fixup_plt.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2000-05-08 15:40:26 +00:00
Ulrich Drepper
408c9db5d3
(elf_machine_fixup_plt): Change return valuie to lookup_t and return the value.
2000-05-05 07:12:09 +00:00
Ulrich Drepper
b9a57ab615
(_dl_start_user): Fix the _dl_skip_args handling.
2000-04-28 03:25:46 +00:00
Ulrich Drepper
f0824b0c78
(RTLD_START):Rewrite for new init function interface.
2000-04-15 16:53:23 +00:00
Ulrich Drepper
7189e3b807
Use D_PTR to access relocated entries in l_info.
2000-03-31 05:16:19 +00:00
Ulrich Drepper
e9290bfa08
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Use a C comment, not an assembly comment.
2000-03-26 20:29:55 +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
e675032fec
(elf_machine_runtime_setup): DT_PLTGOT entry is already relocated.
1999-02-20 18:22:38 +00:00
Ulrich Drepper
3e3649f6e2
(elf_machine_fixup_plt): DT_JMPREL and DT_PLTGOT entries are already
...
relocated.
(elf_machine_rela): Likewise for DT_SYMTAB.
1999-02-20 14:56:45 +00:00
Ulrich Drepper
4fb65d7fc7
(TRAMPOLINE_TEMPLATE): Save and restore all call-clobbered fp regs.
1999-02-08 10:02:37 +00:00
Richard Henderson
831f9aedc4
* sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
...
_dl_main_searchlist not _dl_default_scope to _dl_init_next.
* sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1998-09-11 13:48:14 +00:00
Ulrich Drepper
68d11b268e
(elf_machine_lazy_rel): Change first parameter and use this value.
1998-08-28 22:54:12 +00:00
Ulrich Drepper
ca246d7eef
(elf_machine_runtime_setup): Only set _dl_profile_map if _dl_name_match_p.
...
(RTLD_START): Fix .prologue. Set __libc_stack_end.
1998-06-27 09:50:59 +00:00
Richard Henderson
18a702a8a3
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
...
of the trampoline function into the macro.
* sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
kernel 2.1.82 has this fixed.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
* sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
1998-01-26 22:04:53 +00:00
Ulrich Drepper
9ba537d289
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Remove the 3rd arg and add
...
declaration for _dl_runtime_resolve and _dl_runtime_profile.
1998-01-25 03:51:19 +00:00
Ulrich Drepper
49f3765caf
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Add missing parameters.
1997-12-14 21:53:11 +00:00
Ulrich Drepper
2e67c045f2
(_dl_runtime_resolve): Care for prefix.
...
(_start): Likewise.
1997-12-08 02:50:09 +00:00
Ulrich Drepper
0fc15eae49
(elf_machine_plt_value): New function.
1997-10-12 03:40:09 +00:00
Ulrich Drepper
a8e5f5a44c
(ELF_MACHINE_RELOC_NOPLT): Renamed.
...
(elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
1997-09-27 00:19:38 +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
2ed7206696
(elf_machine_runtime_setup): Add new parameter to enable profiling.
...
(elf_machine_rela): Add new parameter to
1997-07-28 22:06:27 +00:00
Ulrich Drepper
76a2c2cb6a
(elf_machine_runtime_setup): If we are
...
not looking at the new thread-safe .plt, don't be lazy about relocs.
(_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
(elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
1997-05-24 02:10:36 +00:00
Ulrich Drepper
f2d725f3ad
Mirror Roland's recent changes.
1997-03-25 02:22:23 +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
19e7f5a664
update from main archive 970201
1997-02-02 01:49:47 +00:00
Ulrich Drepper
a91492b86e
update from main archive 960105
1997-01-06 22:07:18 +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
11309adfce
update from main archive 960904
1996-09-05 02:48:53 +00:00
Ulrich Drepper
8a7ad1005c
update from main archive 960826
1996-08-27 02:22:22 +00:00
Ulrich Drepper
404e621688
update from main archive 960814
1996-08-15 01:23:29 +00:00
Ulrich Drepper
f526ac60c5
Update from main archive 960811
1996-08-12 02:04:57 +00:00
Roland McGrath
de4931d1d7
Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
...
* sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
i386/dl-machine.h of 960713.
1996-07-16 06:12:11 +00:00
Roland McGrath
2c73b45b63
Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
...
* sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
If this is defined, don't declare _dl_rtld_map as weak, and
don't check for MAP pointing to it. RESOLVE is always null in this
case, so test with #ifdef instead of if.
* libc-symbols.h (symbol_set_declare): Use weak_extern instead of
weak_symbol.
* csu/initfini.c (_init): Likewise.
* locale/setlocale.c (DEFINE_CATEGORY): Likewise.
* misc/efgcvt_r.c: Likewise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1996-07-08 06:17:19 +00:00
Roland McGrath
3ab191fa03
Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
...
* sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
weak.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1996-07-03 18:50:48 +00:00
Roland McGrath
e23ecc5f37
Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
...
* sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
typo/extraneous whitespace.
1996-07-01 22:16:22 +00:00
Roland McGrath
4a5db9e9b5
Thu Jun 27 23:43:22 1996 Richard Henderson <rth@tamu.edu>
...
* sysdeps/alpha/dl-machine.h (elf_machine_rela): The Alpha's
address-of operation and plt format conspire to require all
dynamic relocs to be resolved to actual symbols not plt entries.
1996-06-28 08:56:24 +00:00
Roland McGrath
cac963cdc0
Thu Jun 27 23:43:22 1996 Richard Henderson <rth@tamu.edu>
...
* sysdeps/alpha/dl-machine.h (elf_machine_rela): The Alpha's
address-of operation and plt format conspire to require all
dynamic relocs to be resolved to actual symbols not plt entries.
1996-06-28 06:39:22 +00:00
Roland McGrath
a4c90a421a
Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
...
* sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
A .plt entry now loads the .rela.plt offset directly rather
than making us calculate it.
1996-06-25 03:59:46 +00:00
Roland McGrath
91149d1367
Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
...
* sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
Changed to a 12-byte PLT entry to remove dependency on $gp.
Take a new got_addr parameter.
(elf_machine_rela): Pass the new parameter.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
(RTLD_START): Do normal linkage with program entry.
1996-06-21 04:30:50 +00:00
Roland McGrath
d5e4222a33
Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>
...
* sysdeps/alpha/dl-machine.h: New file.
1996-06-12 04:51:27 +00:00