From b847ed050d85e7b0befc5521f4acff7cc1f31693 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 11 Nov 2011 18:12:46 -0300 Subject: [PATCH] uClibc: fix sparc build breakage Fix build breakage for sparc as reported in bug #4021 Patches from Konrad Eisele Submitted in the uclibc mailing list. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- .../uClibc/uClibc-0.9.31.1-sparc-errno-fix.patch | 11 +++++++++++ toolchain/uClibc/uClibc-0.9.32-sparc-errno-fix.patch | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 toolchain/uClibc/uClibc-0.9.31.1-sparc-errno-fix.patch create mode 100644 toolchain/uClibc/uClibc-0.9.32-sparc-errno-fix.patch diff --git a/toolchain/uClibc/uClibc-0.9.31.1-sparc-errno-fix.patch b/toolchain/uClibc/uClibc-0.9.31.1-sparc-errno-fix.patch new file mode 100644 index 0000000000..44d06cb62f --- /dev/null +++ b/toolchain/uClibc/uClibc-0.9.31.1-sparc-errno-fix.patch @@ -0,0 +1,11 @@ +--- uClibc-0.9.32.ori/libc/sysdeps/linux/sparc/pipe.S 2011-06-08 21:35:20.000000000 +0200 ++++ uClibc-0.9.32/libc/sysdeps/linux/sparc/pipe.S 2011-11-11 15:57:25.000000000 +0100 +@@ -52,7 +52,7 @@ + restore %g0,%g0,%o0 + + .Lerror: +- call HIDDEN_JUMPTARGET(__errno_location) ++ call __errno_location + or %g0,EINVAL,%i0 + st %i0,[%o0] + ret diff --git a/toolchain/uClibc/uClibc-0.9.32-sparc-errno-fix.patch b/toolchain/uClibc/uClibc-0.9.32-sparc-errno-fix.patch new file mode 100644 index 0000000000..44d06cb62f --- /dev/null +++ b/toolchain/uClibc/uClibc-0.9.32-sparc-errno-fix.patch @@ -0,0 +1,11 @@ +--- uClibc-0.9.32.ori/libc/sysdeps/linux/sparc/pipe.S 2011-06-08 21:35:20.000000000 +0200 ++++ uClibc-0.9.32/libc/sysdeps/linux/sparc/pipe.S 2011-11-11 15:57:25.000000000 +0100 +@@ -52,7 +52,7 @@ + restore %g0,%g0,%o0 + + .Lerror: +- call HIDDEN_JUMPTARGET(__errno_location) ++ call __errno_location + or %g0,EINVAL,%i0 + st %i0,[%o0] + ret -- 2.30.2