patches/strace/4.5.17/110-dont-use-REG_SYSCALL-for-sh.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 03 23:40:22 2011 +0100 (2011-01-03)
changeset 2267 7af68e6083aa
parent 747 d3e603e7c17c
permissions -rw-r--r--
libc-glibc: remove 2.3.6

This is an obsolete version which is no longer used by any sample (the only
user, the ia64 sample, has been removed).

It also makes the code path a bit complex, with twists just to accomodate
that version. Removing the version will make those twists go away, and
will ease commonalisation of glibc and eglibc in the future (hopefully!).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@974
     1
Original patch from gentoo: ../../dev/crosstool-NG/ct-ng.trunk/patches/strace/4.5.17/110-dont-use-REG_SYSCALL-for-sh.patch
yann@974
     2
-= BEGIN original header =-
yann@428
     3
diff -dur strace-4.5.16.orig/process.c strace-4.5.16/process.c
yann@974
     4
-= END original header =-
yann@974
     5
diff -durN strace-4.5.17.orig/process.c strace-4.5.17/process.c
yann@974
     6
--- strace-4.5.17.orig/process.c	2008-07-18 04:16:47.000000000 +0200
yann@974
     7
+++ strace-4.5.17/process.c	2008-10-24 21:30:13.000000000 +0200
yann@974
     8
@@ -2726,7 +2726,6 @@
yann@428
     9
        { 4*REG_GBR,            "4*REG_GBR"                             },
yann@428
    10
        { 4*REG_MACH,           "4*REG_MACH"                            },
yann@428
    11
        { 4*REG_MACL,           "4*REG_MACL"                            },
yann@428
    12
-       { 4*REG_SYSCALL,        "4*REG_SYSCALL"                         },
yann@428
    13
        { 4*REG_FPUL,           "4*REG_FPUL"                            },
yann@428
    14
        { 4*REG_FPREG0,         "4*REG_FPREG0"                          },
yann@428
    15
        { 4*(REG_FPREG0+1),     "4*REG_FPREG1"                          },