diff options
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 9510a8d..811c529 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -19907,17 +19907,8 @@ print_gnu_build_attribute_description (Elf_Internal_Note * pnote, break; case 8: - if (is_32bit_elf) - { - /* FIXME: We should check that version 3+ notes are being used here... */ - start = byte_get ((unsigned char *) pnote->descdata, 4); - end = byte_get ((unsigned char *) pnote->descdata + 4, 4); - } - else - { - start = byte_get ((unsigned char *) pnote->descdata, 8); - end = 0; - } + start = byte_get ((unsigned char *) pnote->descdata, 4); + end = byte_get ((unsigned char *) pnote->descdata + 4, 4); break; case 16: |