This is the mail archive of the libc-hacker@sources.redhat.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]

Another warning fix (for alpha)



FYI: I've committed the appended patch.

Andreas

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.

============================================================
Index: sysdeps/alpha/dl-machine.h
--- sysdeps/alpha/dl-machine.h	2000/07/01 05:08:03	1.43
+++ sysdeps/alpha/dl-machine.h	2000/07/18 14:14:21
@@ -497,7 +497,7 @@
       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;

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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