ix86: drop dead part of a conditional in elf_i386_convert_load_reloc()

A few lines up we would have already bailed when "baseless && is_pic".
This commit is contained in:
Jan Beulich
2025-02-21 10:27:35 +01:00
parent 5649b9dc86
commit 30b64be054

View File

@@ -1322,9 +1322,9 @@ elf_i386_convert_load_reloc (bfd *abfd, Elf_Internal_Shdr *symtab_hdr,
}
}
/* Convert to R_386_32 if PIC is false or there is no base
register. */
to_reloc_32 = !is_pic || baseless;
/* Convert to R_386_32 if PIC is false (if PIC is true we already know
there is a base register). */
to_reloc_32 = !is_pic;
eh = elf_x86_hash_entry (h);