mips64 patches (take 2)

Atsushi Nemoto anemo at mba.ocn.ne.jp
Sun Sep 17 16:38:49 UTC 2006


I'd like to send a series of patches for mips64.  Each patch can be
applied individually and intented to do not break mips32 in any phase.

mips64-sigaction.patch --- pull missing parts for mips N32/N64 from glibc
mips64-wordsize.patch --- use _MIPS_SZPTR for WORDSIZE
mips64-kernel_types.patch --- Fix __kernel_ino_t for mips64 N64 ABI
mips64-dirent.patch --- mips specific dirent.h
mips64-string.patch --- memset, memcpy
mips64-syscalls.patch --- syscall macros
mips64-setjmp.patch --- setjmp, longjmp
mips64-asm.patch --- asm routines
mips64-types.patch --- data types
mips64-pread_write.patch --- pread_write
mips64-ldso.patch --- ldso
mips64-ioctl.patch --- ioctl
mips64-make.patch --- Makefile, Config.in, etc.

This is diffstat output of whole patches:

 Makefile.in                                 |    2 
 Rules.mak                                   |   11 ++
 extra/Configs/Config.mips                   |   18 ++++
 include/elf.h                               |   80 ++++++++++++++++++
 ldso/ldso/mips/dl-startup.h                 |   68 ++++++++++++++--
 ldso/ldso/mips/dl-sysdep.h                  |   17 +++-
 ldso/ldso/mips/elfinterp.c                  |   32 ++++---
 ldso/ldso/mips/resolve.S                    |   47 +++++++++++
 libc/string/mips/memcpy.S                   |  119 +++++++++++++++++++++++++++-
 libc/string/mips/memset.S                   |   71 ++++++++++++++++
 libc/sysdeps/linux/mips/Makefile.arch       |    2 
 libc/sysdeps/linux/mips/__longjmp.c         |   42 +++++++++
 libc/sysdeps/linux/mips/bits/dirent.h       |   61 ++++++++++++++
 libc/sysdeps/linux/mips/bits/fcntl.h        |   18 +++-
 libc/sysdeps/linux/mips/bits/kernel_stat.h  |   56 ++++++++++++-
 libc/sysdeps/linux/mips/bits/kernel_types.h |    2 
 libc/sysdeps/linux/mips/bits/setjmp.h       |   10 ++
 libc/sysdeps/linux/mips/bits/siginfo.h      |    3 
 libc/sysdeps/linux/mips/bits/stat.h         |   62 ++++++++++++++
 libc/sysdeps/linux/mips/bits/syscalls.h     |   96 ++++++++++++++++++++++
 libc/sysdeps/linux/mips/bits/wordsize.h     |    4 
 libc/sysdeps/linux/mips/bsd-_setjmp.S       |    7 +
 libc/sysdeps/linux/mips/bsd-setjmp.S        |    7 +
 libc/sysdeps/linux/mips/clone.S             |   32 +++++--
 libc/sysdeps/linux/mips/crt1.S              |   26 +++++-
 libc/sysdeps/linux/mips/crti.S              |  108 +++++++++++++++++++++++++
 libc/sysdeps/linux/mips/crtn.S              |  100 +++++++++++++++++++++++
 libc/sysdeps/linux/mips/ioctl.c             |   32 +++++++
 libc/sysdeps/linux/mips/pipe.S              |    2 
 libc/sysdeps/linux/mips/pread_write.c       |   27 ++++--
 libc/sysdeps/linux/mips/setjmp.S            |   10 ++
 libc/sysdeps/linux/mips/setjmp_aux.c        |   36 ++++++++
 libc/sysdeps/linux/mips/sigaction.c         |   38 ++++++++
 test/Rules.mak                              |    3 
 34 files changed, 1183 insertions(+), 66 deletions(-)

Comments are welcome.  Thank you.

---
Atsushi Nemoto



More information about the uClibc mailing list