diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-02-22 22:05:41 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-02-22 22:05:41 +0100 |
commit | 43ffd946ad569f3a1d0662de221cd4cb65bdc8e6 (patch) | |
tree | 51a058ab53af3fd5c3d6cbe57c1f5f3cbd9b3015 /toolchain/uClibc/uClibc-0.9.30.2-Unbreak-build-for-sparc-on-some-config-s.patch | |
parent | c8ff60c8283b0ad116fcf43f485f199c29432c9d (diff) | |
download | buildroot-43ffd946ad569f3a1d0662de221cd4cb65bdc8e6.tar.gz buildroot-43ffd946ad569f3a1d0662de221cd4cb65bdc8e6.zip |
toolchain/uClibc: additional 0.9.30.2 patches
Everything on the 0_9_30 branch since the release (0.9.30.3 to be)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/uClibc/uClibc-0.9.30.2-Unbreak-build-for-sparc-on-some-config-s.patch')
-rw-r--r-- | toolchain/uClibc/uClibc-0.9.30.2-Unbreak-build-for-sparc-on-some-config-s.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.30.2-Unbreak-build-for-sparc-on-some-config-s.patch b/toolchain/uClibc/uClibc-0.9.30.2-Unbreak-build-for-sparc-on-some-config-s.patch new file mode 100644 index 0000000000..21d779abd7 --- /dev/null +++ b/toolchain/uClibc/uClibc-0.9.30.2-Unbreak-build-for-sparc-on-some-config-s.patch @@ -0,0 +1,42 @@ +From 7b964170536951a260f7d552db99b428d1ea5026 Mon Sep 17 00:00:00 2001 +From: Austin Foxley <austinf@cetoncorp.com> +Date: Wed, 3 Feb 2010 12:12:10 -0800 +Subject: [PATCH 08/15] Unbreak build for sparc on some config's + +Thanks to rob@landley.net + +Signed-off-by: Austin Foxley <austinf@cetoncorp.com> +--- + libc/sysdeps/linux/sparc/sigaction.c | 9 ++++----- + 1 files changed, 4 insertions(+), 5 deletions(-) + +diff --git a/libc/sysdeps/linux/sparc/sigaction.c b/libc/sysdeps/linux/sparc/sigaction.c +index a22ac40..7140fd3 100644 +--- a/libc/sysdeps/linux/sparc/sigaction.c ++++ b/libc/sysdeps/linux/sparc/sigaction.c +@@ -34,7 +34,8 @@ _syscall5(int, rt_sigaction, int, a, int, b, int, c, int, d, int, e); + static void __rt_sigreturn_stub(void); + static void __sigreturn_stub(void); + +-int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact) ++libc_hidden_proto(sigaction) ++int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) + { + int ret; + struct sigaction kact, koact; +@@ -65,10 +66,8 @@ int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oac + return ret; + } + +-#ifndef LIBC_SIGACTION +-weak_alias(__libc_sigaction,sigaction) +-libc_hidden_weak(sigaction) +-#endif ++libc_hidden_def(sigaction) ++weak_alias(sigaction,__libc_sigaction) + + static void + __rt_sigreturn_stub(void) +-- +1.6.6.1 + |