diff options
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 03cfc97..6373852 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -18609,12 +18609,6 @@ decode_x86_compat_2_isa (unsigned int bitmask) static void decode_x86_isa (unsigned int bitmask) { - if (!bitmask) - { - printf (_("x86-64-baseline")); - return; - } - while (bitmask) { unsigned int bit = bitmask & (- bitmask); @@ -18622,6 +18616,9 @@ decode_x86_isa (unsigned int bitmask) bitmask &= ~ bit; switch (bit) { + case GNU_PROPERTY_X86_ISA_1_BASELINE: + printf ("x86-64-baseline"); + break; case GNU_PROPERTY_X86_ISA_1_V2: printf ("x86-64-v2"); break; |