libbacktrace: improve XCOFF support
authorIan Lance Taylor <iant@golang.org>
Mon, 28 Jun 2021 17:34:58 +0000 (10:34 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 28 Jun 2021 17:36:34 +0000 (10:36 -0700)
commit42ff474e28fa3c857296963542bc0b9e1f922b00
treefbe63934f9260545ee1416aadb9c858e671dbe22
parent9c93f6cc952639b944ae9c459cc328a810622033
libbacktrace: improve XCOFF support

libbacktrace/ChangeLog:
2021-06-28  ClĂ©ment Chigot  <clement.chigot@atos.net>

* xcoff.c (SSUBTYP_DWRNGES): New define.
(xcoff_add): Use correct XCOFF DWARF section subtype
for DEBUG_RANGES. Remove lineoff workaround.
Adjust base_address.
(xcoff_initialize_syminfo): Adapt to new base_address.
(xcoff_lookup_pc): Likewise.
(xcoff_initialize_fileline): Likewise.
libbacktrace/xcoff.c