diff options
author | Nick Clifton <nickc@redhat.com> | 2018-03-23 12:20:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-03-23 12:20:03 +0000 |
commit | 8fd75781892c7458702f72b3b9cb1927609716de (patch) | |
tree | 369c0f6703cb70a23747787aa20dd1cea653cbc8 /gdb/annotate.c | |
parent | f6c4d4b152a985f355cd1552ce01c99a589c936f (diff) | |
download | binutils-8fd75781892c7458702f72b3b9cb1927609716de.zip binutils-8fd75781892c7458702f72b3b9cb1927609716de.tar.gz binutils-8fd75781892c7458702f72b3b9cb1927609716de.tar.bz2 |
Improve readelf's selection of a file start symbol when displaying a gnu build attribute.
* readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
symbols.
(print_gnu_build_attribute_description): If no file start symbol
could be found, look for one two bytes into the file.
* testsuite/binutils-all/note-4-64.s: Set the address of the file
start symbol to two bytes into the file.
* testsuite/binutils-all/note-4-32.s: Likewise.
Diffstat (limited to 'gdb/annotate.c')
0 files changed, 0 insertions, 0 deletions