diff options
author | Michael Collison <michael.collison@arm.com> | 2017-06-07 13:34:34 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-06-07 13:34:34 +0100 |
commit | 62e20ed45e3da5f3ba695e4ee109317668180fe6 (patch) | |
tree | 790ca66538a759d3558094a1a34d960332d13187 /gas/config/tc-aarch64.c | |
parent | 50d6adef3b8509c4e7e37b4b708e0593d43ed347 (diff) | |
download | gdb-62e20ed45e3da5f3ba695e4ee109317668180fe6.zip gdb-62e20ed45e3da5f3ba695e4ee109317668180fe6.tar.gz gdb-62e20ed45e3da5f3ba695e4ee109317668180fe6.tar.bz2 |
Add support for AArch64 system register names IP0, IP1, FP and LR.
* config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
IP1, FP, and LR as register aliases of register 16, 17, 29
and 30 respectively.
* testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
prohibiting register 'lr' which is now an alias.
* testsuite/gas/aarch64/diagnostic.s: Remove instruction
utilizing register 'lr' which is now an alias.
Diffstat (limited to 'gas/config/tc-aarch64.c')
-rw-r--r-- | gas/config/tc-aarch64.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index cdb2903..be01bdd 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -6797,6 +6797,11 @@ static const reg_entry reg_names[] = { REGDEF (wzr, 31, Z_32), REGDEF (WZR, 31, Z_32), REGDEF (xzr, 31, Z_64), REGDEF (XZR, 31, Z_64), + REGDEF (ip0, 16, R_64), REGDEF (IP0, 16, R_64), + REGDEF (ip1, 17, R_64), REGDEF (IP1, 17, R_64), + REGDEF (fp, 29, R_64), REGDEF (FP, 29, R_64), + REGDEF (lr, 30, R_64), REGDEF (LR, 30, R_64), + /* Floating-point single precision registers. */ REGSET (s, FP_S), REGSET (S, FP_S), |