aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-07-14 16:41:44 +0000
committerUlrich Drepper <drepper@redhat.com>2004-07-14 16:41:44 +0000
commit6c1232e27d521f5fc63ea56e4fe9b32e16887c03 (patch)
tree75524f7c9aae06fe90096e76ac899b5fee45212f /sysdeps
parent4e9f676f9f6451e577f9c127ee1d9d9aa9c6a3fe (diff)
downloadglibc-6c1232e27d521f5fc63ea56e4fe9b32e16887c03.tar
glibc-6c1232e27d521f5fc63ea56e4fe9b32e16887c03.tar.gz
glibc-6c1232e27d521f5fc63ea56e4fe9b32e16887c03.tar.bz2
glibc-6c1232e27d521f5fc63ea56e4fe9b32e16887c03.zip
Update.
2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here. (elf_machine_rela_relative): Remove unused valiable.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/sh/dl-machine.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sysdeps/sh/dl-machine.h b/sysdeps/sh/dl-machine.h
index 834b81a4c9..d3cd73762e 100644
--- a/sysdeps/sh/dl-machine.h
+++ b/sysdeps/sh/dl-machine.h
@@ -364,12 +364,7 @@ _dl_start_user:\n\
add r1,r0\n\
jsr @r0\n\
nop\n\
-1: ! Clear the startup flag.\n\
- mov.l .L_dl_starting_up,r0\n\
- mov.l @(r0,r12),r0\n\
- mov #0,r2\n\
- mov.l r2,@r0\n\
- ! Pass our finalizer function to the user in r4, as per ELF ABI.\n\
+1: ! Pass our finalizer function to the user in r4, as per ELF ABI.\n\
mov.l .L_dl_fini,r0\n\
mov.l @(r0,r12),r4\n\
! Jump to the user's entry point.\n\
@@ -384,8 +379,6 @@ _dl_start_user:\n\
.long _dl_init_internal@PLT\n\
.L_dl_loaded:\n\
.long _rtld_local@GOT\n\
-.L_dl_starting_up:\n\
- .long _dl_starting_up@GOT\n\
.L_dl_fini:\n\
.long _dl_fini@GOT\n\
.previous\n\
@@ -629,7 +622,6 @@ static inline void
elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
void *const reloc_addr_arg)
{
- Elf32_Addr *const reloc_addr = reloc_addr_arg;
Elf32_Addr value;
if (reloc->r_addend)