summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/uClibc-0.9.30.3-xtensa-000p-fix-procfs.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-03-12 23:14:59 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-03-12 23:14:59 +0100
commitde859f6b2ac8660113e15aff6bc394a441dda60e (patch)
tree2087a5bb8b6dd6e9964f676261efd20a63b593ae /toolchain/uClibc/uClibc-0.9.30.3-xtensa-000p-fix-procfs.patch
parent12ebf5714c58cecdb19dbd9266ace5e9380562b0 (diff)
toolchain: Add uClibc 0.9.30.3, remove older 0.9.30.x
As the 0.9.30.x stable releases only contain bugfixes, there isn't much sense in using the older 0.9.30.x releases instead of .3, so use a single 0.9.30.x config similar to how we do it for the kernel headers. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/uClibc/uClibc-0.9.30.3-xtensa-000p-fix-procfs.patch')
-rw-r--r--toolchain/uClibc/uClibc-0.9.30.3-xtensa-000p-fix-procfs.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.30.3-xtensa-000p-fix-procfs.patch b/toolchain/uClibc/uClibc-0.9.30.3-xtensa-000p-fix-procfs.patch
new file mode 100644
index 000000000..8e62d205f
--- /dev/null
+++ b/toolchain/uClibc/uClibc-0.9.30.3-xtensa-000p-fix-procfs.patch
@@ -0,0 +1,24 @@
+--- uClibc-0.9.29-orig/libc/sysdeps/linux/xtensa/sys/procfs.h 2007-11-16 23:21:00.000000000 -0800
++++ uClibc-0.9.29/libc/sysdeps/linux/xtensa/sys/procfs.h 2007-11-16 23:26:59.000000000 -0800
+@@ -32,19 +32,11 @@
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <sys/user.h>
++#include <asm/elf.h>
+
+ __BEGIN_DECLS
+
+-/* Type for a general-purpose register. */
+-typedef unsigned long elf_greg_t;
+-
+-#define ELF_NGREG 128
+-typedef elf_greg_t elf_gregset_t[ELF_NGREG];
+-
+-/* Register set for the floating-point registers. */
+-#define ELF_NFPREG 18
+-typedef unsigned long elf_fpreg_t;
+-typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
++/* Note: we get elf_gregset_t and elf_fpregset_t from <asm/elf.h>. */
+
+ /* Signal info. */
+ struct elf_siginfo