From d110d6a2e4bbef0a8b0fb00f4f41137341e23492 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 23 Mar 2005 15:49:02 +0000 Subject: * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding attributes properly. --- gas/ChangeLog | 5 +++++ gas/config/tc-arm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 6fb07d2..ac6496e 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 17a605d..19faa62 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. */ -- cgit v1.1