diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d5b515fd85..0b6a71268f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2017-04-25 Maciej W. Rozycki + + * readelf.c (process_mips_specific): Remove null GOT data check. + 2017-04-25 Maciej W. Rozycki * testsuite/binutils-all/mips/mips16-alias.d: New test. diff --git a/binutils/readelf.c b/binutils/readelf.c index e5756672f4..d4c4137d3d 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -15483,8 +15483,7 @@ process_mips_specific (FILE * file) data = (unsigned char *) get_data (NULL, file, offset, global_end - pltgot, 1, _("Global Offset Table data")); - if (data == NULL) - return FALSE; + /* PR 12855: Null data is handled gracefully throughout. */ data_end = data + (global_end - pltgot); printf (_("\nPrimary GOT:\n"));