aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-07-07 17:46:05 +0100
committerNick Clifton <nickc@redhat.com>2014-07-07 17:46:05 +0100
commit3510a7b805f8ad1345b9d2671a21a40a09d9f2a2 (patch)
tree640fa640a64a030de8b02145147619c78ffb5349 /binutils
parent75f580857a7c65525a98a701c65d0814be04155f (diff)
downloadgdb-3510a7b805f8ad1345b9d2671a21a40a09d9f2a2.zip
gdb-3510a7b805f8ad1345b9d2671a21a40a09d9f2a2.tar.gz
gdb-3510a7b805f8ad1345b9d2671a21a40a09d9f2a2.tar.bz2
Remove an accidental commit.
* readelf.c (get_symbol_type): Revert accidental change to detection of thumb function symbols.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c9
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";