gold: Skip address size and segment selector for DWARF5
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 28 Jan 2021 12:21:15 +0000 (04:21 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 28 Jan 2021 12:21:31 +0000 (04:21 -0800)
commit0318cca4934fc5d85e83351842985ad2a3475146
tree943eef8b6298ce3260f8b6fe2098c8477be71302
parent47918cca26dac0c38196148ce09e0936c70c1bf5
gold: Skip address size and segment selector for DWARF5

The .debug_line secton in DWARF5 has a byte for address size and a byte
for segment selector after DWARF version.  Skip them for DWARF5.

PR gold/27246
* dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog):
Skip address size and segment selector for DWARF5.
gold/ChangeLog
gold/dwarf_reader.cc