This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] kernel-features.h for hppa
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: "Mike Frysinger" <vapier at gentoo dot org>
- Cc: libc-ports at sourceware dot org, parisc-linux <parisc-linux at lists dot parisc-linux dot org>
- Date: Sat, 15 Apr 2006 11:19:40 -0400
- Subject: Re: [PATCH] kernel-features.h for hppa
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RYgBf+V7ESqRSFzzSYIEZkceILnO6qkOMQyoruwml0LiRi/7l/2g7yPFuIwGJZGc7V/Cu8m45F13LWxH/y8ZbsBsknhXTZAVdUkX74WxGa/+vuafaoe3VUSoSzTvqgXAqwUabCjI1GT/hbuEREagTabiB7Yv4A13SqauvnT1P+c=
- References: <119aab440604141529p4a9bf2a9r33e6ebbb1138acc9@mail.gmail.com> <200604141907.14043.vapier@gentoo.org>
On 4/14/06, Mike Frysinger <vapier@gentoo.org> wrote:
> On Friday 14 April 2006 18:29, Carlos O'Donell wrote:
> > +# define __ASSUME_32BITUIDS1
> > +# define __ASSUME_TRUNCATE64_SYSCALL1
> > +# define __ASSUME_MMAP2_SYSCALL1
> > +# define __ASSUME_STAT64_SYSCALL1
> > +# define __ASSUME_IPC641
> > +# define __ASSUME_ST_INO_64_BIT1
> > +# define __ASSUME_FCNTL641
> > +# define __ASSUME_GETDENTS64_SYSCALL1
>
> some excess whitespace leftover between the '#' and the 'define' due to the
> copy & paste from the old file ?
Yes, this was a direct copy-n-paste.
New patch attached with extra whitespace removed.
Cheers,
Carlos.
2006-04-15 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
Index: ChangeLog.hppa
===================================================================
RCS file: /cvs/glibc/ports/ChangeLog.hppa,v
retrieving revision 1.2
diff -u -p -r1.2 ChangeLog.hppa
--- ChangeLog.hppa 28 Feb 2006 22:20:13 -0000 1.2
+++ ChangeLog.hppa 15 Apr 2006 15:16:01 -0000
@@ -1,3 +1,8 @@
+2006-04-14 Carlos O'Donell <carlos@systemhalted.org>
+
+ * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
+
+
2006-02-28 Roland McGrath <roland@redhat.com>
* sysdeps/hppa/shlib-versions: New file.
Index: sysdeps/unix/sysv/linux/hppa/kernel-features.h
===================================================================
RCS file: sysdeps/unix/sysv/linux/hppa/kernel-features.h
diff -N sysdeps/unix/sysv/linux/hppa/kernel-features.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sysdeps/unix/sysv/linux/hppa/kernel-features.h 15 Apr 2006 15:16:01 -0000
@@ -0,0 +1,34 @@
+/* Set flags signalling availability of kernel features based on given
+ kernel version number.
+ Copyright (C) 2006 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+
+/* There are an infinite number of PA-RISC kernel versions numbered
+ 2.4.0. But they've not really been released as such. We require
+ and expect the final version here. */
+#define __ASSUME_32BITUIDS 1
+#define __ASSUME_TRUNCATE64_SYSCALL 1
+#define __ASSUME_MMAP2_SYSCALL 1
+#define __ASSUME_STAT64_SYSCALL 1
+#define __ASSUME_IPC64 1
+#define __ASSUME_ST_INO_64_BIT 1
+#define __ASSUME_FCNTL64 1
+#define __ASSUME_GETDENTS64_SYSCALL 1
+
+#include_next <kernel-features.h>