PR binutils/21159
* readelf.c (dump_section_as_strings): Reset the start address if
no decompression is perfromed.
(dump_section_as_bytes): Likewise.
+2017-02-14 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/21159
+ * readelf.c (dump_section_as_strings): Reset the start address if
+ no decompression is perfromed.
+ (dump_section_as_bytes): Likewise.
+
2017-02-14 Nick Clifton <nickc@redhat.com>
PR binutils/21158
return;
}
}
+ else
+ start = real_start;
}
/* If the section being dumped has relocations against it the user might
{
if (uncompress_section_contents (& start, uncompressed_size,
& new_size))
- section_size = new_size;
+ {
+ section_size = new_size;
+ }
else
{
error (_("Unable to decompress section %s\n"),
printable_section_name (section));
+ /* FIXME: Print the section anyway ? */
return;
}
}
+ else
+ start = real_start;
}
if (relocate)
return 0;
}
}
+
section->size = size;
}