mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
binutils: fix register lookup table for ppc
The table pre_defined_registers should be sorted alphabetically, but dsisr register is out of place, causing compile issues. Change-Id: Icebfe3154043c95789e9ce1b27ffae4b3e88f7bf Reviewed-on: https://review.haiku-os.org/c/buildtools/+/6988 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This commit is contained in:
parent
8b91d5a2da
commit
69b7412120
@ -351,7 +351,6 @@ static const struct pd_reg pre_defined_registers[] =
|
||||
{ "ctr", 9, PPC_OPERAND_SPR },
|
||||
{ "dar", 19, PPC_OPERAND_SPR },
|
||||
{ "dec", 22, PPC_OPERAND_SPR },
|
||||
{ "dsisr", 18, PPC_OPERAND_SPR },
|
||||
|
||||
/* Dense Math Registers. */
|
||||
{ "dm0", 0, PPC_OPERAND_DMR },
|
||||
@ -363,6 +362,8 @@ static const struct pd_reg pre_defined_registers[] =
|
||||
{ "dm6", 6, PPC_OPERAND_DMR },
|
||||
{ "dm7", 7, PPC_OPERAND_DMR },
|
||||
|
||||
{ "dsisr", 18, PPC_OPERAND_SPR },
|
||||
|
||||
/* Floating point registers */
|
||||
{ "f.0", 0, PPC_OPERAND_FPR },
|
||||
{ "f.1", 1, PPC_OPERAND_FPR },
|
||||
|
Loading…
Reference in New Issue
Block a user