Re: Mis-aligned debugging symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 7, 2020 at 9:39 AM William Tambe <tambewilliam@xxxxxxxxx> wrote:
>
> In our custom port, GCC generate debugging symbols that are mis-aligned.

To further clarify on the issue we are having, below is an excerpt
from the output of readelf showing mis-aligned debugging symbols:

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
00000101  00000603 R_ARCH_32         00000000   .text.startup + 18
0000010b  00000603 R_ARCH_32         00000000   .text.startup + 30
00000115  00000603 R_ARCH_32         00000000   .text.startup + 64

Any idea how to make GCC generate debugging symbols that are properly aligned ?

>
> How to make GCC generate debugging symbols that are properly aligned ?



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux