* config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
authorJim Blandy <jimb@codesourcery.com>
Wed, 23 Mar 2005 15:49:02 +0000 (15:49 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 23 Mar 2005 15:49:02 +0000 (15:49 +0000)
attributes properly.

gas/ChangeLog
gas/config/tc-arm.c

index 6fb07d2..ac6496e 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-23  Jim Blandy  <jimb@redhat.com>
+
+       * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
+       attributes properly.
+
 2005-03-23  Mike Frysinger  <vapier@gentoo.org>
            Nick Clifton  <nickc@redhat.com>
 
index 17a605d..19faa62 100644 (file)
@@ -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.  */