]> git.ipfire.org Git - thirdparty/glibc.git/commit
hurd: Fix unwinding over INTR_MSG_TRAP
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 9 Feb 2023 18:58:43 +0000 (19:58 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 9 Feb 2023 18:58:43 +0000 (19:58 +0100)
commit63550530d98db6e9c30dc96a3ea08411b873b23e
tree9470da24e42efe7d463e1251674b5946f4b42889
parent16e424a325bc8ece973e4ef4758f12f15355ec57
hurd: Fix unwinding over INTR_MSG_TRAP

We used to use .cfi_adjust_cfa_offset around %esp manipulation
asm instructions to fix unwinding, but when building glibc with
-fno-omit-frame-pointer this is bogus since in that case %ebp is the CFA and
does not move.

Instead, let's force -fno-omit-frame-pointer when building intr-msg.c so
that %ebp can always be used and no .cfi_adjust_cfa_offset is needed.
hurd/Makefile
sysdeps/mach/hurd/i386/intr-msg.h