This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] dl-machine.h alpha/sparc fixes


Hi!

Callers of elf_machine_fixup_plt were not updated :(.

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.

--- libc/sysdeps/alpha/dl-machine.h.jj	Mon May  8 14:30:46 2000
+++ libc/sysdeps/alpha/dl-machine.h	Mon May  8 16:40:01 2000
@@ -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;
--- libc/sysdeps/sparc/sparc32/dl-machine.h.jj	Mon May  8 14:30:55 2000
+++ libc/sysdeps/sparc/sparc32/dl-machine.h	Mon May  8 16:33:26 2000
@@ -396,7 +396,7 @@ elf_machine_rela (struct link_map *map, 
 	  *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;
--- libc/sysdeps/sparc/sparc64/dl-machine.h.jj	Mon May  8 14:30:55 2000
+++ libc/sysdeps/sparc/sparc64/dl-machine.h	Mon May  8 16:34:07 2000
@@ -313,7 +313,7 @@ elf_machine_rela (struct link_map *map, 
 	  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:

	Jakub

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]