From ae87f7e73eba29bd38b3a9684a10b948ed715612 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 14 Jun 2017 16:50:03 +0100 Subject: Fix address violation when disassembling a corrupt binary. PR binutils/21580 binutils * objdump.c (disassemble_bytes): Check for buffer overrun when printing out rae insns. ld * testsuite/ld-nds32/diff.d: Adjust expected output. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-nds32/diff.d | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 8d52464..72777ee 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-06-14 Nick Clifton + + PR binutils/21580 + * testsuite/ld-nds32/diff.d: Adjust expected output. + 2017-06-14 H.J. Lu PR ld/20022 diff --git a/ld/testsuite/ld-nds32/diff.d b/ld/testsuite/ld-nds32/diff.d index ef79586..1aff736 100644 --- a/ld/testsuite/ld-nds32/diff.d +++ b/ld/testsuite/ld-nds32/diff.d @@ -7,9 +7,9 @@ Disassembly of section .data: 00008000 (7e 00 00 00|00 00 00 7e).* -00008004 (7e 00 7e fe|00 7e 7e fe).* -00008006 7e fe 00 fe.* -00008007 fe 00.* +00008004 (7e 00|00 7e).* +00008006 7e.* +00008007 fe.* ... 00008009 fe 00.* .* -- cgit v1.1