Author: baggins                      Date: Wed Mar 18 13:24:03 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- update from CVS (2009-03-17)

---- Files affected:
SOURCES:
   dietlibc-cvs.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dietlibc-cvs.patch
diff -u /dev/null SOURCES/dietlibc-cvs.patch:1.1
--- /dev/null   Wed Mar 18 14:24:04 2009
+++ SOURCES/dietlibc-cvs.patch  Wed Mar 18 14:23:57 2009
@@ -0,0 +1,5454 @@
+diff -urN -x CVS dietlibc-0.31/alpha/strlen.c dietlibc/alpha/strlen.c
+--- dietlibc-0.31/alpha/strlen.c       2001-01-09 18:57:38.000000000 +0100
++++ dietlibc/alpha/strlen.c    1970-01-01 01:00:00.000000000 +0100
+@@ -1,32 +0,0 @@
+-#include <string.h>
+-
+-static const unsigned long long magic = 0x0101010101010101LL;
+-
+-size_t strlen(const char *s)
+-{
+-  const char *t = s;
+-  unsigned long long word;
+-
+-  if (!s) return 0;
+-
+-  /* Byte compare up until 64 bit word boundary */
+-  for (; ((unsigned long long) t & 7); t++)
+-    if (!*t) return t - s;
+-
+-  /* Word compare */
+-  do {
+-    word = *((unsigned long long *) t); t += 8;
+-    word = (word - magic) &~ word;
+-    word &= (magic << 7);
+-  } while (word == 0);
+-
+-  /* word & 0x8080808080808080 == word */
+-  word = (word - 1) & (magic << 8);
+-  word += (word << 32);
+-  word += (word << 16);
+-  word += (word << 8);
+-  t += word >> 56;
+-  return ((const char *) t) - 8 - s;
+-}
+-
+-
+diff -urN -x CVS dietlibc-0.31/alpha/syscalls.h dietlibc/alpha/syscalls.h
+--- dietlibc-0.31/alpha/syscalls.h     2005-09-21 09:33:08.000000000 +0200
++++ dietlibc/alpha/syscalls.h  2008-02-19 01:28:13.000000000 +0100
+@@ -380,6 +380,38 @@
+ #define __NR_inotify_init             444
+ #define __NR_inotify_add_watch                445
+ #define __NR_inotify_rm_watch         446
++#define __NR_fdatasync                        447
++#define __NR_kexec_load                       448
++#define __NR_migrate_pages            449
++#define __NR_openat                   450
++#define __NR_mkdirat                  451
++#define __NR_mknodat                  452
++#define __NR_fchownat                 453
++#define __NR_futimesat                        454
++#define __NR_fstatat64                        455
++#define __NR_unlinkat                 456
++#define __NR_renameat                 457
++#define __NR_linkat                   458
++#define __NR_symlinkat                        459
++#define __NR_readlinkat                       460
++#define __NR_fchmodat                 461
++#define __NR_faccessat                        462
++#define __NR_pselect6                 463
++#define __NR_ppoll                    464
++#define __NR_unshare                  465
++#define __NR_set_robust_list          466
++#define __NR_get_robust_list          467
++#define __NR_splice                   468
++#define __NR_sync_file_range          469
++#define __NR_tee                      470
++#define __NR_vmsplice                 471
++#define __NR_move_pages                       472
++#define __NR_getcpu                   473
++#define __NR_epoll_pwait              474
++#define __NR_utimensat                        475
++#define __NR_signalfd                 476
++#define __NR_timerfd                  477
++#define __NR_eventfd                  478
+ 
+ 
+ #define syscall_weak(name,wsym,sym) \
+diff -urN -x CVS dietlibc-0.31/arm/accept.S dietlibc/arm/accept.S
+--- dietlibc-0.31/arm/accept.S 1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/accept.S      2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(accept,accept)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/__aeabi_unwind_cpp.S 
dietlibc/arm/__aeabi_unwind_cpp.S
+--- dietlibc-0.31/arm/__aeabi_unwind_cpp.S     1970-01-01 01:00:00.000000000 
+0100
++++ dietlibc/arm/__aeabi_unwind_cpp.S  2008-04-12 00:51:11.000000000 +0200
+@@ -0,0 +1,21 @@
++.text
++.global __aeabi_unwind_cpp_pr0
++.hidden __aeabi_unwind_cpp_pr0
++.type __aeabi_unwind_cpp_pr0, %function
++
++.global __aeabi_unwind_cpp_pr1
++.hidden __aeabi_unwind_cpp_pr1
++.type __aeabi_unwind_cpp_pr1, %function
++
++.global __aeabi_unwind_cpp_pr2
++.hidden __aeabi_unwind_cpp_pr2
++.type __aeabi_unwind_cpp_pr2, %function
++
++__aeabi_unwind_cpp_pr0:
++__aeabi_unwind_cpp_pr1:
++__aeabi_unwind_cpp_pr2:
++      mov     pc, lr  @ return from subroutine
++
++.size __aeabi_unwind_cpp_pr0,.-__aeabi_unwind_cpp_pr0
++.size __aeabi_unwind_cpp_pr1,.-__aeabi_unwind_cpp_pr1
++.size __aeabi_unwind_cpp_pr2,.-__aeabi_unwind_cpp_pr2
+diff -urN -x CVS dietlibc-0.31/arm/bind.S dietlibc/arm/bind.S
+--- dietlibc-0.31/arm/bind.S   1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/bind.S        2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(bind,bind)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/clone.S dietlibc/arm/clone.S
+--- dietlibc-0.31/arm/clone.S  2002-02-28 17:27:02.000000000 +0100
++++ dietlibc/arm/clone.S       2008-09-05 17:13:29.000000000 +0200
+@@ -10,6 +10,76 @@
+ @ Some slightly tricky stuff here... edit with care :-)
+ @
+ 
++
++#ifdef __ARM_EABI__
++
++#define CLONE_VM      0x00000100
++#define CLONE_THREAD  0x00010000
++      
++@ ;  don't do this yet
+...@#define RESET_PID
++
++              
++clone:
++__clone:
++      @ ; start with a sanity check
++      cmp     r0, #0
++      cmpne   r1, #0
++      mvneq   r0, #-EINVAL
++      beq     __unified_syscall       @ handle as if error was returned by 
the syscall
++
++      @ ; insert args into stack
++      str     r3, [r1, #-4]!
++      str     r0, [r1, #-4]!
++      
++      @ ; do the system call
++      @ ; get the flags
++      mov     r0, r2
++#ifdef RESET_PID      
++      mov     ip, r2
++#endif        
++      @ ; child sp is already in r1
++      stmfd   sp!, {r4, r7}
++      @stmdb  sp!, {r4, r7}
++      ldr     r2, [sp, #8]
++      ldr     r3, [sp, #12]
++      ldr     r4, [sp, #16]
++        ldr     r7, =__NR_clone
++      swi     0
++      
++      cmp     r0, #0
++      beq     1f
++      ldmfd   sp!, {r4, r7}   
++      blt     __unified_syscall       @ (return code < 0): handle as an error
++      bx      lr
++1:    
++#ifdef RESET_PID              
++      tst     ip, #CLONE_THREAD
++      bne     3f
++
++      mov     r0, #0xffff0fff
++      mov     lr, pc
++      sub     pc, r0, #31
++      mov     r1, r0
++      tst     ip, #CLONE_VM
++      movne   r0, #-1
++        ldr     r7, =__NR_getpid
++      swi     0
++      str     r0, [r1, #PID_OFFSET] @ ; not defined yet ??
++      str     r0, [r1, #TID_OFFSET] @ ; not defined yet ??
++3:    
++#endif
++      @ ; pick the function arg and call address off the stack and execute
++      ldr     r0, [sp, #4]
++      mov     lr, pc
++      ldr     pc, [sp], #8
++      
++      @ ; and we're done, passing return value through r0
++      b       _exit                   @ branch to _exit (PIC safe)
++
++      
++#else
++              
+ clone:
+ __clone:
+       movs    r12, r0                 @ check function pointer
+@@ -32,3 +102,4 @@
+ 
+ 1:    b       _exit                   @ branch to _exit (PIC safe)
+ 
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/connect.S dietlibc/arm/connect.S
+--- dietlibc-0.31/arm/connect.S        1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/connect.S     2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(connect,connect)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/dyn_syscalls.S dietlibc/arm/dyn_syscalls.S
+--- dietlibc-0.31/arm/dyn_syscalls.S   2005-10-08 23:22:09.000000000 +0200
++++ dietlibc/arm/dyn_syscalls.S        2008-07-07 14:31:53.000000000 +0200
+@@ -30,6 +30,7 @@
+ /* ok now include all syscalls.s (*.S) and sysdep *.S */
+ #include "mmap.S"
+ #include "waitpid.S"
++#include "select.S"
+ 
+ #include "../syscalls.s/__getpagesize.S"
+ #include "../syscalls.s/__pread.S"
+@@ -132,7 +133,6 @@
+ #include "../syscalls.s/sched_setparam.S"
+ #include "../syscalls.s/sched_setscheduler.S"
+ #include "../syscalls.s/sched_yield.S"
+-#include "../syscalls.s/select.S"
+ #include "../syscalls.s/sendfile.S"
+ #include "../syscalls.s/sendfile64.S"
+ #include "../syscalls.s/setdomainname.S"
+@@ -289,3 +289,4 @@
+ 
+ #include "__longjmp.S"
+ #include "setjmp.S"
++#include "__guard.S"
+diff -urN -x CVS dietlibc-0.31/arm/getpeername.S dietlibc/arm/getpeername.S
+--- dietlibc-0.31/arm/getpeername.S    1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/getpeername.S 2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(getpeername,getpeername)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/getsockname.S dietlibc/arm/getsockname.S
+--- dietlibc-0.31/arm/getsockname.S    1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/getsockname.S 2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(getsockname,getsockname)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/listen.S dietlibc/arm/listen.S
+--- dietlibc-0.31/arm/listen.S 1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/listen.S      2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(listen,listen)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/Makefile.add dietlibc/arm/Makefile.add
+--- dietlibc-0.31/arm/Makefile.add     2002-05-09 03:05:10.000000000 +0200
++++ dietlibc/arm/Makefile.add  2008-09-05 17:13:29.000000000 +0200
+@@ -1,5 +1,8 @@
+ 
+-LIBOBJ+=$(OBJDIR)/md5asm.o
+-CFLAGS+=-Os -fomit-frame-pointer -fstrict-aliasing -mhard-float
++LIBOBJ+=$(OBJDIR)/md5asm.o $(OBJDIR)/__aeabi_unwind_cpp.o
++CFLAGS+=-Os -fomit-frame-pointer -fstrict-aliasing
++#ifdef __ARM_EABI__
++CFLAGS+=-mabi=aapcs-linux -mfloat-abi=soft -mno-thumb-interwork
++#endif
+ VPATH:=arm:syscalls.s:$(VPATH)
+ LIBGMON_OBJS+=$(OBJDIR)/mcount.o
+diff -urN -x CVS dietlibc-0.31/arm/md5asm.S dietlibc/arm/md5asm.S
+--- dietlibc-0.31/arm/md5asm.S 2002-03-08 11:56:15.000000000 +0100
++++ dietlibc/arm/md5asm.S      2008-09-05 17:13:29.000000000 +0200
+@@ -57,8 +57,12 @@
+    .global MD5Update
+ 
+    .text
++#ifdef __ARM_EABI__
++   .align  4
++#else         
+    .align  2
+-
++#endif
++      
+     @ --
+     @ void MD5Init (MD5_CTX* context);
+     @ --
+diff -urN -x CVS dietlibc-0.31/arm/mmap.S dietlibc/arm/mmap.S
+--- dietlibc-0.31/arm/mmap.S   2002-02-18 20:57:39.000000000 +0100
++++ dietlibc/arm/mmap.S        2008-12-02 22:50:42.000000000 +0100
+@@ -1,4 +1,3 @@
+-
+ #include <errno.h>
+ #include "syscalls.h"
+ 
+@@ -15,6 +14,24 @@
+ 
+ .global mmap
+ 
++#ifdef __ARM_EABI__
++
++mmap:
++      str     r5, [sp, #-4]!
++      ldr     r5, [sp, #8]
++      str     r4, [sp, #-4]!
++      ldr     r4, [sp, #8]
++      mov     ip, r7
++      mov     r7, #__NR_mmap2
++      svc     0x00000000
++      mov     r7, ip
++      ldr     r4, [sp], #4
++      ldr     r5, [sp], #4
++      cmn     r0, #4096
++      mov     pc, lr                  @ return
++
++#else 
++              
+ mmap:
+       stmdb   sp!, {r0, r1, r2, r3}
+       mov     r0, sp
+@@ -22,3 +39,4 @@
+       add     sp, sp, #16
+       b       __unified_syscall
+ 
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/recvfrom.S dietlibc/arm/recvfrom.S
+--- dietlibc-0.31/arm/recvfrom.S       1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/recvfrom.S    2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(recvfrom,recvfrom)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/recvmsg.S dietlibc/arm/recvmsg.S
+--- dietlibc-0.31/arm/recvmsg.S        1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/recvmsg.S     2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(recvmsg,recvmsg)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/recv.S dietlibc/arm/recv.S
+--- dietlibc-0.31/arm/recv.S   1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/recv.S        2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(recv,recv)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/sendmsg.S dietlibc/arm/sendmsg.S
+--- dietlibc-0.31/arm/sendmsg.S        1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/sendmsg.S     2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(sendmsg,sendmsg)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/send.S dietlibc/arm/send.S
+--- dietlibc-0.31/arm/send.S   1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/send.S        2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(send,send)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/sendto.S dietlibc/arm/sendto.S
+--- dietlibc-0.31/arm/sendto.S 1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/sendto.S      2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(sendto,sendto)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/setjmp.S dietlibc/arm/setjmp.S
+--- dietlibc-0.31/arm/setjmp.S 2001-07-02 18:06:48.000000000 +0200
++++ dietlibc/arm/setjmp.S      2008-09-05 17:13:29.000000000 +0200
+@@ -12,6 +12,6 @@
+       sfm     f4, 4, [r0], #48
+ #endif
+       stmia   r0, {r4-r11, sp, lr}
+-      sub     r0, r0, #30
++      sub     r0, r0, #48
+       b       __sigjmp_save
+ 
+diff -urN -x CVS dietlibc-0.31/arm/setsockopt.S dietlibc/arm/setsockopt.S
+--- dietlibc-0.31/arm/setsockopt.S     1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/setsockopt.S  2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(setsockopt,setsockopt)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/shutdown.S dietlibc/arm/shutdown.S
+--- dietlibc-0.31/arm/shutdown.S       1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/shutdown.S    2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(shutdown,shutdown)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/socketpair.S dietlibc/arm/socketpair.S
+--- dietlibc-0.31/arm/socketpair.S     1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/socketpair.S  2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(socketpair,socketpair)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/socket.S dietlibc/arm/socket.S
+--- dietlibc-0.31/arm/socket.S 1970-01-01 01:00:00.000000000 +0100
++++ dietlibc/arm/socket.S      2008-09-05 17:13:29.000000000 +0200
+@@ -0,0 +1,7 @@
++#ifdef __ARM_EABI__
++      
++#include "syscalls.h"
++
++syscall(socket,socket)
++
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/start.S dietlibc/arm/start.S
+--- dietlibc-0.31/arm/start.S  2006-04-04 07:35:14.000000000 +0200
++++ dietlibc/arm/start.S       2008-09-05 17:13:29.000000000 +0200
+@@ -3,12 +3,48 @@
+ #include "syscalls.h"
+ 
+       .text
++#ifdef __ARM_EABI__
++      .align 4
++#else
+       .align 2
+-
++#endif
++      
+       .global _start
+       .weak   exit
+       .global _exit
+ 
++
++#ifdef __ARM_EABI__
++
++_start:
++
++      mov     fp, #0                  @ clear the frame pointer
++      ldr     a1, [sp], #4            @ argc
++      mov     a2, sp                  @ argv
++      ldr     ip, .L3
++      add     a3, a2, a1, lsl #2      @ &argv[argc]
++      add     a3, a3, #4              @ envp  
++      str     a3, [ip, #0]            @ environ = envp
++      bl      main
++              
++@
++@ The exit status from main() is already in r0.
++@ We need to branch to 'exit' in case we have linked with 'atexit'.
++@
++      bl      exit
++
++exit:
++_exit:
++
++      mov     r7, #__NR_exit          
++      swi     0                       @ never returns.
++
++.L3:  .word   environ
++
++      
++#else 
++
++      
+ _start:
+ 
+ #ifdef WANT_DYNAMIC
+@@ -72,4 +108,4 @@
+ #endif
+ 
+ 
+-
++#endif
+diff -urN -x CVS dietlibc-0.31/arm/syscalls.h dietlibc/arm/syscalls.h
+--- dietlibc-0.31/arm/syscalls.h       2007-08-24 23:19:33.000000000 +0200
++++ dietlibc/arm/syscalls.h    2008-09-30 23:02:35.000000000 +0200
+@@ -1,5 +1,16 @@
+-#define __NR_SYSCALL_BASE     0x900000
++#ifndef _ARM_SYSCALL_H
++#define _ARM_SYSCALL_H 1
+ 
++#define __NR_OABI_SYSCALL_BASE        0x900000
++
++#if defined(__thumb__) || defined(__ARM_EABI__)
++#define __NR_SYSCALL_BASE     0
++#else
++#define __NR_SYSCALL_BASE     __NR_OABI_SYSCALL_BASE
++#endif
++
++
++#define __NR_restart_syscall          (__NR_SYSCALL_BASE+  0)
+ #define __NR_exit                     (__NR_SYSCALL_BASE+  1)
+ #define __NR_fork                     (__NR_SYSCALL_BASE+  2)
+ #define __NR_read                     (__NR_SYSCALL_BASE+  3)
+@@ -126,10 +137,10 @@
+ #define __NR_adjtimex                 (__NR_SYSCALL_BASE+124)
+ #define __NR_mprotect                 (__NR_SYSCALL_BASE+125)
+ #define __NR_sigprocmask              (__NR_SYSCALL_BASE+126)
+-#define __NR_create_module            (__NR_SYSCALL_BASE+127)
++                                      /* 127 was sys_create_module */
+ #define __NR_init_module              (__NR_SYSCALL_BASE+128)
+ #define __NR_delete_module            (__NR_SYSCALL_BASE+129)
+-#define __NR_get_kernel_syms          (__NR_SYSCALL_BASE+130)
++                                      /* 130 was sys_get_kernel_syms */
+ #define __NR_quotactl                 (__NR_SYSCALL_BASE+131)
+ #define __NR_getpgid                  (__NR_SYSCALL_BASE+132)
+ #define __NR_fchdir                   (__NR_SYSCALL_BASE+133)
+@@ -166,7 +177,7 @@
+ #define __NR_setresuid                        (__NR_SYSCALL_BASE+164)
+ #define __NR_getresuid                        (__NR_SYSCALL_BASE+165)
+                                       /* 166 was sys_vm86 */
+-#define __NR_query_module             (__NR_SYSCALL_BASE+167)
++                                      /* 167 was sys_query_module */
+ #define __NR_poll                     (__NR_SYSCALL_BASE+168)
+ #define __NR_nfsservctl                       (__NR_SYSCALL_BASE+169)
+ #define __NR_setresgid                        (__NR_SYSCALL_BASE+170)
+@@ -179,8 +190,8 @@
+ #define __NR_rt_sigtimedwait          (__NR_SYSCALL_BASE+177)
+ #define __NR_rt_sigqueueinfo          (__NR_SYSCALL_BASE+178)
+ #define __NR_rt_sigsuspend            (__NR_SYSCALL_BASE+179)
+-#define __NR_pread                    (__NR_SYSCALL_BASE+180)
+-#define __NR_pwrite                   (__NR_SYSCALL_BASE+181)
++#define __NR_pread64                  (__NR_SYSCALL_BASE+180)
++#define __NR_pwrite64                 (__NR_SYSCALL_BASE+181)
+ #define __NR_chown                    (__NR_SYSCALL_BASE+182)
+ #define __NR_getcwd                   (__NR_SYSCALL_BASE+183)
+ #define __NR_capget                   (__NR_SYSCALL_BASE+184)
+@@ -269,7 +280,7 @@
+ #define __NR_fstatfs64                        (__NR_SYSCALL_BASE+267)
+ #define __NR_tgkill                   (__NR_SYSCALL_BASE+268)
+ #define __NR_utimes                   (__NR_SYSCALL_BASE+269)
+-#define __NR_fadvise64                        (__NR_SYSCALL_BASE+270)
++#define __NR_arm_fadvise64_64         (__NR_SYSCALL_BASE+270)
+ #define __NR_pciconfig_iobase         (__NR_SYSCALL_BASE+271)
+ #define __NR_pciconfig_read           (__NR_SYSCALL_BASE+272)
+ #define __NR_pciconfig_write          (__NR_SYSCALL_BASE+273)
+@@ -280,10 +291,38 @@
<<Diff was trimmed, longer than 597 lines>>
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to