diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2024-12-09 17:32:08 -0500 |
---|---|---|
committer | Peter Bergner <bergner@linux.ibm.com> | 2024-12-09 17:39:51 -0500 |
commit | 7b6825bd0c0f7ec3cce529aae45ee12cee18a520 (patch) | |
tree | 1d4764a96424e9016bd7e52d63b22f4c24c4e8f7 /gprofng/src | |
parent | 4c2d19e3cd80e23acb555e25b7725592173cbd0d (diff) | |
download | binutils-7b6825bd0c0f7ec3cce529aae45ee12cee18a520.zip binutils-7b6825bd0c0f7ec3cce529aae45ee12cee18a520.tar.gz binutils-7b6825bd0c0f7ec3cce529aae45ee12cee18a520.tar.bz2 |
PowerPC: Disallow r0 as a base register for the hashst and hashchk insns
Using r0 as a base address register in the ROP hashst and hashchk instructions
is invalid. Modify the assembler to catch that illegal use and emit an error.
opcodes/
* ppc-opc.c (insert_ras): Update error message and function comment.
(powerpc_opcodes) <hashst, hashstp, hashchk, hashchkp>: Use RAS.
Diffstat (limited to 'gprofng/src')
0 files changed, 0 insertions, 0 deletions