s12z/disassembler: call memory_error_func when appropriate

Alan Modra amodra@gmail.com
Thu Oct 14 03:02:06 GMT 2021


Adjust for commit ba7c18a48457.

	* testsuite/gas/s12z/truncated.d: Update expected output.

diff --git a/gas/testsuite/gas/s12z/truncated.d b/gas/testsuite/gas/s12z/truncated.d
index f4bbb5903e9..2dec3bc8d7b 100644
--- a/gas/testsuite/gas/s12z/truncated.d
+++ b/gas/testsuite/gas/s12z/truncated.d
@@ -10,4 +10,5 @@ Disassembly of section .text:
 
 00000000 <.text>:
    0:	01          	nop
-   1:	14          	!!invalid!!
+   1:	14          	Address 0x0+2 is out of bounds.
+!!invalid!!

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list