[Top][All Lists]

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

[Bug gas/29451] gas-2.39 started adding 0-sized DIEs to functions withou

From: mark at klomp dot org
Subject: [Bug gas/29451] gas-2.39 started adding 0-sized DIEs to functions without .size
Date: Mon, 08 Aug 2022 20:24:01 +0000


--- Comment #7 from Mark Wielaard <mark at klomp dot org> ---
> and the symbol size is also 0 in the table:
> $ readelf -s crti.o
> Symbol table '.symtab' contains 11 entries:
>    Num:    Value          Size Type    Bind   Vis      Ndx Name
> ...
>      9: 0000000000000000     0 FUNC    GLOBAL HIDDEN     5 _init

So if the size really is zero than high_pc should be one larger than low_pc (if
expressed as addr in DWARF < 4) and 1 if expressed as unsigned constant (for
DWARF >=4)

Having the addresses equal or high_pc zero does not express the zero sized

It is a little questionable that the low_pc address is also zero, is that
because it doesn't have relocations applied yet?

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]