From: Andreas Jaeger Date: Mon, 8 May 2000 15:40:26 +0000 (+0000) Subject: 2000-05-08 Jakub Jelinek X-Git-Tag: glibc-2.16-ports-before-merge~2369 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21dd216cd4ee9400ac9c286ff5758bc595dd41b7;p=thirdparty%2Fglibc.git 2000-05-08 Jakub Jelinek * 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. --- diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h index 814e3552f1f..e20493b33fc 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;