Remove an accidental commit.
authorNick Clifton <nickc@redhat.com>
Mon, 7 Jul 2014 16:46:05 +0000 (17:46 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 7 Jul 2014 16:46:05 +0000 (17:46 +0100)
* readelf.c (get_symbol_type): Revert accidental change to
detection of thumb function symbols.

binutils/ChangeLog
binutils/readelf.c

index 1310d14c0be9f6c40784f1d604f0a7f1b1d56477..58d698407a6e702b371784740dc788c6e53ed75d 100644 (file)
@@ -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.
index d85786e28a1be907cce6f1838a3214a26f677b18..f038422632853ad878cd340bb2b11b86127ebef7 100644 (file)
@@ -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";