From 3510a7b805f8ad1345b9d2671a21a40a09d9f2a2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 7 Jul 2014 17:46:05 +0100 Subject: Remove an accidental commit. * readelf.c (get_symbol_type): Revert accidental change to detection of thumb function symbols. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'binutils') 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 + + * readelf.c (get_symbol_type): Revert accidental change to + detection of thumb function symbols. + 2014-07-04 Alan Modra * 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"; -- cgit v1.1