diff options
author | Andreas Jaeger <aj@suse.de> | 2000-05-08 15:40:26 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-05-08 15:40:26 +0000 |
commit | b567aa1258efe86abc8d4093aae0b663ea855783 (patch) | |
tree | 07b5e4294864edc90ca76f88f4193a04865d5583 /sysdeps | |
parent | 3b3938c9f4cbc473ba598690710465d6e115b30f (diff) | |
download | glibc-b567aa1258efe86abc8d4093aae0b663ea855783.tar.gz glibc-b567aa1258efe86abc8d4093aae0b663ea855783.tar.xz glibc-b567aa1258efe86abc8d4093aae0b663ea855783.zip |
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.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/alpha/dl-machine.h | 4 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/dl-machine.h | 6 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/dl-machine.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h index 814e3552f1..e20493b33f 100644 --- a/sysdeps/alpha/dl-machine.h +++ b/sysdeps/alpha/dl-machine.h @@ -252,7 +252,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) .end " #tramp_name) #ifndef PROF -#define ELF_MACHINE_RUNTIME_TRAMPOLINE \ +#define ELF_MACHINE_RUNTIME_TRAMPOLINE \ TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup, imb); \ TRAMPOLINE_TEMPLATE (_dl_runtime_profile, profile_fixup, /* nop */); #else @@ -497,7 +497,7 @@ elf_machine_rela (struct link_map *map, if (r_type == R_ALPHA_GLOB_DAT) *reloc_addr = sym_value; 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) { sym_value += *reloc_addr; diff --git a/sysdeps/sparc/sparc32/dl-machine.h b/sysdeps/sparc/sparc32/dl-machine.h index 83deb16594..e771676f0f 100644 --- a/sysdeps/sparc/sparc32/dl-machine.h +++ b/sysdeps/sparc/sparc32/dl-machine.h @@ -125,7 +125,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) /* The beginning of the PLT does: - save %sp, -64, %sp + save %sp, -64, %sp pltpc: call _dl_runtime_resolve nop .word MAP @@ -168,7 +168,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) .previous") #ifndef PROF -#define ELF_MACHINE_RUNTIME_TRAMPOLINE \ +#define ELF_MACHINE_RUNTIME_TRAMPOLINE \ TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup); \ TRAMPOLINE_TEMPLATE (_dl_runtime_profile, profile_fixup); #else @@ -396,7 +396,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc, *reloc_addr = value; break; 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; case R_SPARC_8: *(char *) reloc_addr = value; diff --git a/sysdeps/sparc/sparc64/dl-machine.h b/sysdeps/sparc/sparc64/dl-machine.h index 4e8447214a..552076ac1c 100644 --- a/sysdeps/sparc/sparc64/dl-machine.h +++ b/sysdeps/sparc/sparc64/dl-machine.h @@ -313,7 +313,7 @@ elf_machine_rela (struct link_map *map, const Elf64_Rela *reloc, break; 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; default: @@ -486,7 +486,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) .previous"); #ifndef PROF -#define ELF_MACHINE_RUNTIME_TRAMPOLINE \ +#define ELF_MACHINE_RUNTIME_TRAMPOLINE \ TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup); \ TRAMPOLINE_TEMPLATE (_dl_runtime_profile, profile_fixup); #else |