]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[PATCH] RISC-V: Fix FIXED_REGISTERS comment missing return address register
authorYixuan Chen <chenyixuan@iscas.ac.cn>
Tue, 24 Sep 2024 15:15:00 +0000 (09:15 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Tue, 24 Sep 2024 15:16:49 +0000 (09:16 -0600)
gcc/ChangeLog:

* config/riscv/riscv.h: Fix FIXED_REGISTERS comment missing return
address register.

gcc/config/riscv/riscv.h

index ead97867eb8e304a25a973095935312e48af30a2..3aecb43f8312f181fa02fa7711ba740bb6b0198f 100644 (file)
@@ -316,7 +316,7 @@ ASM_MISA_SPEC
 
 #define FIRST_PSEUDO_REGISTER 128
 
-/* x0, sp, gp, and tp are fixed.  */
+/* x0, ra, sp, gp, and tp are fixed.  */
 
 #define FIXED_REGISTERS                                                        \
 { /* General registers.  */                                            \