[Patch/ARM] Skip private symbol when doing objdump

Jiong Wang jiong.wang@arm.com
Tue Feb 3 11:37:00 GMT 2015


__tagsym$$ is used as a prefix to tag particular symbols by the proprietary
ARM toolchain. This patch gives higher priority to proper symbol names so
that they are shown in the disassembly appropriately.

before this patch, for "objdump -D", sometime we display

__tagsym$$noinline:
    insn0
    insn1
    ...

__tagsym$$used:
    data_content
    ...

after this patch, we display:

foo:
   insn0
   insn1

global_a:
   data_content
   ...

this result make more sense for the user.

pass native full binutils check

ok for trunk?

2015-02-03  Jiong Wang  <jiong.wang@arm.com>

opcodes/
   * arm-dis.c (arm_symbol_is_valid): Skip ARM private symbols.

binutils/testsuite/
   * binutils-all/arm/rvct_symbol.s: New testcase.
   * binutils-all/arm/objdump.exp: Run it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: k.patch
Type: text/x-patch
Size: 2055 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150203/947c8b46/attachment.bin>


More information about the Binutils mailing list