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 1310d14..58d6984 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 d85786e..f038422 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";