bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20830] .plt.got section is lacking unwind info


From: keno at juliacomputing dot com
Subject: [Bug ld/20830] .plt.got section is lacking unwind info
Date: Mon, 21 Nov 2016 21:33:26 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20830

--- Comment #7 from Keno Fischer <keno at juliacomputing dot com> ---
In an idealized world, yes, we could assume a default unwind rule if none is
found, but in the real world, it is safer to just terminate the unwind when no
unwind info is present (because more often than not it's broken compiler or
somebody forgot to add CFI info to their assembly). Also, note that it's not
just the nop, but also the instructions in the CIE that matter. If you are
concerned about code size bloat, perhaps the .plt FDE could simply be extended
to also cover the .plt.got section in the common case that they are right next
to each other (hell, there's enough padding there right now that for small
binaries it wouldn't change the code size at all)? Also, it seems like
applications which don't care about unwinding at all should simply strip out
.eh_frame entirely.

-- 
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]