Mis-aligned debugging symbols
Jim Wilson
jimw@sifive.com
Mon Mar 9 21:53:16 GMT 2020
On Sun, Mar 8, 2020 at 4:21 PM William Tambe <tambewilliam@gmail.com> wrote:
> Relocation section '.rela.debug_line' at offset 0x1fec contains 19 entries:
> Offset Info Type Sym.Value Sym. Name + Addend
> 000000f7 00000603 R_ARCH_32 00000000 .text.startup + 0
This is unaligned by design, to help reduce the size of the debug
info. Debug info isn't performance critical, so dealing with
unaligned data is not a problem here. To fix it, you would have to
use a different debug info format, but there isn't one we support as
well as dwarf2.
Jim
More information about the Gcc-help
mailing list