diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-07-25 20:25:34 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-07-25 20:25:34 +0200 |
commit | c1b3b6cab0c921e74534b8fe789b8f7f8dbe62b4 (patch) | |
tree | 54d24168b0aa28b3d4cd32f16aa1ac24944f2ccf /toolchain/uClibc/uClibc-0.9.30-xtensa-000p-fix-procfs.patch | |
parent | f91315e1710c256b353cdc1eba9a2374826798bc (diff) | |
download | buildroot-novena-c1b3b6cab0c921e74534b8fe789b8f7f8dbe62b4.tar.gz buildroot-novena-c1b3b6cab0c921e74534b8fe789b8f7f8dbe62b4.zip |
toolchain/uclibc: xtensa patches
New files missing from 58050c28.
Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/uClibc/uClibc-0.9.30-xtensa-000p-fix-procfs.patch')
-rw-r--r-- | toolchain/uClibc/uClibc-0.9.30-xtensa-000p-fix-procfs.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.30-xtensa-000p-fix-procfs.patch b/toolchain/uClibc/uClibc-0.9.30-xtensa-000p-fix-procfs.patch new file mode 100644 index 000000000..8e62d205f --- /dev/null +++ b/toolchain/uClibc/uClibc-0.9.30-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 |