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>
Diff
binutils/gas/config/tc-ppc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -351,7 +351,6 @@
{ "ctr", 9, PPC_OPERAND_SPR },
{ "dar", 19, PPC_OPERAND_SPR },
{ "dec", 22, PPC_OPERAND_SPR },
{ "dsisr", 18, PPC_OPERAND_SPR },
{ "dm0", 0, PPC_OPERAND_DMR },
@@ -362,6 +361,8 @@
{ "dm5", 5, PPC_OPERAND_DMR },
{ "dm6", 6, PPC_OPERAND_DMR },
{ "dm7", 7, PPC_OPERAND_DMR },
{ "dsisr", 18, PPC_OPERAND_SPR },
{ "f.0", 0, PPC_OPERAND_FPR },