OSDN Git Service

Merge commit 'origin/master' into nptl
authorAustin Foxley <austinf@cetoncorp.com>
Fri, 2 Apr 2010 16:17:30 +0000 (09:17 -0700)
committerAustin Foxley <austinf@cetoncorp.com>
Fri, 2 Apr 2010 16:17:30 +0000 (09:17 -0700)
Conflicts:
Makefile.in
extra/Configs/Config.in
libc/sysdeps/linux/common/bits/kernel-features.h
libc/sysdeps/linux/common/poll.c
libc/sysdeps/linux/common/sysdep.h
libc/sysdeps/linux/sh/sysdep.h

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
12 files changed:
1  2 
Makefile.in
Rules.mak
libc/Makefile.in
libc/misc/pthread/Makefile.in
libc/signal/Makefile.in
libc/stdlib/Makefile.in
libc/string/Makefile.in
libc/sysdeps/linux/common/Makefile.in
libc/sysdeps/linux/common/poll.c
libc/sysdeps/linux/common/sysdep.h
librt/Makefile.in
test/Rules.mak

diff --cc Makefile.in
Simple merge
diff --cc Rules.mak
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
  
  #include <sys/syscall.h>
  #include <sys/poll.h>
+ #include <bits/kernel-features.h>
  
 -_syscall3(int, poll, struct pollfd *, fds,
 -      unsigned long int, nfds, int, timeout)
 +#ifdef __UCLIBC_HAS_THREADS_NATIVE__
 +#include <sysdep-cancel.h>
 +#else
 +#define SINGLE_THREAD_P 1
 +#endif
 +
+ #if defined __ASSUME_POLL_SYSCALL && defined __NR_poll
 +libc_hidden_proto(poll)
  
 -#elif defined(__NR_ppoll) && defined __UCLIBC_LINUX_SPECIFIC__
 +#ifdef __NR_poll
 +
 +#define __NR___syscall_poll __NR_poll
 +static inline _syscall3(int, __syscall_poll, struct pollfd *, fds,
 +                      unsigned long int, nfds, int, timeout);
  
  int poll(struct pollfd *fds, nfds_t nfds, int timeout)
  {
  # endif
  
  #endif /* __ASSEMBLER__ */
 +
 +/* Values used for encoding parameter of cfi_personality and cfi_lsda.  */
 +#define DW_EH_PE_absptr               0x00
 +#define DW_EH_PE_omit         0xff
 +#define DW_EH_PE_uleb128      0x01
 +#define DW_EH_PE_udata2               0x02
 +#define DW_EH_PE_udata4               0x03
 +#define DW_EH_PE_udata8               0x04
 +#define DW_EH_PE_sleb128      0x09
 +#define DW_EH_PE_sdata2               0x0a
 +#define DW_EH_PE_sdata4               0x0b
 +#define DW_EH_PE_sdata8               0x0c
 +#define DW_EH_PE_signed               0x08
 +#define DW_EH_PE_pcrel                0x10
 +#define DW_EH_PE_textrel      0x20
 +#define DW_EH_PE_datarel      0x30
 +#define DW_EH_PE_funcrel      0x40
 +#define DW_EH_PE_aligned      0x50
 +#define DW_EH_PE_indirect     0x80
++
Simple merge
diff --cc test/Rules.mak
Simple merge