From c91e322a293ce2af9687b5926bb45b1de83e4b13 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 19 Nov 2008 10:09:21 +0000 Subject: [PATCH] * elf.c (swap_out_syms) [USE_STT_COMMON]: Fix syntax error. --- bfd/ChangeLog | 4 ++++ bfd/elf.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index dfbf47ac384..8377e1128ab 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2008-11-19 Nix + + * elf.c (swap_out_syms) [USE_STT_COMMON]: Fix syntax error. + 2008-11-19 Nick Clifton PR 7027 diff --git a/bfd/elf.c b/bfd/elf.c index 4525faab3b4..70ed7656d0b 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) -- 2.30.2