]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2000-05-08 Jakub Jelinek <jakub@redhat.com>
authorAndreas Jaeger <aj@suse.de>
Mon, 8 May 2000 15:40:26 +0000 (15:40 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 8 May 2000 15:40:26 +0000 (15:40 +0000)
* 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.

sysdeps/alpha/dl-machine.h
sysdeps/sparc/sparc32/dl-machine.h
sysdeps/sparc/sparc64/dl-machine.h

index 814e3552f1ff70c1674aa016dbf866788e067e66..e20493b33fccca90ff0b2e991cb49edf57312fe4 100644 (file)
@@ -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;
index 83deb165947269390777a332f16b1d7c61789aa4..e771676f0fdb8c3336d1c02dd84cf2238c30e235 100644 (file)
@@ -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;
index 4e8447214abcf7d5143e6e5433b4d73ab5361da6..552076ac1c3a0e18418d2fb2a71de45586eb2b8e 100644 (file)
@@ -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