From: Jim Blandy Date: Wed, 23 Mar 2005 15:49:02 +0000 (+0000) Subject: * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d110d6a2e4bbef0a8b0fb00f4f41137341e23492;p=binutils-gdb.git * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding attributes properly. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 6fb07d2f925..ac6496ebf66 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2005-03-23 Jim Blandy + + * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding + attributes properly. + 2005-03-23 Mike Frysinger Nick Clifton diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 17a605d543f..19faa62e23d 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -13703,7 +13703,7 @@ arm_adjust_symtab (void) elf_symbol_type * elf_sym; elf_sym = elf_symbol (symbol_get_bfdsym (sym)); - bind = ELF_ST_BIND (elf_sym); + bind = ELF_ST_BIND (elf_sym->internal_elf_sym.st_info); /* If it's a .thumb_func, declare it as so, otherwise tag label as .code 16. */