aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorRenlin Li <renlin.li@arm.com>2017-11-29 16:00:47 +0000
committerRenlin Li <renlin.li@arm.com>2017-11-29 17:19:59 +0000
commitf10e937a1cdcffcca748c226ed78d09369fc4cd0 (patch)
tree09e9c22ed65e69efeebe0fe2021cd767677d5c6b /gas/config
parent4581a1c7d304ce14e714b27522ebf3d0188d6543 (diff)
downloadgdb-f10e937a1cdcffcca748c226ed78d09369fc4cd0.zip
gdb-f10e937a1cdcffcca748c226ed78d09369fc4cd0.tar.gz
gdb-f10e937a1cdcffcca748c226ed78d09369fc4cd0.tar.bz2
[GAS][AARCH64]Fix a typo for IP1 register alias.
This should be an obvious fix. It corrects the register number for IP1 to 17. gas/ 2017-11-29 Renlin Li <renlin.li@arm.com> * config/tc-aarch64.c (reg_names): Fix IP1 register alias error. * testsuite/gas/aarch64/register_aliases.s: Add IP0 and IP1 tests. * testsuite/gas/aarch64/register_aliases.d: Update.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-aarch64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 4ae0624..832f4e8 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -6804,7 +6804,7 @@ static const reg_entry reg_names[] = {
REGSET31 (w, R_32), REGSET31 (W, R_32),
REGDEF_ALIAS (ip0, 16, R_64), REGDEF_ALIAS (IP0, 16, R_64),
- REGDEF_ALIAS (ip1, 17, R_64), REGDEF_ALIAS (IP1, 16, R_64),
+ REGDEF_ALIAS (ip1, 17, R_64), REGDEF_ALIAS (IP1, 17, R_64),
REGDEF_ALIAS (fp, 29, R_64), REGDEF_ALIAS (FP, 29, R_64),
REGDEF_ALIAS (lr, 30, R_64), REGDEF_ALIAS (LR, 30, R_64),
REGDEF (wsp, 31, SP_32), REGDEF (WSP, 31, SP_32),