MIPS/readelf: Remove extraneous null GOT data check
Null data is handled gracefully throughout in MIPS GOT processing, with
addresses printed normally and unavailable data shown as `<unknown>' by
`print_mips_got_entry', and special processing code for GOT[1] doing an
explicit check. Remove an unwanted null GOT data check then, introduced
with commit 592458412f in the course of addressing PR binutils/12855.
binutils/
* readelf.c (process_mips_specific): Remove null GOT data check.
This commit is contained in:
parent
126124cc0f
commit
919383ac71
@ -1,3 +1,7 @@
|
||||
2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
* readelf.c (process_mips_specific): Remove null GOT data check.
|
||||
|
||||
2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
* testsuite/binutils-all/mips/mips16-alias.d: New test.
|
||||
|
||||
@ -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"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user