aarch64: Update aarch64-sys-regs.def header

Message ID 20231018151406.255907-1-victor.donascimento@arm.com
State Unresolved
Headers
Series aarch64: Update aarch64-sys-regs.def header |

Checks

Context Check Description
snail/binutils-gdb-check warning Git am fail log

Commit Message

Victor Do Nascimento Oct. 18, 2023, 3:13 p.m. UTC
  Given the shared use of the aarch64-sys-regs.def file across Binutils
and GCC, add instructions for keeping the file synchronized across the
two codebases.

Namely, it should be made clear that all changes are first to be made
in Binutils and the updated file copied across to GCC.

opcodes/ChangeLog

	* opcodes/aarch64-sys-regs.def: Update file-description header
	comment.
---
 opcodes/aarch64-sys-regs.def | 4 ++++
 1 file changed, 4 insertions(+)
  

Comments

Nick Clifton Oct. 19, 2023, 9:32 a.m. UTC | #1
Hi Victor,

> opcodes/ChangeLog
> 
> 	* opcodes/aarch64-sys-regs.def: Update file-description header
> 	comment.

Approved  - please apply.

Cheers
   Nick
  

Patch

diff --git a/opcodes/aarch64-sys-regs.def b/opcodes/aarch64-sys-regs.def
index 1986920ebd1..9adabea5cd4 100644
--- a/opcodes/aarch64-sys-regs.def
+++ b/opcodes/aarch64-sys-regs.def
@@ -20,6 +20,10 @@ 
 
 /* Array of system registers and their associated arch features.
 
+   This file is also used by GCC.  Where necessary, any updates should
+   be made in Binutils and the updated file copied across to GCC, such
+   that the two projects are kept in sync at all times.
+
    Before using #include to read this file, define a macro:
 
      SYSREG (name, encoding, flags, features)