patches/strace/4.5.17/110-dont-use-REG_SYSCALL-for-sh.patch
author Michael Hope <michael.hope@linaro.org>
Wed Oct 05 14:15:45 2011 +1300 (2011-10-05)
changeset 2697 9cd87d279a99
parent 747 d3e603e7c17c
permissions -rw-r--r--
Pass CXXFLAGS to binutils/gold.

The GOLD linker is written in C++. Pass CT_CFLAGS_FOR_HOST as
CXXFLAGS to configure so that any host specific flags are passed
through.

It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC
target rules already do the same.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
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"                          },