diff options
author | Nick Clifton <nickc@redhat.com> | 2014-07-07 17:46:05 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-07-07 17:46:05 +0100 |
commit | 3510a7b805f8ad1345b9d2671a21a40a09d9f2a2 (patch) | |
tree | 640fa640a64a030de8b02145147619c78ffb5349 /binutils/readelf.c | |
parent | 75f580857a7c65525a98a701c65d0814be04155f (diff) | |
download | gdb-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/readelf.c')
-rw-r--r-- | binutils/readelf.c | 9 |
1 files changed, 2 insertions, 7 deletions
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"; |