Re: [PATCH] arm64: vdso: Add --eh-frame-hdr to ldflags

From: Will Deacon
Date: Thu May 07 2020 - 10:05:13 EST


On Thu, 7 May 2020 11:40:49 +0100, Vincenzo Frascino wrote:
> LLVM's unwinder depends on the .eh_frame_hdr being present for
> unwinding. However, when compiling Linux with GCC, the section
> is not present in the vdso library object and when compiling
> with Clang, it is present, but it has zero length.
>
> With GCC the problem was not spotted because libgcc unwinder does
> not require the .eh_frame_hdr section to be present.
>
> [...]

Applied to arm64 (for-next/vdso), thanks!

[1/1] arm64: vdso: Add --eh-frame-hdr to ldflags
https://git.kernel.org/arm64/c/7e9f5e6629f6

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev