aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-11-19 10:09:21 +0000
committerNick Clifton <nickc@redhat.com>2008-11-19 10:09:21 +0000
commitc91e322a293ce2af9687b5926bb45b1de83e4b13 (patch)
treec1c8e5620c90e879db355730c7fea84eb17f899f /bfd/elf.c
parentaf1fb11f4b61d683484fdeff07b4f6034c302a71 (diff)
downloadgdb-c91e322a293ce2af9687b5926bb45b1de83e4b13.zip
gdb-c91e322a293ce2af9687b5926bb45b1de83e4b13.tar.gz
gdb-c91e322a293ce2af9687b5926bb45b1de83e4b13.tar.bz2
* elf.c (swap_out_syms) [USE_STT_COMMON]: Fix syntax error.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 4525faa..70ed765 100644
--- 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)