• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision919383ac718c2a3187ee2a9ad659daa22da26258 (tree)
Time2017-04-26 05:10:53
AuthorMaciej W. Rozycki <macro@imgt...>
CommiterMaciej W. Rozycki

Log Message

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 592458412fb2 in the course of addressing PR binutils/12855.

binutils/
* readelf.c (process_mips_specific): Remove null GOT data check.

Change Summary

Incremental Difference

--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,9 @@
11 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
22
3+ * readelf.c (process_mips_specific): Remove null GOT data check.
4+
5+2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
6+
37 * testsuite/binutils-all/mips/mips16-alias.d: New test.
48 * testsuite/binutils-all/mips/mips16-noalias.d: New test.
59 * testsuite/binutils-all/mips/mips16-alias.s: New test source.
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -15483,8 +15483,7 @@ process_mips_specific (FILE * file)
1548315483 data = (unsigned char *) get_data (NULL, file, offset,
1548415484 global_end - pltgot, 1,
1548515485 _("Global Offset Table data"));
15486- if (data == NULL)
15487- return FALSE;
15486+ /* PR 12855: Null data is handled gracefully throughout. */
1548815487 data_end = data + (global_end - pltgot);
1548915488
1549015489 printf (_("\nPrimary GOT:\n"));