patches/glibc/ports-2.10.1/420-alpha-no-asm-elf-header.patch
changeset 1625 fde082da9813
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/ports-2.10.1/420-alpha-no-asm-elf-header.patch	Fri Nov 13 21:37:18 2009 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +2007-03-13  Mike Frysinger  <vapier@gentoo.org>
     1.5 +
     1.6 +	* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Copy some defines
     1.7 +	from alpha's asm/elf.h
     1.8 +
     1.9 +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
    1.10 +--- 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
    1.11 ++++ 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
    1.12 +@@ -29,10 +29,23 @@
    1.13 + #include <sys/types.h>
    1.14 + #include <sys/ucontext.h>
    1.15 + #include <sys/user.h>
    1.16 +-#include <asm/elf.h>
    1.17 + 
    1.18 + __BEGIN_DECLS
    1.19 + 
    1.20 ++/*
    1.21 ++ * The OSF/1 version of <sys/procfs.h> makes gregset_t 46 entries long.
    1.22 ++ * I have no idea why that is so.  For now, we just leave it at 33
    1.23 ++ * (32 general regs + processor status word). 
    1.24 ++ */
    1.25 ++#define ELF_NGREG	33
    1.26 ++#define ELF_NFPREG	32
    1.27 ++
    1.28 ++typedef unsigned long elf_greg_t;
    1.29 ++typedef elf_greg_t elf_gregset_t[ELF_NGREG];
    1.30 ++
    1.31 ++typedef double elf_fpreg_t;
    1.32 ++typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
    1.33 ++
    1.34 + struct elf_siginfo
    1.35 +   {
    1.36 +     int si_signo;			/* Signal number.  */
    1.37 +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