mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
* arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE
instead of checking for STT_ARM_TFUNC symbol type.
This commit is contained in:
parent
d0289b45c2
commit
467d42c48d
@ -1,3 +1,8 @@
|
||||
2011-03-25 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||
|
||||
* arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE
|
||||
instead of checking for STT_ARM_TFUNC symbol type.
|
||||
|
||||
2011-03-25 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* linespec.c (symbol_found): Restore line-based result for
|
||||
|
@ -7793,10 +7793,8 @@ coff_sym_is_thumb (int val)
|
||||
static void
|
||||
arm_elf_make_msymbol_special(asymbol *sym, struct minimal_symbol *msym)
|
||||
{
|
||||
/* Thumb symbols are of type STT_LOPROC, (synonymous with
|
||||
STT_ARM_TFUNC). */
|
||||
if (ELF_ST_TYPE (((elf_symbol_type *)sym)->internal_elf_sym.st_info)
|
||||
== STT_LOPROC)
|
||||
if (ARM_SYM_BRANCH_TYPE (&((elf_symbol_type *)sym)->internal_elf_sym)
|
||||
== ST_BRANCH_TO_THUMB)
|
||||
MSYMBOL_SET_SPECIAL (msym);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user