mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
4c5ae11b42
When checking mapping symbols backwardly, the section which defines the symbol is not considerted. This patch fixes this by moving the section checking code into get_sym_code_type () function which is shared by forward and backword mapping symbol searching. opcodes/ 2017-12-11 Petr Pavlu <petr.pavlu@arm.com> Renlin Li <renlin.li@arm.com> * aarch64-dis.c (print_insn_aarch64): Move symbol section check ... (get_sym_code_type): Here. binutils/ 2017-12-11 Renlin Li <renlin.li@arm.com> * testsuite/binutils-all/aarch64/objdump.d: New. * testsuite/binutils-all/aarch64/objdump.s: New.
20 lines
343 B
Makefile
20 lines
343 B
Makefile
#PROG: objcopy
|
|
#objdump: -d
|
|
#name: Check that the disassembler properly dump instruction and data.
|
|
|
|
.*: +file format .*aarch64.*
|
|
|
|
Disassembly of section \.text:
|
|
|
|
0+000 <l1>:
|
|
0: d503201f nop
|
|
|
|
0+004 <l2>:
|
|
4: d503201f nop
|
|
8: 00c0ffee \.word 0x00c0ffee
|
|
|
|
Disassembly of section .fini:
|
|
|
|
0+000 <\.fini>:
|
|
0: 0000dead \.word 0x0000dead
|