mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-18 00:41:06 +00:00
(elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt
t argument to silence GCC.
This commit is contained in:
parent
f37f52a546
commit
4ce0ef7a86
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user