* eh_frame unwind info for plt on aarch64
@ 2022-11-11 9:27 Indu Bhagat
0 siblings, 0 replies; only message in thread
From: Indu Bhagat @ 2022-11-11 9:27 UTC (permalink / raw)
To: binutils
Hello,
At this time, ld does not generate EH Frame unwind information for the
.plt section on aarch64.
The plt[0] entry does do a push to stack:
stp x16, x30, [sp,#-16]!
adrp x16, :page: &.got.plt[2]
ldr x17, [x16, :lo12: &.got.plt[2]]
add x16, x16, :lo12: &.got.plt[2]
br x17
I guess an unwinder on aarch64 can potentially attempt to infer cfa, sp,
lr by "knowing" that it is in a specific instruction in the plt[0], but
in practice is that what all the unwinders do for plt in aarch64?
Is there interest in generating EH frame unwind information for the .plt
section on aarch64 by ld (support for --ld-generated-debug-info on
aarch64) ? I think the support will look similar to the fix for
https://sourceware.org/bugzilla/show_bug.cgi?id=12570 with hand written
eh_frame sections for plt*.
Thanks
Indu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-11 9:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11 9:27 eh_frame unwind info for plt on aarch64 Indu Bhagat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).