summaryrefslogtreecommitdiff
path: root/toolchain/uClibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-14 14:04:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-14 14:04:37 +0100
commit80cf711c344256c59b857da6cd7fc91898f90752 (patch)
treefa1332276e3a0b3e07ac69072cddae1d60768730 /toolchain/uClibc
parent58f2ba6405c8b0390995af535592c94eb38e013c (diff)
add generic toolchain only support
remove special cases (tomtom/g1)
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r--toolchain/uClibc/patches/sparc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/sparc.patch b/toolchain/uClibc/patches/sparc.patch
new file mode 100644
index 000000000..bcf5b5fd8
--- /dev/null
+++ b/toolchain/uClibc/patches/sparc.patch
@@ -0,0 +1,26 @@
+diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/sparc/sigaction.c uClibc-0.9.30.2/libc/sysdeps/linux/sparc/sigaction.c
+--- uClibc-0.9.30.2.orig/libc/sysdeps/linux/sparc/sigaction.c 2010-01-13 22:22:31.000000000 +0100
++++ uClibc-0.9.30.2/libc/sysdeps/linux/sparc/sigaction.c 2010-02-14 12:10:52.000000000 +0100
+@@ -34,7 +34,8 @@
+ 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 @@
+ 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)