about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-07-18 14:55:31 +0000
committerAndreas Jaeger <aj@suse.de>2000-07-18 14:55:31 +0000
commit9f791dcf5d8000189c35a460a5224bbaff6f366c (patch)
treeeebd2581fba3061c48bcb4050988f524bb846bfc
parent80f41baaef3ec249c797d2aaf6f8b90343152ccd (diff)
downloadglibc-9f791dcf5d8000189c35a460a5224bbaff6f366c.tar.gz
glibc-9f791dcf5d8000189c35a460a5224bbaff6f366c.tar.xz
glibc-9f791dcf5d8000189c35a460a5224bbaff6f366c.zip
Update.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
	NULL to elf_machine_fixup_plt t argument to silence GCC.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/alpha/dl-machine.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a5ec8fd295..3f8ed089ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-07-18  Andreas Jaeger  <aj@suse.de>
 
+	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
+	NULL to elf_machine_fixup_plt t argument to silence GCC.
+
 	* include/string.h: Add prototype for __memchr.
 
 	* sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h
index a7f13e0192..33c32fa5e8 100644
--- a/sysdeps/alpha/dl-machine.h
+++ b/sysdeps/alpha/dl-machine.h
@@ -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, NULL, reloc, reloc_addr, sym_value);
+	elf_machine_fixup_plt (map, 0, reloc, reloc_addr, sym_value);
       else if (r_type == R_ALPHA_REFQUAD)
 	{
 	  void *reloc_addr_1 = reloc_addr;