[RFA/ARM 03/21] Warn on deprecated Co-processor register accesses

Matthew Gretton-Dann matthew.gretton-dann@arm.com
Thu Aug 23 14:56:00 GMT 2012


ARMv8 deprecates some cp15 and cp14 coprocessor register accesses.

This patch causes the assembler to warn when these registers are
accessed.

gas/ChangeLog:
2012-08-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

	* config/tc-arm.c (deprecated_coproc_regs_s): New structure.
	(deprecated_coproc_regs): New variable.
	(deprecated_coproc_reg_count): Likewise.
	(do_co_reg): Error on obsolete & warn on deprecated registers.

gas/testsuite/ChangeLog:
2012-08-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

	* gas/arm/armv8-a-bad.l: Update testcase.
	* gas/arm/armv8-a-bad.s: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Warn-on-deprecated-Co-processor-register-accesses.txt
Type: text/x-patch
Size: 3479 bytes
Desc: 0003-Warn-on-deprecated-Co-processor-register-accesses.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120823/a8dcf7ef/attachment.bin>


More information about the Binutils mailing list