[Bug libdw/22452] Failed to obtain CFI data for a OP_call_frame_CFA when looking for func entrypoc in an s390 kernel module

krebbel at linux dot vnet.ibm.com sourceware-bugzilla@sourceware.org
Mon Nov 20 08:11:00 GMT 2017


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

--- Comment #11 from Andreas Krebbel <krebbel at linux dot vnet.ibm.com> ---
x86 enables generation of .debug_frame by using:

KBUILD_CFLAGS += -fno-asynchronous-unwind-tables

in the kernel Makefile.  This makes GCC to add ".cfi_sections .debug_frame" to
the assembler output which in turn triggers gas to generate the section.

I don't see a reason why we couldn't do the same for s390. The .eh_frame
section aren't used in the kernel.

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


More information about the Elfutils-devel mailing list