mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
gas/
* config/tc-aarch64.c (set_other_error): New function. (parse_sys_reg): Add new parameter 'sys_reg' and if non-NULL set the variable to which it points with 'o'. (parse_operands): Update; check for write to read-only system registers or read from write-only ones. gas/testsuite/ * gas/aarch64/diagnostic.s: Add tests. * gas/aarch64/diagnostic.l: Update. * gas/aarch64/tracereg-illegal.d: New file. * gas/aarch64/tracereg-illegal.l: Ditto. * gas/aarch64/tracereg-illegal.s: Ditto. * gas/aarch64/tracereg.d: Ditto. * gas/aarch64/tracereg.s: Ditto. include/opcode * aarch64.h (aarch64_sys_reg_readonly_p): New declaration. (aarch64_sys_reg_writeonly_p): Ditto. opcodes/ * aarch64-opc.c (CPENT): New define. (F_READONLY, F_WRITEONLY): Likewise. (aarch64_sys_regs): Add trace unit registers. (aarch64_sys_reg_readonly_p): New function. (aarch64_sys_reg_writeonly_p): Ditto.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2013-11-15 Yufeng Zhang <yufeng.zhang@arm.com>
|
||||
|
||||
* aarch64.h (aarch64_sys_reg_readonly_p): New declaration.
|
||||
(aarch64_sys_reg_writeonly_p): Ditto.
|
||||
|
||||
2013-11-05 Yufeng Zhang <yufeng.zhang@arm.com>
|
||||
|
||||
* aarch64.h (aarch64_sys_reg): New typedef.
|
||||
|
@ -624,6 +624,8 @@ typedef struct
|
||||
|
||||
extern const aarch64_sys_reg aarch64_sys_regs [];
|
||||
extern bfd_boolean aarch64_sys_reg_deprecated_p (const aarch64_sys_reg *);
|
||||
extern bfd_boolean aarch64_sys_reg_readonly_p (const aarch64_sys_reg *);
|
||||
extern bfd_boolean aarch64_sys_reg_writeonly_p (const aarch64_sys_reg *);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
Reference in New Issue
Block a user