* elf.c (swap_out_syms) [USE_STT_COMMON]: Fix syntax error.
authorNick Clifton <nickc@redhat.com>
Wed, 19 Nov 2008 10:09:21 +0000 (10:09 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 19 Nov 2008 10:09:21 +0000 (10:09 +0000)
bfd/ChangeLog
bfd/elf.c

index dfbf47ac384ed27c5d54ae7446a17236b0334c05..8377e1128ab03e7ecee37b0cf281d575609d6671 100644 (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
index 4525faab3b404623a7241785400caca31cc54d28..70ed7656d0bfee8aada78425608c9b0f5503712a 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -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)