diff options
author | mengqinggang <mengqinggang@loongson.cn> | 2024-01-26 10:50:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-01-26 10:50:57 +0000 |
commit | 3988bf614f9f8761f51a5c7922977a60cb8402ff (patch) | |
tree | 18961c4432b3c0d7f1c58c902a3b4eed5b1fddfd /opcodes | |
parent | 75558017d5ee7c6f99fb3e68ea709744f0c3501e (diff) | |
download | fsf-binutils-gdb-3988bf614f9f8761f51a5c7922977a60cb8402ff.zip fsf-binutils-gdb-3988bf614f9f8761f51a5c7922977a60cb8402ff.tar.gz fsf-binutils-gdb-3988bf614f9f8761f51a5c7922977a60cb8402ff.tar.bz2 |
Backport commits 969f5c0e1 (LoongArch: gas: Add support for s9 register) and a0aa6f4ab (LoongArch: ld: Add support for TLS LE symbol with addend) to 2.42 branch.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/loongarch-opc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c index 490c689..6bd436f 100644 --- a/opcodes/loongarch-opc.c +++ b/opcodes/loongarch-opc.c @@ -49,6 +49,15 @@ const char *const loongarch_r_alias[32] = "$s1", "$s2", "$s3", "$s4", "$s5", "$s6", "$s7", "$s8", }; +/* Add support for $s9. */ +const char *const loongarch_r_alias_1[32] = +{ + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "$s9", "", + "", "", "", "", "", "", "", "", +}; + const char *const loongarch_r_alias_deprecated[32] = { "", "", "", "", "$v0", "$v1", "", "", "", "", "", "", "", "", "", "", |