Another warning fix (for alpha)
Andreas Jaeger
aj@suse.de
Tue Jul 18 07:15:00 GMT 2000
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
More information about the Libc-hacker
mailing list