* [PATCH 1/4] alpha: Define O_PATH.
@ 2012-04-27 2:08 Matt Turner
2012-04-27 2:08 ` [PATCH 3/4] alpha: Remove __STDC__ conditionals Matt Turner
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Matt Turner @ 2012-04-27 2:08 UTC (permalink / raw)
To: Richard Henderson; +Cc: libc-ports, Matt Turner
---
ChangeLog.alpha | 4 ++++
sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index c25d3f1..086faba 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,3 +1,7 @@
+2012-04-26 Matt Turner <mattst88@gmail.com>
+
+ * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_PATH): Define.
+
2012-03-27 Richard Henderson <rth@twiddle.net>
* sysdeps/alpha/elf/configure.in: Move to ...
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
index d6b7b4d..4c55071 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
@@ -52,6 +52,7 @@
#ifdef __USE_GNU
# define O_DIRECT 02000000 /* Direct disk access. */
# define O_NOATIME 04000000 /* Do not set atime. */
+# define O_PATH 040000000 /* Resolve pathname but do not open file. */
#endif
#ifdef __USE_LARGEFILE64
--
1.7.3.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 3/4] alpha: Remove __STDC__ conditionals.
2012-04-27 2:08 [PATCH 1/4] alpha: Define O_PATH Matt Turner
@ 2012-04-27 2:08 ` Matt Turner
2012-04-27 2:28 ` Mike Frysinger
2012-04-27 2:08 ` [PATCH 2/4] alpha: Use const instead of __const Matt Turner
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: Matt Turner @ 2012-04-27 2:08 UTC (permalink / raw)
To: Richard Henderson; +Cc: libc-ports, Matt Turner
---
ChangeLog.alpha | 6 ++++++
sysdeps/alpha/bits/mathdef.h | 11 +----------
sysdeps/unix/alpha/sysdep.h | 7 +------
sysdeps/unix/sysv/linux/alpha/sysdep.h | 9 ++-------
4 files changed, 10 insertions(+), 23 deletions(-)
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index 096fe9a..72eb5af 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,11 @@
2012-04-26 Matt Turner <mattst88@gmail.com>
+ * sysdeps/alpha/bits/mathdef.h: Remove __STDC__ conditionals.
+ * sysdeps/unix/alpha/sysdep.h: Likewise.
+ * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
+
+2012-04-26 Matt Turner <mattst88@gmail.com>
+
* sysdeps/alpha/fpu/bits/fenv.h: Use const instead of __const.
* sysdeps/unix/sysv/linux/alpha/oldglob.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
diff --git a/sysdeps/alpha/bits/mathdef.h b/sysdeps/alpha/bits/mathdef.h
index 7648a9e..ae0049a 100644
--- a/sysdeps/alpha/bits/mathdef.h
+++ b/sysdeps/alpha/bits/mathdef.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1997,1998,1999,2000,2003,2004,2006
- Free Software Foundation, Inc.
+/* Copyright (C) 1997-2012 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
@@ -27,19 +26,11 @@
# define _MATH_H_MATHDEF 1
# ifdef __GNUC__
-# if __STDC__ == 1
/* In GNU or ANSI mode, gcc leaves `float' expressions as-is. */
typedef float float_t;
typedef double double_t;
-# else
-
-/* For `gcc -traditional', `float' expressions are evaluated as `double'. */
-typedef double float_t;
-typedef double double_t;
-
-# endif
# else
/* Wild guess at types for float_t and double_t. */
diff --git a/sysdeps/unix/alpha/sysdep.h b/sysdeps/unix/alpha/sysdep.h
index 4cc8894..e17bf21 100644
--- a/sysdeps/unix/alpha/sysdep.h
+++ b/sysdeps/unix/alpha/sysdep.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 2000, 2003, 2004, 2006, 2010, 2012
- Free Software Foundation, Inc.
+/* Copyright (C) 1992-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
@@ -32,11 +31,7 @@
#endif
-#ifdef __STDC__
#define __LABEL(x) x##:
-#else
-#define __LABEL(x) x/**/:
-#endif
#define LEAF(name, framesize) \
.globl name; \
diff --git a/sysdeps/unix/sysv/linux/alpha/sysdep.h b/sysdeps/unix/sysv/linux/alpha/sysdep.h
index 7616ba9..329fdbd 100644
--- a/sysdeps/unix/sysv/linux/alpha/sysdep.h
+++ b/sysdeps/unix/sysv/linux/alpha/sysdep.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1993, 1995, 1996, 1997, 2002, 2003, 2004, 2007
- Free Software Foundation, Inc.
+/* Copyright (C) 1992-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>, August 1995.
@@ -35,11 +34,7 @@
of the kernel. But these symbols do not follow the SYS_* syntax
so we have to redefine the `SYS_ify' macro here. */
#undef SYS_ify
-#ifdef __STDC__
-# define SYS_ify(syscall_name) __NR_##syscall_name
-#else
-# define SYS_ify(syscall_name) __NR_/**/syscall_name
-#endif
+#define SYS_ify(syscall_name) __NR_##syscall_name
/* Define some aliases to make automatic syscall generation work
properly. The SYS_* variants are for the benefit of the files in
--
1.7.3.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 4/4] alpha: Update bits/mman.h.
2012-04-27 2:08 [PATCH 1/4] alpha: Define O_PATH Matt Turner
2012-04-27 2:08 ` [PATCH 3/4] alpha: Remove __STDC__ conditionals Matt Turner
2012-04-27 2:08 ` [PATCH 2/4] alpha: Use const instead of __const Matt Turner
@ 2012-04-27 2:08 ` Matt Turner
2012-04-27 2:29 ` Mike Frysinger
2012-04-27 2:26 ` [PATCH 1/4] alpha: Define O_PATH Mike Frysinger
3 siblings, 1 reply; 8+ messages in thread
From: Matt Turner @ 2012-04-27 2:08 UTC (permalink / raw)
To: Richard Henderson; +Cc: libc-ports, Matt Turner
---
ChangeLog.alpha | 5 +++++
sysdeps/unix/sysv/linux/alpha/bits/mman.h | 5 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index 72eb5af..e908e27 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,10 @@
2012-04-26 Matt Turner <mattst88@gmail.com>
+ * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MAP_STACK): Define.
+ (MAP_HUGETLB): Likewise.
+
+2012-04-26 Matt Turner <mattst88@gmail.com>
+
* sysdeps/alpha/bits/mathdef.h: Remove __STDC__ conditionals.
* sysdeps/unix/alpha/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/mman.h b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
index 5724e5f..6635bd4 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
@@ -1,6 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/Alpha version.
- Copyright (C) 1997, 1998, 2000, 2003, 2006, 2009
- Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 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
@@ -71,6 +70,8 @@
# define MAP_NORESERVE 0x10000 /* Don't check for reservations. */
# define MAP_POPULATE 0x20000 /* Populate (prefault) pagetables. */
# define MAP_NONBLOCK 0x40000 /* Do not block on IO. */
+# define MAP_STACK 0x80000 /* Allocation is for a stack. */
+# define MAP_HUGETLB 0x100000 /* Create huge page mapping. */
#endif
/* Flags to `msync'. */
--
1.7.3.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/4] alpha: Use const instead of __const.
2012-04-27 2:08 [PATCH 1/4] alpha: Define O_PATH Matt Turner
2012-04-27 2:08 ` [PATCH 3/4] alpha: Remove __STDC__ conditionals Matt Turner
@ 2012-04-27 2:08 ` Matt Turner
2012-04-27 2:26 ` Mike Frysinger
2012-04-27 2:08 ` [PATCH 4/4] alpha: Update bits/mman.h Matt Turner
2012-04-27 2:26 ` [PATCH 1/4] alpha: Define O_PATH Mike Frysinger
3 siblings, 1 reply; 8+ messages in thread
From: Matt Turner @ 2012-04-27 2:08 UTC (permalink / raw)
To: Richard Henderson; +Cc: libc-ports, Matt Turner
---
ChangeLog.alpha | 6 ++++++
sysdeps/alpha/fpu/bits/fenv.h | 8 ++++----
sysdeps/unix/sysv/linux/alpha/oldglob.c | 8 ++++----
sysdeps/unix/sysv/linux/alpha/sys/acct.h | 4 ++--
4 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index 086faba..096fe9a 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,11 @@
2012-04-26 Matt Turner <mattst88@gmail.com>
+ * sysdeps/alpha/fpu/bits/fenv.h: Use const instead of __const.
+ * sysdeps/unix/sysv/linux/alpha/oldglob.c: Likewise.
+ * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
+
+2012-04-26 Matt Turner <mattst88@gmail.com>
+
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_PATH): Define.
2012-03-27 Richard Henderson <rth@twiddle.net>
diff --git a/sysdeps/alpha/fpu/bits/fenv.h b/sysdeps/alpha/fpu/bits/fenv.h
index bab54a7..2ddbaa1 100644
--- a/sysdeps/alpha/fpu/bits/fenv.h
+++ b/sysdeps/alpha/fpu/bits/fenv.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2012 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
@@ -106,15 +106,15 @@ typedef unsigned long int fenv_t;
/* If the default argument is used we use this value. Note that due to
architecture-specified page mappings, no user-space pointer will ever
have its two high bits set. Co-opt one. */
-#define FE_DFL_ENV ((__const fenv_t *) 0x8800000000000000UL)
+#define FE_DFL_ENV ((const fenv_t *) 0x8800000000000000UL)
#ifdef __USE_GNU
/* Floating-point environment where none of the exceptions are masked. */
-# define FE_NOMASK_ENV ((__const fenv_t *) 0x880000000000003eUL)
+# define FE_NOMASK_ENV ((const fenv_t *) 0x880000000000003eUL)
/* Floating-point environment with (processor-dependent) non-IEEE floating
point. In this case, mapping denormals to zero. */
-# define FE_NONIEEE_ENV ((__const fenv_t *) 0x8800000000003000UL)
+# define FE_NONIEEE_ENV ((const fenv_t *) 0x8800000000003000UL)
#endif
/* The system calls to talk to the kernel's FP code. */
diff --git a/sysdeps/unix/sysv/linux/alpha/oldglob.c b/sysdeps/unix/sysv/linux/alpha/oldglob.c
index 1b9bbe0..11fd4a0 100644
--- a/sysdeps/unix/sysv/linux/alpha/oldglob.c
+++ b/sysdeps/unix/sysv/linux/alpha/oldglob.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000, 2004, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2012 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
@@ -36,9 +36,9 @@ typedef struct
are used instead of the normal file access functions. */
void (*gl_closedir) (void *);
struct dirent *(*gl_readdir) (void *);
- __ptr_t (*gl_opendir) (__const char *);
- int (*gl_lstat) (__const char *, struct stat *);
- int (*gl_stat) (__const char *, struct stat *);
+ __ptr_t (*gl_opendir) (const char *);
+ int (*gl_lstat) (const char *, struct stat *);
+ int (*gl_stat) (const char *, struct stat *);
} old_glob_t;
diff --git a/sysdeps/unix/sysv/linux/alpha/sys/acct.h b/sysdeps/unix/sysv/linux/alpha/sys/acct.h
index c22f7ba..9645029 100644
--- a/sysdeps/unix/sysv/linux/alpha/sys/acct.h
+++ b/sysdeps/unix/sysv/linux/alpha/sys/acct.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 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
@@ -58,7 +58,7 @@ enum
/* Switch process accounting on and off. */
-extern int acct (__const char *__filename) __THROW;
+extern int acct (const char *__filename) __THROW;
__END_DECLS
--
1.7.3.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/4] alpha: Use const instead of __const.
2012-04-27 2:08 ` [PATCH 2/4] alpha: Use const instead of __const Matt Turner
@ 2012-04-27 2:26 ` Mike Frysinger
0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2012-04-27 2:26 UTC (permalink / raw)
To: libc-ports; +Cc: Matt Turner, Richard Henderson
[-- Attachment #1: Type: Text/Plain, Size: 51 bytes --]
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/4] alpha: Define O_PATH.
2012-04-27 2:08 [PATCH 1/4] alpha: Define O_PATH Matt Turner
` (2 preceding siblings ...)
2012-04-27 2:08 ` [PATCH 4/4] alpha: Update bits/mman.h Matt Turner
@ 2012-04-27 2:26 ` Mike Frysinger
3 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2012-04-27 2:26 UTC (permalink / raw)
To: libc-ports; +Cc: Matt Turner, Richard Henderson
[-- Attachment #1: Type: Text/Plain, Size: 51 bytes --]
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/4] alpha: Remove __STDC__ conditionals.
2012-04-27 2:08 ` [PATCH 3/4] alpha: Remove __STDC__ conditionals Matt Turner
@ 2012-04-27 2:28 ` Mike Frysinger
0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2012-04-27 2:28 UTC (permalink / raw)
To: libc-ports; +Cc: Matt Turner, Richard Henderson
[-- Attachment #1: Type: Text/Plain, Size: 51 bytes --]
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 4/4] alpha: Update bits/mman.h.
2012-04-27 2:08 ` [PATCH 4/4] alpha: Update bits/mman.h Matt Turner
@ 2012-04-27 2:29 ` Mike Frysinger
0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2012-04-27 2:29 UTC (permalink / raw)
To: libc-ports; +Cc: Matt Turner, Richard Henderson
[-- Attachment #1: Type: Text/Plain, Size: 51 bytes --]
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-04-27 2:29 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-27 2:08 [PATCH 1/4] alpha: Define O_PATH Matt Turner
2012-04-27 2:08 ` [PATCH 3/4] alpha: Remove __STDC__ conditionals Matt Turner
2012-04-27 2:28 ` Mike Frysinger
2012-04-27 2:08 ` [PATCH 2/4] alpha: Use const instead of __const Matt Turner
2012-04-27 2:26 ` Mike Frysinger
2012-04-27 2:08 ` [PATCH 4/4] alpha: Update bits/mman.h Matt Turner
2012-04-27 2:29 ` Mike Frysinger
2012-04-27 2:26 ` [PATCH 1/4] alpha: Define O_PATH Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).