When compiled on a 32-bit host, a temp var is too small for possible
64-bit values to be calculated.
* readelf.c (print_gnu_build_attribute_name): Make "bytes"
unsigned long long.
+2020-08-30 Alan Modra <amodra@gmail.com>
+
+ * readelf.c (print_gnu_build_attribute_name): Use unsigned long
+ long for "bytes".
+
2020-08-28 Nick Clifton <nickc@redhat.com>
PR 26548
while (bytes --)
{
- unsigned long byte = (* name ++) & 0xff;
+ unsigned long long byte = *name++ & 0xff;
val |= byte << shift;
shift += 8;