1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

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.
This commit is contained in:
Andreas Jaeger
2000-05-08 15:40:26 +00:00
parent 3b3938c9f4
commit b567aa1258
3 changed files with 7 additions and 7 deletions

View File

@ -252,7 +252,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
.end " #tramp_name) .end " #tramp_name)
#ifndef PROF #ifndef PROF
#define ELF_MACHINE_RUNTIME_TRAMPOLINE \ #define ELF_MACHINE_RUNTIME_TRAMPOLINE \
TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup, imb); \ TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup, imb); \
TRAMPOLINE_TEMPLATE (_dl_runtime_profile, profile_fixup, /* nop */); TRAMPOLINE_TEMPLATE (_dl_runtime_profile, profile_fixup, /* nop */);
#else #else
@ -497,7 +497,7 @@ elf_machine_rela (struct link_map *map,
if (r_type == R_ALPHA_GLOB_DAT) if (r_type == R_ALPHA_GLOB_DAT)
*reloc_addr = sym_value; *reloc_addr = sym_value;
else if (r_type == R_ALPHA_JMP_SLOT) else if (r_type == R_ALPHA_JMP_SLOT)
elf_machine_fixup_plt (map, reloc, reloc_addr, sym_value); elf_machine_fixup_plt (map, NULL, reloc, reloc_addr, sym_value);
else if (r_type == R_ALPHA_REFQUAD) else if (r_type == R_ALPHA_REFQUAD)
{ {
sym_value += *reloc_addr; sym_value += *reloc_addr;

View File

@ -125,7 +125,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
/* The beginning of the PLT does: /* The beginning of the PLT does:
save %sp, -64, %sp save %sp, -64, %sp
pltpc: call _dl_runtime_resolve pltpc: call _dl_runtime_resolve
nop nop
.word MAP .word MAP
@ -168,7 +168,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
.previous") .previous")
#ifndef PROF #ifndef PROF
#define ELF_MACHINE_RUNTIME_TRAMPOLINE \ #define ELF_MACHINE_RUNTIME_TRAMPOLINE \
TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup); \ TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup); \
TRAMPOLINE_TEMPLATE (_dl_runtime_profile, profile_fixup); TRAMPOLINE_TEMPLATE (_dl_runtime_profile, profile_fixup);
#else #else
@ -396,7 +396,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
*reloc_addr = value; *reloc_addr = value;
break; break;
case R_SPARC_JMP_SLOT: case R_SPARC_JMP_SLOT:
elf_machine_fixup_plt(map, reloc, reloc_addr, value); elf_machine_fixup_plt(map, NULL, reloc, reloc_addr, value);
break; break;
case R_SPARC_8: case R_SPARC_8:
*(char *) reloc_addr = value; *(char *) reloc_addr = value;

View File

@ -313,7 +313,7 @@ elf_machine_rela (struct link_map *map, const Elf64_Rela *reloc,
break; break;
case R_SPARC_JMP_SLOT: case R_SPARC_JMP_SLOT:
elf_machine_fixup_plt(map, reloc, reloc_addr, value); elf_machine_fixup_plt(map, NULL, reloc, reloc_addr, value);
break; break;
default: default:
@ -486,7 +486,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
.previous"); .previous");
#ifndef PROF #ifndef PROF
#define ELF_MACHINE_RUNTIME_TRAMPOLINE \ #define ELF_MACHINE_RUNTIME_TRAMPOLINE \
TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup); \ TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup); \
TRAMPOLINE_TEMPLATE (_dl_runtime_profile, profile_fixup); TRAMPOLINE_TEMPLATE (_dl_runtime_profile, profile_fixup);
#else #else