mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-25 15:31:05 +00:00
4b173045e9
Woo... It seems the glibc guys finally decided that tarballs were not deprecated, in fact. The patchset was vampirised from Gentoo (kudos, guys!), and applies to glibc+ports, so that's why it's been added as a patchset against ports, not against glibc.
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
2007-03-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Copy some defines
|
|
from alpha's asm/elf.h
|
|
|
|
diff -durN glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/procfs.h glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/procfs.h
|
|
--- glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/procfs.h 2009-05-16 10:36:20.000000000 +0200
|
|
+++ glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/procfs.h 2009-11-13 00:50:49.000000000 +0100
|
|
@@ -29,10 +29,23 @@
|
|
#include <sys/types.h>
|
|
#include <sys/ucontext.h>
|
|
#include <sys/user.h>
|
|
-#include <asm/elf.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
+/*
|
|
+ * The OSF/1 version of <sys/procfs.h> makes gregset_t 46 entries long.
|
|
+ * I have no idea why that is so. For now, we just leave it at 33
|
|
+ * (32 general regs + processor status word).
|
|
+ */
|
|
+#define ELF_NGREG 33
|
|
+#define ELF_NFPREG 32
|
|
+
|
|
+typedef unsigned long elf_greg_t;
|
|
+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
|
|
+
|
|
+typedef double elf_fpreg_t;
|
|
+typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
|
|
+
|
|
struct elf_siginfo
|
|
{
|
|
int si_signo; /* Signal number. */
|
|
diff -durN glibc-2.10.1.orig/ports/sysdeps/unix/sysv/linux/alpha/sys/procfs.h glibc-2.10.1/ports/sysdeps/unix/sysv/linux/alpha/sys/procfs.h
|