* 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 6fb07d2f925ad027dfb2c628bf8c856cf5ae0d3b..ac6496ebf66402fa6add8f617548a7f469a9d338 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 17a605d543fe684307e32fe787f4319930528d86..19faa62e23d2cdb5684ab56a7fa65c8813f1eae7 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.  */