This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix alpha build


Committed.

I also needed the include/sys/sendfile.h indirection header,
but I see that Thorsten has already submitted a patch for that.


r~



2005-11-25  Richard Henderson  <rth@redhat.com>

        * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.
        (__fxstatat64): Alias from __fxstatat; remove other cnp errors.
        * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h
        and stddef.h.
        * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define.

Index: sysdeps/unix/sysv/linux/alpha/fxstatat.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/fxstatat.c,v
retrieving revision 1.1
diff -u -p -d -r1.1 fxstatat.c
--- sysdeps/unix/sysv/linux/alpha/fxstatat.c	11 Nov 2005 19:15:37 -0000	1.1
+++ sysdeps/unix/sysv/linux/alpha/fxstatat.c	26 Nov 2005 00:50:31 -0000
@@ -67,7 +67,7 @@ __fxstatat (int vers, int fd, const char
 
   if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64)
     {
-      if (flags & AT_SYMLINK_NOFOLLOW)
+      if (flag & AT_SYMLINK_NOFOLLOW)
 	result = INTERNAL_SYSCALL (lstat64, err, 2, file, st);
       else
 	result = INTERNAL_SYSCALL (stat64, err, 2, file, st);
@@ -94,7 +94,4 @@ __fxstatat (int vers, int fd, const char
 
   return -1;
 }
-hidden_def (__xstat)
-weak_alias (__xstat, _xstat);
-strong_alias (__xstat, __xstat64);
-hidden_ver (__xstat, __xstat64)
+strong_alias (__fxstatat, __fxstatat64);
Index: sysdeps/unix/sysv/linux/alpha/sigaction.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/sigaction.c,v
retrieving revision 1.3
diff -u -p -d -r1.3 sigaction.c
--- sysdeps/unix/sysv/linux/alpha/sigaction.c	13 Jan 2004 09:15:58 -0000	1.3
+++ sysdeps/unix/sysv/linux/alpha/sigaction.c	26 Nov 2005 00:50:31 -0000
@@ -17,6 +17,8 @@
    02111-1307 USA.  */
 
 #include <sysdep.h>
+#include <sys/cdefs.h>
+#include <stddef.h>
 
 /*
  * In order to get the hidden arguments for rt_sigaction set up
Index: sysdeps/unix/sysv/linux/alpha/bits/mman.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/bits/mman.h,v
retrieving revision 1.8
diff -u -p -d -r1.8 mman.h
--- sysdeps/unix/sysv/linux/alpha/bits/mman.h	25 Sep 2003 16:39:39 -0000	1.8
+++ sysdeps/unix/sysv/linux/alpha/bits/mman.h	26 Nov 2005 00:50:31 -0000
@@ -86,6 +86,7 @@
 /* Flags for `mremap'.  */
 #ifdef __USE_GNU
 # define MREMAP_MAYMOVE	1
+# define MREMAP_FIXED	2
 #endif
 
 /* Advice to `madvise'.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]