From: Andreas Jaeger Date: Tue, 18 Jul 2000 14:14:51 +0000 (+0000) Subject: (elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt X-Git-Tag: glibc-2.16-ports-before-merge~2316 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ce0ef7a866f767adefa3c1b62874f18f0406d21;p=thirdparty%2Fglibc.git (elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt t argument to silence GCC. --- diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h index a7f13e0192a..33c32fa5e80 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;