dwarf2: Use octets for dwarf2 headers
authorChristian Eggers <ceggers@gmx.de>
Sun, 10 Mar 2019 18:21:54 +0000 (19:21 +0100)
committerAlan Modra <amodra@gmail.com>
Wed, 13 Mar 2019 02:59:35 +0000 (13:29 +1030)
commit7235427998571b6d8267e7ac72a52d7b082f4c2b
tree96ec6dd0e3a4bfce29d1a1fc4f664b48c5911abc
parentd18d199917337537713f9fc4b7ae4d6568f740cf
dwarf2: Use octets for dwarf2 headers

The content of the dwarf2 sections .debug_line, .debug_aranges and
.debug_info starts with an u32 containing the the size of the remaining
data.  According to the dwarf2 specification this value must be expressed
in octets instead of bytes.

* dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
(out_debug_aranges, out_debug_info): Likewise.
gas/ChangeLog
gas/dwarf2dbg.c
This page took 0.025638 seconds and 4 git commands to generate.