From 610fa4a324a6311fe345dc9b50bec3ac327293b2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 1 Dec 2006 00:44:22 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with libgcc not supporting `rflags' unwinding (register # >= 17). --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/x86_64/sigaction.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ffffeb2481..e164a1614b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-01 Jan Kratochvil + + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with + libgcc not supporting `rflags' unwinding (register # >= 17). + 2006-11-30 Jakub Jelinek * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc diff --git a/sysdeps/unix/sysv/linux/x86_64/sigaction.c b/sysdeps/unix/sysv/linux/x86_64/sigaction.c index 0d56364ab7..ab10123858 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sigaction.c +++ b/sysdeps/unix/sysv/linux/x86_64/sigaction.c @@ -174,7 +174,8 @@ asm \ do_expr (2 /* rcx */, oRCX) \ do_expr (7 /* rsp */, oRSP) \ do_expr (16 /* rip */, oRIP) \ - do_expr (49 /* rflags */, oEFL) \ + /* libgcc-4.1.1 has only `DWARF_FRAME_REGISTERS == 17'. */ \ + /* do_expr (49 |* rflags *|, oEFL) */ \ /* `cs'/`ds'/`fs' are unaligned and a different size. */ \ /* gas: Error: register save offset not a multiple of 8 */ \ " .align 8\n" \ -- 2.34.1