mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
For disassembly to only use spec-mandated aliases, respective non-alias
entries need to come ahead of their alias ones. Since identical
mnemonics need to stay together, whole groups are moved up where
necessary.
This partly reverts 839189bc93
("RISC-V: re-arrange opcode table for
consistent alias handling"), but then also goes beyond a plain revert.
Reviewed-by: Tsukasa OI <research_trasio@irq.a4lg.com>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
22 lines
718 B
Makefile
22 lines
718 B
Makefile
#...
|
|
Disassembly of section .plt:
|
|
#...
|
|
0+[0-9a-f]+ <(\*ABS\*\+0x[0-9a-f]+@plt|foo@plt|.plt)>:
|
|
#...
|
|
Disassembly of section .text:
|
|
#...
|
|
0+[0-9a-f]+ <foo_resolver>:
|
|
#...
|
|
0+[0-9a-f]+ <bar>:
|
|
.*:[ ]+[0-9a-f]+[ ]+auipc[ ]+.*
|
|
.*:[ ]+[0-9a-f]+[ ]+(lw|ld)[ ]+.*<(_GLOBAL_OFFSET_TABLE_.*|.*)>
|
|
.*:[ ]+[0-9a-f]+[ ]+auipc[ ]+.*
|
|
.*:[ ]+[0-9a-f]+[ ]+(lw|ld)[ ]+.*<(__DATA_BEGIN__.*|.*)>
|
|
.*:[ ]+[0-9a-f]+[ ]+auipc[ ]+.*
|
|
.*:[ ]+[0-9a-f]+[ ]+addi[ ]+.*<(\*ABS\*\+0x[0-9a-f]+@plt|foo@plt|.plt)>
|
|
.*:[ ]+[0-9a-f]+[ ]+auipc[ ]+.*
|
|
.*:[ ]+[0-9a-f]+[ ]+jalr[ ]+.*<(\*ABS\*\+0x[0-9a-f]+@plt|foo@plt|.plt)>
|
|
.*:[ ]+[0-9a-f]+[ ]+auipc[ ]+.*
|
|
.*:[ ]+[0-9a-f]+[ ]+jalr[ ]+.*<(\*ABS\*\+0x[0-9a-f]+@plt|foo@plt|.plt)>
|
|
#...
|