dwarf2: Use octets for .debug_string offsets
authorChristian Eggers <ceggers@gmx.de>
Sun, 10 Mar 2019 18:21:56 +0000 (19:21 +0100)
committerAlan Modra <amodra@gmail.com>
Wed, 13 Mar 2019 02:59:35 +0000 (13:29 +1030)
commit5c4e5fe61bb00395f697a928524da1e94087c677
treeb8f33c80a4fe3648b9f665911dda15aabefd2040
parent38c24f42c97af59ad83505ed735e689c63d3ca45
dwarf2: Use octets for .debug_string offsets

Like other dwarf2 offsets, also the string offsets in the .debug_info
section which points into the .debug_str section must be expressed in
octets instead of bytes.

* dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
gas/ChangeLog
gas/dwarf2dbg.c