mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
f438659a6f
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>
20 lines
640 B
Makefile
20 lines
640 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_.*|__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)>
|
|
#...
|