Detect symbols typed as thumb functions.

This commit is contained in:
Nick Clifton 1999-06-16 10:03:59 +00:00
parent 5876e06d81
commit df75f1af9c
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,8 @@
1999-06-16 Nick Clifton <nickc@cygnus.com>
* readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb
functions.
1999-06-14 Nick Clifton <nickc@cygnus.com>
* objdump.c (disassembler_options): New variable.

View file

@ -3390,7 +3390,12 @@ get_symbol_type (type)
case STT_FILE: return _("FILE");
default:
if (type >= STT_LOPROC && type <= STT_HIPROC)
{
if (elf_header.e_machine == EM_ARM && type == STT_ARM_TFUNC)
return _("THUMB_FUNC");
sprintf (buff, _("<processor specific>: %d"), type);
}
else if (type >= STT_LOOS && type <= STT_HIOS)
sprintf (buff, _("<OS specific>: %d"), type);
else