X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Felf32-i386.c;h=90efba8dc9bc824f2e0397f6eb3bb4fedf225d12;hb=fc633e5b9780011f74f2c23837968e43e262a239;hp=0153fa872eb98704a98356ac5198b209b472cb18;hpb=72ec28b8afa357cdde70c612b4e0e9f37a34f8e4;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 0153fa872e..90efba8dc9 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -1319,7 +1319,8 @@ elf_i386_relocate_section (output_bfd, info, input_bfd, input_section, { if (! ((*info->callbacks->undefined_symbol) (info, h->root.root.string, input_bfd, - input_section, rel->r_offset))) + input_section, rel->r_offset, + (!info->shared || info->no_undefined)))) return false; relocation = 0; }