diff options
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 9 |
2 files changed, 7 insertions, 7 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1310d14..58d6984 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2014-07-07 Nick Clifton <nickc@redhat.com> + + * readelf.c (get_symbol_type): Revert accidental change to + detection of thumb function symbols. + 2014-07-04 Alan Modra <amodra@gmail.com> * configure.ac: Rename from configure.in. diff --git a/binutils/readelf.c b/binutils/readelf.c index d85786e..f038422 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -9297,13 +9297,8 @@ get_symbol_type (unsigned int type) default: if (type >= STT_LOPROC && type <= STT_HIPROC) { - if (elf_header.e_machine == EM_ARM) - { - if (type == STT_ARM_TFUNC) - return "THUMB_FUNC"; - if (type == STT_ARM_16BIT) - return "THUMB_LABEL"; - } + if (elf_header.e_machine == EM_ARM && type == STT_ARM_TFUNC) + return "THUMB_FUNC"; if (elf_header.e_machine == EM_SPARCV9 && type == STT_REGISTER) return "REGISTER"; |