[Binutils][Objdump]Check symbol section information while search a mapping symbol...
authorRenlin Li <renlin.li@arm.com>
Mon, 11 Dec 2017 15:33:18 +0000 (15:33 +0000)
committerRenlin Li <renlin.li@arm.com>
Mon, 11 Dec 2017 15:42:47 +0000 (15:42 +0000)
commit4c5ae11b42433dbffc33fbde75c9e415594504d8
tree083809de805049eccdd86f0207498b02c1d5e996
parent3c0aa29aab3949363f8b23d062c2e0cb1ccf017a
[Binutils][Objdump]Check symbol section information while search a mapping symbol backward.

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.
binutils/ChangeLog
binutils/testsuite/binutils-all/aarch64/objdump.d [new file with mode: 0644]
binutils/testsuite/binutils-all/aarch64/objdump.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/aarch64-dis.c