binutils-gdb/ld/testsuite/ld-nds32/diff.d
Nick Clifton ae87f7e73e 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.
2017-06-14 16:50:03 +01:00

17 lines
338 B
Makefile

#as: -Os
#ld: -static --relax -T $srcdir/$subdir/diff.ld
#objdump: -D --prefix-addresses -j .data --show-raw-insn
.*: file format .*nds32.*
Disassembly of section .data:
00008000 <WORD> (7e 00 00 00|00 00 00 7e).*
00008004 <HALF> (7e 00|00 7e).*
00008006 <BYTE> 7e.*
00008007 <ULEB128> fe.*
...
00008009 <ULEB128_2> fe 00.*
.*
.*