* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with
authorUlrich Drepper <drepper@redhat.com>
Fri, 1 Dec 2006 00:44:22 +0000 (00:44 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 1 Dec 2006 00:44:22 +0000 (00:44 +0000)
libgcc not supporting `rflags' unwinding (register # >= 17).

ChangeLog
sysdeps/unix/sysv/linux/x86_64/sigaction.c

index ffffeb2..e164a16 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with
+       libgcc not supporting `rflags' unwinding (register # >= 17).
+
 2006-11-30  Jakub Jelinek  <jakub@redhat.com>
 
        * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc
index 0d56364..ab10123 100644 (file)
@@ -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"                                                     \