aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2005-03-23 15:49:02 +0000
committerJim Blandy <jimb@codesourcery.com>2005-03-23 15:49:02 +0000
commitd110d6a2e4bbef0a8b0fb00f4f41137341e23492 (patch)
tree935b878734f1a94dad6dab18b164434ce3261cdf /gas
parented84e6956070f271fa17199847375d81e75c1a46 (diff)
downloadgdb-d110d6a2e4bbef0a8b0fb00f4f41137341e23492.zip
gdb-d110d6a2e4bbef0a8b0fb00f4f41137341e23492.tar.gz
gdb-d110d6a2e4bbef0a8b0fb00f4f41137341e23492.tar.bz2
* config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
attributes properly.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c2
2 files changed, 6 insertions, 1 deletions
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 <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>
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. */