aboutsummaryrefslogtreecommitdiff
path: root/libiberty/pex-common.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-03-14 12:57:09 +0000
committerNick Clifton <nickc@redhat.com>2017-03-14 12:57:09 +0000
commitc799a79d66d09c442d85467986c2e8873f09297c (patch)
tree2965d196134777e2ac1c46bd64acf31eea9e150d /libiberty/pex-common.c
parent0efcde634d45f4cda03fd18c43ff449103559d7a (diff)
downloadgdb-c799a79d66d09c442d85467986c2e8873f09297c.zip
gdb-c799a79d66d09c442d85467986c2e8873f09297c.tar.gz
gdb-c799a79d66d09c442d85467986c2e8873f09297c.tar.bz2
Try harder to find the correct symbol to associate with OPEN GNU BUILD notes.
* readelf.c (print_gnu_build_attribute_description): Move symbol printing code to... (print_symbol_for_build_attribute): New function. ...here. Add to find the best symbol to associate with an OPEN note. Add code to cache the symbol table and string table, so that they are not loaded every time a note is displayed. * testsuite/binutils-all/note-2-32.s: Add a function symbol. * testsuite/binutils-all/note-2-64.s: Likewise. * testsuite/binutils-all/note-2-32.d: Update expected note output. * testsuite/binutils-all/note-2-64.d: Likewise.
Diffstat (limited to 'libiberty/pex-common.c')
0 files changed, 0 insertions, 0 deletions