diff options
author | Nick Clifton <nickc@redhat.com> | 2017-06-14 16:50:03 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-06-14 16:50:03 +0100 |
commit | ae87f7e73eba29bd38b3a9684a10b948ed715612 (patch) | |
tree | 2623d2073e3b3b8ff831da059af8e7d019833d51 /ld/testsuite/ld-nds32 | |
parent | 6394c606997f88acfc80de4dff33a4ae2de987b4 (diff) | |
download | gdb-ae87f7e73eba29bd38b3a9684a10b948ed715612.zip gdb-ae87f7e73eba29bd38b3a9684a10b948ed715612.tar.gz gdb-ae87f7e73eba29bd38b3a9684a10b948ed715612.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite/ld-nds32')
-rw-r--r-- | ld/testsuite/ld-nds32/diff.d | 6 |
1 files changed, 3 insertions, 3 deletions
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 <WORD> (7e 00 00 00|00 00 00 7e).* -00008004 <HALF> (7e 00 7e fe|00 7e 7e fe).* -00008006 <BYTE> 7e fe 00 fe.* -00008007 <ULEB128> fe 00.* +00008004 <HALF> (7e 00|00 7e).* +00008006 <BYTE> 7e.* +00008007 <ULEB128> fe.* ... 00008009 <ULEB128_2> fe 00.* .* |