* elf.c (swap_out_syms) [USE_STT_COMMON]: Fix syntax error.

This commit is contained in:
Nick Clifton 2008-11-19 10:09:21 +00:00
parent af1fb11f4b
commit c91e322a29
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2008-11-19 Nix <nix@esperi.org.uk>
* elf.c (swap_out_syms) [USE_STT_COMMON]: Fix syntax error.
2008-11-19 Nick Clifton <nickc@redhat.com>
PR 7027

View file

@ -6460,9 +6460,8 @@ Unable to find equivalent output section for symbol '%s' from section '%s'"),
if (type == STT_OBJECT)
sym.st_info = ELF_ST_INFO (STB_GLOBAL, STT_COMMON);
else
#else
sym.st_info = ELF_ST_INFO (STB_GLOBAL, type);
#endif
sym.st_info = ELF_ST_INFO (STB_GLOBAL, type);
}
else if (bfd_is_und_section (syms[idx]->section))
sym.st_info = ELF_ST_INFO (((flags & BSF_WEAK)