diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 4cffafc..e40a8a2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * config/tc-arm.c (arm_adjust_symtab): Set the branch type + for Thumb symbols. + 2011-03-11 Nick Clifton <nickc@redhat.com> * remap.c (remap_debug_filename): Always allocate a buffer for the diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index eed48f1..8a70c37 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -22011,8 +22011,8 @@ arm_adjust_symtab (void) /* If it's a .thumb_func, declare it as so, otherwise tag label as .code 16. */ if (THUMB_IS_FUNC (sym)) - elf_sym->internal_elf_sym.st_info = - ELF_ST_INFO (bind, STT_ARM_TFUNC); + elf_sym->internal_elf_sym.st_target_internal + = ST_BRANCH_TO_THUMB; else if (EF_ARM_EABI_VERSION (meabi_flags) < EF_ARM_EABI_VER4) elf_sym->internal_elf_sym.st_info = ELF_ST_INFO (bind, STT_ARM_16BIT); |