aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorMatthieu Longo <matthieu.longo@arm.com>2025-01-20 19:34:48 +0000
committerMatthieu Longo <matthieu.longo@arm.com>2025-03-04 11:02:02 +0000
commit1efbe98a4d290aebc0f59f00906fe1e0d0bd9cfd (patch)
tree4695501c271a39d894fd20a9171186900947b380 /binutils/readelf.c
parent5d526bdf5f3007c01cfdcc1b3d2ec5365efd6eab (diff)
downloadbinutils-1efbe98a4d290aebc0f59f00906fe1e0d0bd9cfd.zip
binutils-1efbe98a4d290aebc0f59f00906fe1e0d0bd9cfd.tar.gz
binutils-1efbe98a4d290aebc0f59f00906fe1e0d0bd9cfd.tar.bz2
clean-up: fix conflicting symbol with unknown from bfd/elf-bfd.h
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index e16c3c5..56d6614 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -3534,7 +3534,7 @@ static char *
decode_ARM_machine_flags (char *out, unsigned e_flags)
{
unsigned eabi;
- bool unknown = false;
+ bool unknown_abi = false;
eabi = EF_ARM_EABI_VERSION (e_flags);
e_flags &= ~ EF_ARM_EABIMASK;
@@ -3558,7 +3558,7 @@ decode_ARM_machine_flags (char *out, unsigned e_flags)
default:
out = stpcpy (out, ", <unrecognized EABI>");
if (e_flags)
- unknown = true;
+ unknown_abi = true;
break;
case EF_ARM_EABI_VER1:
@@ -3578,7 +3578,7 @@ decode_ARM_machine_flags (char *out, unsigned e_flags)
break;
default:
- unknown = true;
+ unknown_abi = true;
break;
}
}
@@ -3609,7 +3609,7 @@ decode_ARM_machine_flags (char *out, unsigned e_flags)
break;
default:
- unknown = true;
+ unknown_abi = true;
break;
}
}
@@ -3640,7 +3640,7 @@ decode_ARM_machine_flags (char *out, unsigned e_flags)
break;
default:
- unknown = true;
+ unknown_abi = true;
break;
}
}
@@ -3675,7 +3675,7 @@ decode_ARM_machine_flags (char *out, unsigned e_flags)
break;
default:
- unknown = true;
+ unknown_abi = true;
break;
}
}
@@ -3730,13 +3730,13 @@ decode_ARM_machine_flags (char *out, unsigned e_flags)
break;
default:
- unknown = true;
+ unknown_abi = true;
break;
}
}
}
- if (unknown)
+ if (unknown_abi)
out = stpcpy (out,_(", <unknown>"));
return out;
}