summaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authormark <mark>2012-05-01 19:12:21 +0000
committermark <mark>2012-05-01 19:12:21 +0000
commit4fe27919590251399a09609a6a2fdd11fd4ac21c (patch)
tree95c99715baccd3f97f07a6f4cfb67d049fe1d2e0 /elfcpp
parent655ff4729ab8fc72e5b6ba4ef012be1b65cb8db1 (diff)
downloadbinutils-redhat-4fe27919590251399a09609a6a2fdd11fd4ac21c.tar.gz
gold: Handle DW_AT_high_pc as offset from DW_AT_low_pc in gdb-index.cc.
* dwarf_reader.cc (Dwarf_die::address_attribute): New function. * dwarf_reader.h (Dwarf_die::address_attribute): Likewise. * gdb-index.cc (Gdb_index_info_reader::record_cu_ranges): Handle DW_AT_high_pc as offset from DW_AT_low_pc. * testsuite/Makefile.am (gdb_index_test_3.sh): New test case. * testsuite/Makefile.in: Regenerate. * testsuite/gdb_index_test_3.c: New test source file. * testsuite/gdb_index_test_3.sh: New test source file.
Diffstat (limited to 'elfcpp')
0 files changed, 0 insertions, 0 deletions