summaryrefslogtreecommitdiff
path: root/libc/ports/sysdeps/mips
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ports/sysdeps/mips')
-rw-r--r--libc/ports/sysdeps/mips/__longjmp.c2
-rw-r--r--libc/ports/sysdeps/mips/add_n.S2
-rw-r--r--libc/ports/sysdeps/mips/addmul_1.S2
-rw-r--r--libc/ports/sysdeps/mips/bits/atomic.h2
-rw-r--r--libc/ports/sysdeps/mips/bits/dlfcn.h3
-rw-r--r--libc/ports/sysdeps/mips/bits/fenv.h2
-rw-r--r--libc/ports/sysdeps/mips/bits/ipctypes.h2
-rw-r--r--libc/ports/sysdeps/mips/bits/link.h2
-rw-r--r--libc/ports/sysdeps/mips/bits/mathdef.h3
-rw-r--r--libc/ports/sysdeps/mips/bits/nan.h3
-rw-r--r--libc/ports/sysdeps/mips/bits/setjmp.h3
-rw-r--r--libc/ports/sysdeps/mips/bits/wordsize.h2
-rw-r--r--libc/ports/sysdeps/mips/bsd-_setjmp.S2
-rw-r--r--libc/ports/sysdeps/mips/bsd-setjmp.S2
-rw-r--r--libc/ports/sysdeps/mips/dl-dtprocnum.h2
-rw-r--r--libc/ports/sysdeps/mips/dl-lookup.c2
-rw-r--r--libc/ports/sysdeps/mips/dl-machine.h2
-rw-r--r--libc/ports/sysdeps/mips/dl-procinfo.c2
-rw-r--r--libc/ports/sysdeps/mips/dl-procinfo.h2
-rw-r--r--libc/ports/sysdeps/mips/dl-tls.h2
-rw-r--r--libc/ports/sysdeps/mips/dl-trampoline.c3
-rw-r--r--libc/ports/sysdeps/mips/fpregdef.h2
-rw-r--r--libc/ports/sysdeps/mips/fpu/e_sqrt.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/e_sqrtf.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fclrexcpt.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fedisblxcpt.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/feenablxcpt.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fegetenv.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fegetexcept.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fegetround.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/feholdexcpt.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fenv_libc.h2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fesetenv.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fesetround.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/feupdateenv.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fgetexcptflg.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fraiseexcpt.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/fsetexcptflg.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu/ftestexcept.c2
-rw-r--r--libc/ports/sysdeps/mips/fpu_control.h2
-rw-r--r--libc/ports/sysdeps/mips/gccframe.h2
-rw-r--r--libc/ports/sysdeps/mips/ieee754/ieee754.h3
-rw-r--r--libc/ports/sysdeps/mips/jmpbuf-unwind.h2
-rw-r--r--libc/ports/sysdeps/mips/ldsodefs.h2
-rw-r--r--libc/ports/sysdeps/mips/libc-tls.c2
-rw-r--r--libc/ports/sysdeps/mips/lshift.S2
-rw-r--r--libc/ports/sysdeps/mips/machine-gmon.h3
-rw-r--r--libc/ports/sysdeps/mips/memcpy.S179
-rw-r--r--libc/ports/sysdeps/mips/memmove.c2
-rw-r--r--libc/ports/sysdeps/mips/memset.S2
-rw-r--r--libc/ports/sysdeps/mips/memusage.h2
-rw-r--r--libc/ports/sysdeps/mips/mips32/crti.S2
-rw-r--r--libc/ports/sysdeps/mips/mips32/crtn.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/__longjmp.c3
-rw-r--r--libc/ports/sysdeps/mips/mips64/add_n.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/addmul_1.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/bsd-_setjmp.S3
-rw-r--r--libc/ports/sysdeps/mips/mips64/bsd-setjmp.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/gmp-mparam.h2
-rw-r--r--libc/ports/sysdeps/mips/mips64/lshift.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/memset.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/mul_1.S3
-rw-r--r--libc/ports/sysdeps/mips/mips64/n32/crti.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/n32/crtn.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/n64/crti.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/n64/crtn.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/rshift.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/setjmp.S3
-rw-r--r--libc/ports/sysdeps/mips/mips64/setjmp_aux.c2
-rw-r--r--libc/ports/sysdeps/mips/mips64/soft-fp/e_sqrtl.c2
-rw-r--r--libc/ports/sysdeps/mips/mips64/sub_n.S2
-rw-r--r--libc/ports/sysdeps/mips/mips64/submul_1.S3
-rw-r--r--libc/ports/sysdeps/mips/mul_1.S2
-rw-r--r--libc/ports/sysdeps/mips/nptl/Makefile2
-rw-r--r--libc/ports/sysdeps/mips/nptl/pthread_spin_lock.c2
-rw-r--r--libc/ports/sysdeps/mips/nptl/pthreaddef.h2
-rw-r--r--libc/ports/sysdeps/mips/nptl/tls.h2
-rw-r--r--libc/ports/sysdeps/mips/regdef.h2
-rw-r--r--libc/ports/sysdeps/mips/rshift.S2
-rw-r--r--libc/ports/sysdeps/mips/setjmp.S2
-rw-r--r--libc/ports/sysdeps/mips/setjmp_aux.c2
-rw-r--r--libc/ports/sysdeps/mips/sgidefs.h2
-rw-r--r--libc/ports/sysdeps/mips/sotruss-lib.c2
-rw-r--r--libc/ports/sysdeps/mips/stackinfo.h2
-rw-r--r--libc/ports/sysdeps/mips/start.S3
-rw-r--r--libc/ports/sysdeps/mips/sub_n.S2
-rw-r--r--libc/ports/sysdeps/mips/submul_1.S2
-rw-r--r--libc/ports/sysdeps/mips/sys/asm.h3
-rw-r--r--libc/ports/sysdeps/mips/sys/fpregdef.h2
-rw-r--r--libc/ports/sysdeps/mips/sys/regdef.h2
-rw-r--r--libc/ports/sysdeps/mips/sys/tas.h3
-rw-r--r--libc/ports/sysdeps/mips/sys/ucontext.h2
-rw-r--r--libc/ports/sysdeps/mips/tst-audit.h2
93 files changed, 205 insertions, 173 deletions
diff --git a/libc/ports/sysdeps/mips/__longjmp.c b/libc/ports/sysdeps/mips/__longjmp.c
index 3a098242c..a9efb0dac 100644
--- a/libc/ports/sysdeps/mips/__longjmp.c
+++ b/libc/ports/sysdeps/mips/__longjmp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1997, 2000, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
diff --git a/libc/ports/sysdeps/mips/add_n.S b/libc/ports/sysdeps/mips/add_n.S
index 99266f11d..7a3848f60 100644
--- a/libc/ports/sysdeps/mips/add_n.S
+++ b/libc/ports/sysdeps/mips/add_n.S
@@ -1,7 +1,7 @@
/* MIPS2 __mpn_add_n -- Add two limb vectors of the same length > 0 and
store sum in a third limb vector.
-Copyright (C) 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
+Copyright (C) 1995-2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/libc/ports/sysdeps/mips/addmul_1.S b/libc/ports/sysdeps/mips/addmul_1.S
index 575f080d5..c34580632 100644
--- a/libc/ports/sysdeps/mips/addmul_1.S
+++ b/libc/ports/sysdeps/mips/addmul_1.S
@@ -1,7 +1,7 @@
/* MIPS __mpn_addmul_1 -- Multiply a limb vector with a single limb and
add the product to a second limb vector.
-Copyright (C) 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
+Copyright (C) 1995-2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/libc/ports/sysdeps/mips/bits/atomic.h b/libc/ports/sysdeps/mips/bits/atomic.h
index 3466df749..566b3dd2b 100644
--- a/libc/ports/sysdeps/mips/bits/atomic.h
+++ b/libc/ports/sysdeps/mips/bits/atomic.h
@@ -1,5 +1,5 @@
/* Low-level functions for atomic operations. Mips version.
- Copyright (C) 2005-2012 Free Software Foundation, Inc.
+ Copyright (C) 2005-2013 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
diff --git a/libc/ports/sysdeps/mips/bits/dlfcn.h b/libc/ports/sysdeps/mips/bits/dlfcn.h
index a1956b2a1..3f82cff92 100644
--- a/libc/ports/sysdeps/mips/bits/dlfcn.h
+++ b/libc/ports/sysdeps/mips/bits/dlfcn.h
@@ -1,6 +1,5 @@
/* System dependent definitions for run-time dynamic loading.
- Copyright (C) 1996, 1997, 1999, 2000, 2001, 2004
- Free Software Foundation, Inc.
+ Copyright (C) 1996-2013 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
diff --git a/libc/ports/sysdeps/mips/bits/fenv.h b/libc/ports/sysdeps/mips/bits/fenv.h
index 4e03c97c1..60aa6c0a9 100644
--- a/libc/ports/sysdeps/mips/bits/fenv.h
+++ b/libc/ports/sysdeps/mips/bits/fenv.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2000, 2012 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2013 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
diff --git a/libc/ports/sysdeps/mips/bits/ipctypes.h b/libc/ports/sysdeps/mips/bits/ipctypes.h
index 3f118e4f1..1f52ef470 100644
--- a/libc/ports/sysdeps/mips/bits/ipctypes.h
+++ b/libc/ports/sysdeps/mips/bits/ipctypes.h
@@ -1,5 +1,5 @@
/* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002-2013 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
diff --git a/libc/ports/sysdeps/mips/bits/link.h b/libc/ports/sysdeps/mips/bits/link.h
index 1e1110a59..b4e5226cb 100644
--- a/libc/ports/sysdeps/mips/bits/link.h
+++ b/libc/ports/sysdeps/mips/bits/link.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2013 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
diff --git a/libc/ports/sysdeps/mips/bits/mathdef.h b/libc/ports/sysdeps/mips/bits/mathdef.h
index fe9999424..6168f1873 100644
--- a/libc/ports/sysdeps/mips/bits/mathdef.h
+++ b/libc/ports/sysdeps/mips/bits/mathdef.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2007
- Free Software Foundation, Inc.
+/* Copyright (C) 1997-2013 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
diff --git a/libc/ports/sysdeps/mips/bits/nan.h b/libc/ports/sysdeps/mips/bits/nan.h
index 3e749bc77..ffbb3b5d5 100644
--- a/libc/ports/sysdeps/mips/bits/nan.h
+++ b/libc/ports/sysdeps/mips/bits/nan.h
@@ -1,6 +1,5 @@
/* `NAN' constant for IEEE 754 machines.
- Copyright (C) 1992, 1996, 1997, 1999, 2002, 2004
- Free Software Foundation, Inc.
+ Copyright (C) 1992-2013 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
diff --git a/libc/ports/sysdeps/mips/bits/setjmp.h b/libc/ports/sysdeps/mips/bits/setjmp.h
index df6fd7b2d..d35b12dc6 100644
--- a/libc/ports/sysdeps/mips/bits/setjmp.h
+++ b/libc/ports/sysdeps/mips/bits/setjmp.h
@@ -1,6 +1,5 @@
/* Define the machine-dependent type `jmp_buf'. MIPS version.
- Copyright (C) 1992,1993,1995,1997,2000,2002,2003,2004,2005,2006
- Free Software Foundation, Inc.
+ Copyright (C) 1992-2013 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
diff --git a/libc/ports/sysdeps/mips/bits/wordsize.h b/libc/ports/sysdeps/mips/bits/wordsize.h
index 2b3549b9e..11d557ae4 100644
--- a/libc/ports/sysdeps/mips/bits/wordsize.h
+++ b/libc/ports/sysdeps/mips/bits/wordsize.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2013 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
diff --git a/libc/ports/sysdeps/mips/bsd-_setjmp.S b/libc/ports/sysdeps/mips/bsd-_setjmp.S
index 91724b9f0..a932096a0 100644
--- a/libc/ports/sysdeps/mips/bsd-_setjmp.S
+++ b/libc/ports/sysdeps/mips/bsd-_setjmp.S
@@ -1,5 +1,5 @@
/* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'. MIPS version.
- Copyright (C) 1996, 1997, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1996-2013 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
diff --git a/libc/ports/sysdeps/mips/bsd-setjmp.S b/libc/ports/sysdeps/mips/bsd-setjmp.S
index 39f570088..406c8492d 100644
--- a/libc/ports/sysdeps/mips/bsd-setjmp.S
+++ b/libc/ports/sysdeps/mips/bsd-setjmp.S
@@ -1,5 +1,5 @@
/* BSD `setjmp' entry point to `sigsetjmp (..., 1)'. MIPS version.
- Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1996-2013 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
diff --git a/libc/ports/sysdeps/mips/dl-dtprocnum.h b/libc/ports/sysdeps/mips/dl-dtprocnum.h
index 494717858..d7a80e90c 100644
--- a/libc/ports/sysdeps/mips/dl-dtprocnum.h
+++ b/libc/ports/sysdeps/mips/dl-dtprocnum.h
@@ -1,5 +1,5 @@
/* Configuration of lookup functions. MIPS version.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 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
diff --git a/libc/ports/sysdeps/mips/dl-lookup.c b/libc/ports/sysdeps/mips/dl-lookup.c
index e62c7d060..02090e5e5 100644
--- a/libc/ports/sysdeps/mips/dl-lookup.c
+++ b/libc/ports/sysdeps/mips/dl-lookup.c
@@ -1,6 +1,6 @@
/* Look up a symbol in the loaded objects.
MIPS/Linux version - special handling of non-PIC undefined symbol rules.
- Copyright (C) 1995-2012 Free Software Foundation, Inc.
+ Copyright (C) 1995-2013 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
diff --git a/libc/ports/sysdeps/mips/dl-machine.h b/libc/ports/sysdeps/mips/dl-machine.h
index 9b970a26e..91f7a7bb5 100644
--- a/libc/ports/sysdeps/mips/dl-machine.h
+++ b/libc/ports/sysdeps/mips/dl-machine.h
@@ -1,5 +1,5 @@
/* Machine-dependent ELF dynamic relocation inline functions. MIPS version.
- Copyright (C) 1996-2012 Free Software Foundation, Inc.
+ Copyright (C) 1996-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>.
diff --git a/libc/ports/sysdeps/mips/dl-procinfo.c b/libc/ports/sysdeps/mips/dl-procinfo.c
index 64c585c8e..69be22119 100644
--- a/libc/ports/sysdeps/mips/dl-procinfo.c
+++ b/libc/ports/sysdeps/mips/dl-procinfo.c
@@ -1,5 +1,5 @@
/* Data for Mips version of processor capability information.
- Copyright (C) 2007-2012 Free Software Foundation, Inc.
+ Copyright (C) 2007-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Robert Millan <rmh@gnu.org>.
diff --git a/libc/ports/sysdeps/mips/dl-procinfo.h b/libc/ports/sysdeps/mips/dl-procinfo.h
index d42aea714..5cc9a4444 100644
--- a/libc/ports/sysdeps/mips/dl-procinfo.h
+++ b/libc/ports/sysdeps/mips/dl-procinfo.h
@@ -1,5 +1,5 @@
/* Mips version of processor capability information handling macros.
- Copyright (C) 2007-2012 Free Software Foundation, Inc.
+ Copyright (C) 2007-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Robert Millan <rmh@gnu.org>.
diff --git a/libc/ports/sysdeps/mips/dl-tls.h b/libc/ports/sysdeps/mips/dl-tls.h
index 749826dad..84b31ede7 100644
--- a/libc/ports/sysdeps/mips/dl-tls.h
+++ b/libc/ports/sysdeps/mips/dl-tls.h
@@ -1,5 +1,5 @@
/* Thread-local storage handling in the ELF dynamic linker. MIPS version.
- Copyright (C) 2005, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2005-2013 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
diff --git a/libc/ports/sysdeps/mips/dl-trampoline.c b/libc/ports/sysdeps/mips/dl-trampoline.c
index e4886cc9b..57fb05b86 100644
--- a/libc/ports/sysdeps/mips/dl-trampoline.c
+++ b/libc/ports/sysdeps/mips/dl-trampoline.c
@@ -1,6 +1,5 @@
/* PLT trampoline. MIPS version.
- Copyright (C) 1996-2001, 2002, 2003, 2004, 2005
- Free Software Foundation, Inc.
+ Copyright (C) 1996-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>.
diff --git a/libc/ports/sysdeps/mips/fpregdef.h b/libc/ports/sysdeps/mips/fpregdef.h
index eb5514409..4b443020c 100644
--- a/libc/ports/sysdeps/mips/fpregdef.h
+++ b/libc/ports/sysdeps/mips/fpregdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 94, 95, 96 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2013 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
diff --git a/libc/ports/sysdeps/mips/fpu/e_sqrt.c b/libc/ports/sysdeps/mips/fpu/e_sqrt.c
index f59750948..cff9cec6e 100644
--- a/libc/ports/sysdeps/mips/fpu/e_sqrt.c
+++ b/libc/ports/sysdeps/mips/fpu/e_sqrt.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Hartvig Ekner <hartvige@mips.com>, 2002.
diff --git a/libc/ports/sysdeps/mips/fpu/e_sqrtf.c b/libc/ports/sysdeps/mips/fpu/e_sqrtf.c
index 7aaf0d1e3..87d242d82 100644
--- a/libc/ports/sysdeps/mips/fpu/e_sqrtf.c
+++ b/libc/ports/sysdeps/mips/fpu/e_sqrtf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Hartvig Ekner <hartvige@mips.com>, 2002.
diff --git a/libc/ports/sysdeps/mips/fpu/fclrexcpt.c b/libc/ports/sysdeps/mips/fpu/fclrexcpt.c
index f4709b4d2..864505e8b 100644
--- a/libc/ports/sysdeps/mips/fpu/fclrexcpt.c
+++ b/libc/ports/sysdeps/mips/fpu/fclrexcpt.c
@@ -1,5 +1,5 @@
/* Clear given exceptions in current floating-point environment.
- Copyright (C) 1998-2012 Free Software Foundation, Inc.
+ Copyright (C) 1998-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1998.
diff --git a/libc/ports/sysdeps/mips/fpu/fedisblxcpt.c b/libc/ports/sysdeps/mips/fpu/fedisblxcpt.c
index 98a01705d..1db197f21 100644
--- a/libc/ports/sysdeps/mips/fpu/fedisblxcpt.c
+++ b/libc/ports/sysdeps/mips/fpu/fedisblxcpt.c
@@ -1,5 +1,5 @@
/* Disable floating-point exceptions.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 2000.
diff --git a/libc/ports/sysdeps/mips/fpu/feenablxcpt.c b/libc/ports/sysdeps/mips/fpu/feenablxcpt.c
index 8d81d6a43..2a3a07618 100644
--- a/libc/ports/sysdeps/mips/fpu/feenablxcpt.c
+++ b/libc/ports/sysdeps/mips/fpu/feenablxcpt.c
@@ -1,5 +1,5 @@
/* Enable floating-point exceptions.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 2000.
diff --git a/libc/ports/sysdeps/mips/fpu/fegetenv.c b/libc/ports/sysdeps/mips/fpu/fegetenv.c
index 33838fba6..1ed8d4bfa 100644
--- a/libc/ports/sysdeps/mips/fpu/fegetenv.c
+++ b/libc/ports/sysdeps/mips/fpu/fegetenv.c
@@ -1,5 +1,5 @@
/* Store current floating-point environment.
- Copyright (C) 1998, 1999, 2000, 2002, 2010 Free Software Foundation, Inc.
+ Copyright (C) 1998-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1998.
diff --git a/libc/ports/sysdeps/mips/fpu/fegetexcept.c b/libc/ports/sysdeps/mips/fpu/fegetexcept.c
index 076cb5056..d9fc13459 100644
--- a/libc/ports/sysdeps/mips/fpu/fegetexcept.c
+++ b/libc/ports/sysdeps/mips/fpu/fegetexcept.c
@@ -1,5 +1,5 @@
/* Get enabled floating-point exceptions.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 2000.
diff --git a/libc/ports/sysdeps/mips/fpu/fegetround.c b/libc/ports/sysdeps/mips/fpu/fegetround.c
index 5033887fa..61217a7c0 100644
--- a/libc/ports/sysdeps/mips/fpu/fegetround.c
+++ b/libc/ports/sysdeps/mips/fpu/fegetround.c
@@ -1,5 +1,5 @@
/* Return current rounding direction.
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998.
diff --git a/libc/ports/sysdeps/mips/fpu/feholdexcpt.c b/libc/ports/sysdeps/mips/fpu/feholdexcpt.c
index 695c62b4b..1fc57187b 100644
--- a/libc/ports/sysdeps/mips/fpu/feholdexcpt.c
+++ b/libc/ports/sysdeps/mips/fpu/feholdexcpt.c
@@ -1,5 +1,5 @@
/* Store current floating-point environment and clear exceptions.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 2000.
diff --git a/libc/ports/sysdeps/mips/fpu/fenv_libc.h b/libc/ports/sysdeps/mips/fpu/fenv_libc.h
index f4e8b4a72..be09c8880 100644
--- a/libc/ports/sysdeps/mips/fpu/fenv_libc.h
+++ b/libc/ports/sysdeps/mips/fpu/fenv_libc.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>.
diff --git a/libc/ports/sysdeps/mips/fpu/fesetenv.c b/libc/ports/sysdeps/mips/fpu/fesetenv.c
index 66c7f2d0f..abc9bc0fd 100644
--- a/libc/ports/sysdeps/mips/fpu/fesetenv.c
+++ b/libc/ports/sysdeps/mips/fpu/fesetenv.c
@@ -1,5 +1,5 @@
/* Install given floating-point environment.
- Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1998.
diff --git a/libc/ports/sysdeps/mips/fpu/fesetround.c b/libc/ports/sysdeps/mips/fpu/fesetround.c
index 4ca3aee04..7c25f43b7 100644
--- a/libc/ports/sysdeps/mips/fpu/fesetround.c
+++ b/libc/ports/sysdeps/mips/fpu/fesetround.c
@@ -1,5 +1,5 @@
/* Set current rounding direction.
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998.
diff --git a/libc/ports/sysdeps/mips/fpu/feupdateenv.c b/libc/ports/sysdeps/mips/fpu/feupdateenv.c
index c028f04f2..60528617f 100644
--- a/libc/ports/sysdeps/mips/fpu/feupdateenv.c
+++ b/libc/ports/sysdeps/mips/fpu/feupdateenv.c
@@ -1,5 +1,5 @@
/* Install given floating-point environment and raise exceptions.
- Copyright (C) 1998, 1999, 2000, 2002, 2010 Free Software Foundation, Inc.
+ Copyright (C) 1998-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1998.
diff --git a/libc/ports/sysdeps/mips/fpu/fgetexcptflg.c b/libc/ports/sysdeps/mips/fpu/fgetexcptflg.c
index a9a8b80ae..b620d2efa 100644
--- a/libc/ports/sysdeps/mips/fpu/fgetexcptflg.c
+++ b/libc/ports/sysdeps/mips/fpu/fgetexcptflg.c
@@ -1,5 +1,5 @@
/* Store current representation for exceptions.
- Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1998.
diff --git a/libc/ports/sysdeps/mips/fpu/fraiseexcpt.c b/libc/ports/sysdeps/mips/fpu/fraiseexcpt.c
index 61de1e250..ca9625003 100644
--- a/libc/ports/sysdeps/mips/fpu/fraiseexcpt.c
+++ b/libc/ports/sysdeps/mips/fpu/fraiseexcpt.c
@@ -1,5 +1,5 @@
/* Raise given exceptions.
- Copyright (C) 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 2000.
diff --git a/libc/ports/sysdeps/mips/fpu/fsetexcptflg.c b/libc/ports/sysdeps/mips/fpu/fsetexcptflg.c
index 2118db0e5..2b9df3bed 100644
--- a/libc/ports/sysdeps/mips/fpu/fsetexcptflg.c
+++ b/libc/ports/sysdeps/mips/fpu/fsetexcptflg.c
@@ -1,5 +1,5 @@
/* Set floating-point environment exception handling.
- Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Hartvig Ekner <hartvige@mips.com>, 2002.
diff --git a/libc/ports/sysdeps/mips/fpu/ftestexcept.c b/libc/ports/sysdeps/mips/fpu/ftestexcept.c
index ff1e07865..ee16b90f7 100644
--- a/libc/ports/sysdeps/mips/fpu/ftestexcept.c
+++ b/libc/ports/sysdeps/mips/fpu/ftestexcept.c
@@ -1,5 +1,5 @@
/* Test exception in current environment.
- Copyright (C) 1998, 2010 Free Software Foundation, Inc.
+ Copyright (C) 1998-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998.
diff --git a/libc/ports/sysdeps/mips/fpu_control.h b/libc/ports/sysdeps/mips/fpu_control.h
index acf794cb9..30e54f9c3 100644
--- a/libc/ports/sysdeps/mips/fpu_control.h
+++ b/libc/ports/sysdeps/mips/fpu_control.h
@@ -1,5 +1,5 @@
/* FPU control word bits. Mips version.
- Copyright (C) 1996-2012 Free Software Foundation, Inc.
+ Copyright (C) 1996-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Olaf Flebbe and Ralf Baechle.
diff --git a/libc/ports/sysdeps/mips/gccframe.h b/libc/ports/sysdeps/mips/gccframe.h
index ad5d01f87..9d6162756 100644
--- a/libc/ports/sysdeps/mips/gccframe.h
+++ b/libc/ports/sysdeps/mips/gccframe.h
@@ -1,5 +1,5 @@
/* Definition of object in frame unwind info. mips version.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001-2013 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
diff --git a/libc/ports/sysdeps/mips/ieee754/ieee754.h b/libc/ports/sysdeps/mips/ieee754/ieee754.h
index 87dbf658e..3a8b241ac 100644
--- a/libc/ports/sysdeps/mips/ieee754/ieee754.h
+++ b/libc/ports/sysdeps/mips/ieee754/ieee754.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 1999, 2002, 2003
- Free Software Foundation, Inc.
+/* Copyright (C) 1992-2013 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
diff --git a/libc/ports/sysdeps/mips/jmpbuf-unwind.h b/libc/ports/sysdeps/mips/jmpbuf-unwind.h
index 355ca56f7..0fc340835 100644
--- a/libc/ports/sysdeps/mips/jmpbuf-unwind.h
+++ b/libc/ports/sysdeps/mips/jmpbuf-unwind.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2013 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
diff --git a/libc/ports/sysdeps/mips/ldsodefs.h b/libc/ports/sysdeps/mips/ldsodefs.h
index 791e61896..d23283c8f 100644
--- a/libc/ports/sysdeps/mips/ldsodefs.h
+++ b/libc/ports/sysdeps/mips/ldsodefs.h
@@ -1,5 +1,5 @@
/* Run-time dynamic linker data structures for loaded ELF shared objects.
- Copyright (C) 2000, 2002, 2003, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 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
diff --git a/libc/ports/sysdeps/mips/libc-tls.c b/libc/ports/sysdeps/mips/libc-tls.c
index b470acc4a..8345d1358 100644
--- a/libc/ports/sysdeps/mips/libc-tls.c
+++ b/libc/ports/sysdeps/mips/libc-tls.c
@@ -1,5 +1,5 @@
/* Thread-local storage handling in the ELF dynamic linker. MIPS version.
- Copyright (C) 2005, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2005-2013 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
diff --git a/libc/ports/sysdeps/mips/lshift.S b/libc/ports/sysdeps/mips/lshift.S
index 9457c8d43..402ab13b9 100644
--- a/libc/ports/sysdeps/mips/lshift.S
+++ b/libc/ports/sysdeps/mips/lshift.S
@@ -1,6 +1,6 @@
/* MIPS2 __mpn_lshift --
-Copyright (C) 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
+Copyright (C) 1995-2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/libc/ports/sysdeps/mips/machine-gmon.h b/libc/ports/sysdeps/mips/machine-gmon.h
index 6e95f2de2..8c62d84a9 100644
--- a/libc/ports/sysdeps/mips/machine-gmon.h
+++ b/libc/ports/sysdeps/mips/machine-gmon.h
@@ -1,6 +1,5 @@
/* Machine-specific calling sequence for `mcount' profiling function. MIPS
- Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004
- Free Software Foundation, Inc.
+ Copyright (C) 1996-2013 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
diff --git a/libc/ports/sysdeps/mips/memcpy.S b/libc/ports/sysdeps/mips/memcpy.S
index abb07f9ee..aeea491e7 100644
--- a/libc/ports/sysdeps/mips/memcpy.S
+++ b/libc/ports/sysdeps/mips/memcpy.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2013 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
@@ -26,12 +26,12 @@
#include <regdef.h>
#include <sys/asm.h>
#define PREFETCH_LOAD_HINT PREFETCH_HINT_LOAD_STREAMED
-#define PREFETCH_STORE_HINT PREFETCH_HINT_STORE_STREAMED
+#define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE
#elif _COMPILING_NEWLIB
#include "machine/asm.h"
#include "machine/regdef.h"
#define PREFETCH_LOAD_HINT PREFETCH_HINT_LOAD_STREAMED
-#define PREFETCH_STORE_HINT PREFETCH_HINT_STORE_STREAMED
+#define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE
#else
#include <regdef.h>
#include <sys/asm.h>
@@ -44,7 +44,7 @@
#endif
#endif
-#if (_MIPS_SIM == _ABI64) || (_MIPS_SIM == _ABIN32)
+#if defined(_MIPS_SIM) && ((_MIPS_SIM == _ABI64) || (_MIPS_SIM == _ABIN32))
#ifndef DISABLE_DOUBLE
#define USE_DOUBLE
#endif
@@ -138,14 +138,15 @@
* get 64 bytes in that case. The assumption is that each individual
* prefetch brings in 32 bytes.
*/
+
#ifdef USE_DOUBLE
# define PREFETCH_CHUNK 64
# define PREFETCH_FOR_LOAD(chunk, reg) \
- pref PREFETCH_LOAD_HINT, (chunk)*32(reg); \
- pref PREFETCH_LOAD_HINT, ((chunk)+1)*32(reg)
+ pref PREFETCH_LOAD_HINT, (chunk)*64(reg); \
+ pref PREFETCH_LOAD_HINT, ((chunk)*64)+32(reg)
# define PREFETCH_FOR_STORE(chunk, reg) \
- pref PREFETCH_STORE_HINT, (chunk)*32(reg); \
- pref PREFETCH_STORE_HINT, ((chunk)+1)*32(reg)
+ pref PREFETCH_STORE_HINT, (chunk)*64(reg); \
+ pref PREFETCH_STORE_HINT, ((chunk)*64)+32(reg)
#else
# define PREFETCH_CHUNK 32
# define PREFETCH_FOR_LOAD(chunk, reg) \
@@ -153,7 +154,28 @@
# define PREFETCH_FOR_STORE(chunk, reg) \
pref PREFETCH_STORE_HINT, (chunk)*32(reg)
#endif
-# define PREFETCH_LIMIT (5 * PREFETCH_CHUNK)
+/* MAX_PREFETCH_SIZE is the maximum size of a prefetch, it must not be less
+ * then PREFETCH_CHUNK, the assumed size of each prefetch. If the real size
+ * of a prefetch is greater then MAX_PREFETCH_SIZE and the PREPAREFORSTORE
+ * hint is used, the code will not work corrrectly. If PREPAREFORSTORE is not
+ * used then MAX_PREFETCH_SIZE does not matter. */
+#define MAX_PREFETCH_SIZE 128
+/* PREFETCH_LIMIT is set based on the fact that we neve use an offset greater
+ * then 5 on a STORE prefetch and that a single prefetch can never be larger
+ * then MAX_PREFETCH_SIZE. We add the extra 32 when USE_DOUBLE is set because
+ * we actually do two prefetches in that case, one 32 bytes after the other. */
+#ifdef USE_DOUBLE
+# define PREFETCH_LIMIT (5 * PREFETCH_CHUNK) + 32 + MAX_PREFETCH_SIZE
+#else
+# define PREFETCH_LIMIT (5 * PREFETCH_CHUNK) + MAX_PREFETCH_SIZE
+#endif
+#if (PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE) \
+ && ((PREFETCH_CHUNK * 4) < MAX_PREFETCH_SIZE)
+/* We cannot handle this because the initial prefetches may fetch bytes that
+ * are before the buffer being copied. We start copies with an offset
+ * of 4 so avoid this situation when using PREPAREFORSTORE. */
+#error "PREFETCH_CHUNK is too large and/or MAX_PREFETCH_SIZE is too small."
+#endif
#else /* USE_PREFETCH not defined */
# define PREFETCH_FOR_LOAD(offset, reg)
# define PREFETCH_FOR_STORE(offset, reg)
@@ -169,7 +191,7 @@
#define REG1 t1
#define REG2 t2
#define REG3 t3
-#if _MIPS_SIM == _ABIO32
+#if defined(_MIPS_SIM) && ((_MIPS_SIM == _ABIO32) || (_MIPS_SIM == _ABIO64))
# define REG4 t4
# define REG5 t5
# define REG6 t6
@@ -258,7 +280,11 @@ L(memcpy):
*/
slti t2,a2,(2 * NSIZE)
bne t2,zero,L(lastb)
+#if defined(RETURN_FIRST_PREFETCH) || defined(RETURN_LAST_PREFETCH)
+ move v0,zero
+#else
move v0,a0
+#endif
/*
* If src and dst have different alignments, go to L(unaligned), if they
* have the same alignment (but are not actually aligned) do a partial
@@ -306,22 +332,46 @@ L(aligned):
PREFETCH_FOR_LOAD (0, a1)
PREFETCH_FOR_LOAD (1, a1)
PREFETCH_FOR_LOAD (2, a1)
+ PREFETCH_FOR_LOAD (3, a1)
+#if defined(USE_PREFETCH) && (PREFETCH_STORE_HINT != PREFETCH_HINT_PREPAREFORSTORE)
PREFETCH_FOR_STORE (1, a0)
-#if defined(USE_PREFETCH) && (PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE)
- sltu v1,t9,a0 /* If a0 > t9 don't use next prefetch */
- bgtz v1,L(loop16w)
+ PREFETCH_FOR_STORE (2, a0)
+ PREFETCH_FOR_STORE (3, a0)
+#endif
+#if defined(RETURN_FIRST_PREFETCH) && defined(USE_PREFETCH)
+#if PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE
+ sltu v1,t9,a0
+ bgtz v1,L(skip_set)
nop
+ PTR_ADDIU v0,a0,(PREFETCH_CHUNK*4)
+L(skip_set):
+#else
+ PTR_ADDIU v0,a0,(PREFETCH_CHUNK*1)
+#endif
+#endif
+#if defined(RETURN_LAST_PREFETCH) && defined(USE_PREFETCH) \
+ && (PREFETCH_STORE_HINT != PREFETCH_HINT_PREPAREFORSTORE)
+ PTR_ADDIU v0,a0,(PREFETCH_CHUNK*3)
+#ifdef USE_DOUBLE
+ PTR_ADDIU v0,v0,32
+#endif
#endif
- PREFETCH_FOR_STORE (2, a0)
L(loop16w):
- PREFETCH_FOR_LOAD (3, a1)
C_LD t0,UNIT(0)(a1)
#if defined(USE_PREFETCH) && (PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE)
- bgtz v1,L(skip_pref30_96)
+ sltu v1,t9,a0 /* If a0 > t9 don't use next prefetch */
+ bgtz v1,L(skip_pref)
#endif
C_LD t1,UNIT(1)(a1)
- PREFETCH_FOR_STORE (3, a0)
-L(skip_pref30_96):
+ PREFETCH_FOR_STORE (4, a0)
+ PREFETCH_FOR_STORE (5, a0)
+#if defined(RETURN_LAST_PREFETCH) && defined(USE_PREFETCH)
+ PTR_ADDIU v0,a0,(PREFETCH_CHUNK*5)
+#ifdef USE_DOUBLE
+ PTR_ADDIU v0,v0,32
+#endif
+#endif
+L(skip_pref):
C_LD REG2,UNIT(2)(a1)
C_LD REG3,UNIT(3)(a1)
C_LD REG4,UNIT(4)(a1)
@@ -340,12 +390,7 @@ L(skip_pref30_96):
C_ST REG7,UNIT(7)(a0)
C_LD t0,UNIT(8)(a1)
-#if defined(USE_PREFETCH) && (PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE)
- bgtz v1,L(skip_pref30_128)
-#endif
C_LD t1,UNIT(9)(a1)
- PREFETCH_FOR_STORE (4, a0)
-L(skip_pref30_128):
C_LD REG2,UNIT(10)(a1)
C_LD REG3,UNIT(11)(a1)
C_LD REG4,UNIT(12)(a1)
@@ -362,9 +407,6 @@ L(skip_pref30_128):
C_ST REG6,UNIT(14)(a0)
C_ST REG7,UNIT(15)(a0)
PTR_ADDIU a0,a0,UNIT(16) /* adding 64/128 to dest */
-#if defined(USE_PREFETCH) && (PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE)
- sltu v1,t9,a0
-#endif
bne a0,a3,L(loop16w)
PTR_ADDIU a1,a1,UNIT(16) /* adding 64/128 to src */
move a2,t8
@@ -416,8 +458,8 @@ L(chk1w):
/* copying in words (4-byte or 8-byte chunks) */
L(wordCopy_loop):
C_LD REG3,UNIT(0)(a1)
- PTR_ADDIU a1,a1,UNIT(1)
PTR_ADDIU a0,a0,UNIT(1)
+ PTR_ADDIU a1,a1,UNIT(1)
bne a0,a3,L(wordCopy_loop)
C_ST REG3,UNIT(-1)(a0)
@@ -427,8 +469,8 @@ L(lastb):
PTR_ADDU a3,a0,a2 /* a3 is the last dst address */
L(lastbloop):
lb v1,0(a1)
- PTR_ADDIU a1,a1,1
PTR_ADDIU a0,a0,1
+ PTR_ADDIU a1,a1,1
bne a0,a3,L(lastbloop)
sb v1,-1(a0)
L(leave):
@@ -475,35 +517,46 @@ L(ua_chk16w):
PREFETCH_FOR_LOAD (0, a1)
PREFETCH_FOR_LOAD (1, a1)
PREFETCH_FOR_LOAD (2, a1)
+#if defined(USE_PREFETCH) && (PREFETCH_STORE_HINT != PREFETCH_HINT_PREPAREFORSTORE)
PREFETCH_FOR_STORE (1, a0)
-#if defined(USE_PREFETCH) && (PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE)
- sltu v1,t9,a0
- bgtz v1,L(ua_loop16w) /* skip prefetch for too short arrays */
+ PREFETCH_FOR_STORE (2, a0)
+ PREFETCH_FOR_STORE (3, a0)
+#endif
+#if defined(RETURN_FIRST_PREFETCH) && defined(USE_PREFETCH)
+#if (PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE)
+ sltu v1,t9,a0
+ bgtz v1,L(ua_skip_set)
nop
+ PTR_ADDIU v0,a0,(PREFETCH_CHUNK*4)
+L(ua_skip_set):
+#else
+ PTR_ADDIU v0,a0,(PREFETCH_CHUNK*1)
+#endif
#endif
- PREFETCH_FOR_STORE (2, a0)
L(ua_loop16w):
PREFETCH_FOR_LOAD (3, a1)
C_LDHI t0,UNIT(0)(a1)
- C_LDLO t0,UNITM1(1)(a1)
C_LDHI t1,UNIT(1)(a1)
+ C_LDHI REG2,UNIT(2)(a1)
#if defined(USE_PREFETCH) && (PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE)
- bgtz v1,L(ua_skip_pref30_96)
+ sltu v1,t9,a0
+ bgtz v1,L(ua_skip_pref)
#endif
+ C_LDHI REG3,UNIT(3)(a1)
+ PREFETCH_FOR_STORE (4, a0)
+ PREFETCH_FOR_STORE (5, a0)
+L(ua_skip_pref):
+ C_LDHI REG4,UNIT(4)(a1)
+ C_LDHI REG5,UNIT(5)(a1)
+ C_LDHI REG6,UNIT(6)(a1)
+ C_LDHI REG7,UNIT(7)(a1)
+ C_LDLO t0,UNITM1(1)(a1)
C_LDLO t1,UNITM1(2)(a1)
- PREFETCH_FOR_STORE (3, a0)
-L(ua_skip_pref30_96):
- C_LDHI REG2,UNIT(2)(a1)
C_LDLO REG2,UNITM1(3)(a1)
- C_LDHI REG3,UNIT(3)(a1)
C_LDLO REG3,UNITM1(4)(a1)
- C_LDHI REG4,UNIT(4)(a1)
C_LDLO REG4,UNITM1(5)(a1)
- C_LDHI REG5,UNIT(5)(a1)
C_LDLO REG5,UNITM1(6)(a1)
- C_LDHI REG6,UNIT(6)(a1)
C_LDLO REG6,UNITM1(7)(a1)
- C_LDHI REG7,UNIT(7)(a1)
C_LDLO REG7,UNITM1(8)(a1)
PREFETCH_FOR_LOAD (4, a1)
C_ST t0,UNIT(0)(a0)
@@ -515,25 +568,20 @@ L(ua_skip_pref30_96):
C_ST REG6,UNIT(6)(a0)
C_ST REG7,UNIT(7)(a0)
C_LDHI t0,UNIT(8)(a1)
- C_LDLO t0,UNITM1(9)(a1)
C_LDHI t1,UNIT(9)(a1)
-#if defined(USE_PREFETCH) && (PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE)
- bgtz v1,L(ua_skip_pref30_128)
-#endif
- C_LDLO t1,UNITM1(10)(a1)
- PREFETCH_FOR_STORE (4, a0)
-L(ua_skip_pref30_128):
C_LDHI REG2,UNIT(10)(a1)
- C_LDLO REG2,UNITM1(11)(a1)
C_LDHI REG3,UNIT(11)(a1)
- C_LDLO REG3,UNITM1(12)(a1)
C_LDHI REG4,UNIT(12)(a1)
- C_LDLO REG4,UNITM1(13)(a1)
C_LDHI REG5,UNIT(13)(a1)
- C_LDLO REG5,UNITM1(14)(a1)
C_LDHI REG6,UNIT(14)(a1)
- C_LDLO REG6,UNITM1(15)(a1)
C_LDHI REG7,UNIT(15)(a1)
+ C_LDLO t0,UNITM1(9)(a1)
+ C_LDLO t1,UNITM1(10)(a1)
+ C_LDLO REG2,UNITM1(11)(a1)
+ C_LDLO REG3,UNITM1(12)(a1)
+ C_LDLO REG4,UNITM1(13)(a1)
+ C_LDLO REG5,UNITM1(14)(a1)
+ C_LDLO REG6,UNITM1(15)(a1)
C_LDLO REG7,UNITM1(16)(a1)
PREFETCH_FOR_LOAD (5, a1)
C_ST t0,UNIT(8)(a0)
@@ -545,9 +593,6 @@ L(ua_skip_pref30_128):
C_ST REG6,UNIT(14)(a0)
C_ST REG7,UNIT(15)(a0)
PTR_ADDIU a0,a0,UNIT(16) /* adding 64/128 to dest */
-#if defined(USE_PREFETCH) && (PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE)
- sltu v1,t9,a0
-#endif
bne a0,a3,L(ua_loop16w)
PTR_ADDIU a1,a1,UNIT(16) /* adding 64/128 to src */
move a2,t8
@@ -564,20 +609,20 @@ L(ua_chkw):
beq a2,t8,L(ua_chk1w) /* When a2=t8, no 32-byte chunk */
nop
C_LDHI t0,UNIT(0)(a1)
- C_LDLO t0,UNITM1(1)(a1)
C_LDHI t1,UNIT(1)(a1)
- C_LDLO t1,UNITM1(2)(a1)
C_LDHI REG2,UNIT(2)(a1)
- C_LDLO REG2,UNITM1(3)(a1)
C_LDHI REG3,UNIT(3)(a1)
- C_LDLO REG3,UNITM1(4)(a1)
C_LDHI REG4,UNIT(4)(a1)
- C_LDLO REG4,UNITM1(5)(a1)
C_LDHI REG5,UNIT(5)(a1)
- C_LDLO REG5,UNITM1(6)(a1)
C_LDHI REG6,UNIT(6)(a1)
- C_LDLO REG6,UNITM1(7)(a1)
C_LDHI REG7,UNIT(7)(a1)
+ C_LDLO t0,UNITM1(1)(a1)
+ C_LDLO t1,UNITM1(2)(a1)
+ C_LDLO REG2,UNITM1(3)(a1)
+ C_LDLO REG3,UNITM1(4)(a1)
+ C_LDLO REG4,UNITM1(5)(a1)
+ C_LDLO REG5,UNITM1(6)(a1)
+ C_LDLO REG6,UNITM1(7)(a1)
C_LDLO REG7,UNITM1(8)(a1)
PTR_ADDIU a1,a1,UNIT(8)
C_ST t0,UNIT(0)(a0)
@@ -603,8 +648,8 @@ L(ua_chk1w):
L(ua_wordCopy_loop):
C_LDHI v1,UNIT(0)(a1)
C_LDLO v1,UNITM1(1)(a1)
- PTR_ADDIU a1,a1,UNIT(1)
PTR_ADDIU a0,a0,UNIT(1)
+ PTR_ADDIU a1,a1,UNIT(1)
bne a0,a3,L(ua_wordCopy_loop)
C_ST v1,UNIT(-1)(a0)
@@ -614,8 +659,8 @@ L(ua_smallCopy):
PTR_ADDU a3,a0,a2 /* a3 is the last dst address */
L(ua_smallCopy_loop):
lb v1,0(a1)
- PTR_ADDIU a1,a1,1
PTR_ADDIU a0,a0,1
+ PTR_ADDIU a1,a1,1
bne a0,a3,L(ua_smallCopy_loop)
sb v1,-1(a0)
@@ -625,6 +670,8 @@ L(ua_smallCopy_loop):
.set at
.set reorder
END(MEMCPY_NAME)
+#ifndef ANDROID_CHANGES
#ifdef _LIBC
libc_hidden_builtin_def (MEMCPY_NAME)
#endif
+#endif
diff --git a/libc/ports/sysdeps/mips/memmove.c b/libc/ports/sysdeps/mips/memmove.c
index 1426ec32e..fd36859e6 100644
--- a/libc/ports/sysdeps/mips/memmove.c
+++ b/libc/ports/sysdeps/mips/memmove.c
@@ -1,6 +1,6 @@
/* Copy memory to memory until the specified number of bytes
has been copied. Overlap is handled correctly.
- Copyright (C) 2012 Free Software Foundation, Inc.
+ Copyright (C) 2012-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Maxim Kuvyrkov <maxim@codesourcery.com>.
diff --git a/libc/ports/sysdeps/mips/memset.S b/libc/ports/sysdeps/mips/memset.S
index 30a0ba44e..8c8606c83 100644
--- a/libc/ports/sysdeps/mips/memset.S
+++ b/libc/ports/sysdeps/mips/memset.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Hartvig Ekner <hartvige@mips.com>, 2002.
diff --git a/libc/ports/sysdeps/mips/memusage.h b/libc/ports/sysdeps/mips/memusage.h
index d29d74f83..56ce54bc1 100644
--- a/libc/ports/sysdeps/mips/memusage.h
+++ b/libc/ports/sysdeps/mips/memusage.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2013 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
diff --git a/libc/ports/sysdeps/mips/mips32/crti.S b/libc/ports/sysdeps/mips/mips32/crti.S
index dffd6b8e7..5b46279c1 100644
--- a/libc/ports/sysdeps/mips/mips32/crti.S
+++ b/libc/ports/sysdeps/mips/mips32/crti.S
@@ -1,5 +1,5 @@
/* Special .init and .fini section support for MIPS (o32).
- Copyright (C) 1995-2012 Free Software Foundation, Inc.
+ Copyright (C) 1995-2013 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
diff --git a/libc/ports/sysdeps/mips/mips32/crtn.S b/libc/ports/sysdeps/mips/mips32/crtn.S
index 04e49b5f3..44cdff0a1 100644
--- a/libc/ports/sysdeps/mips/mips32/crtn.S
+++ b/libc/ports/sysdeps/mips/mips32/crtn.S
@@ -1,5 +1,5 @@
/* Special .init and .fini section support for MIPS (o32).
- Copyright (C) 1995-2012 Free Software Foundation, Inc.
+ Copyright (C) 1995-2013 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
diff --git a/libc/ports/sysdeps/mips/mips64/__longjmp.c b/libc/ports/sysdeps/mips/mips64/__longjmp.c
index a6f31cb5a..1e42e9c28 100644
--- a/libc/ports/sysdeps/mips/mips64/__longjmp.c
+++ b/libc/ports/sysdeps/mips/mips64/__longjmp.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1995, 1997, 2000, 2003, 2004, 2009
- Free Software Foundation, Inc.
+/* Copyright (C) 1992-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
diff --git a/libc/ports/sysdeps/mips/mips64/add_n.S b/libc/ports/sysdeps/mips/mips64/add_n.S
index 715c2d2db..efb6cf424 100644
--- a/libc/ports/sysdeps/mips/mips64/add_n.S
+++ b/libc/ports/sysdeps/mips/mips64/add_n.S
@@ -1,7 +1,7 @@
/* MIPS3 __mpn_add_n -- Add two limb vectors of the same length > 0 and
* store sum in a third limb vector.
*
- * Copyright (C) 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2013 Free Software Foundation, Inc.
*
* This file is part of the GNU MP Library.
*
diff --git a/libc/ports/sysdeps/mips/mips64/addmul_1.S b/libc/ports/sysdeps/mips/mips64/addmul_1.S
index f62b4a1cc..43838fd2f 100644
--- a/libc/ports/sysdeps/mips/mips64/addmul_1.S
+++ b/libc/ports/sysdeps/mips/mips64/addmul_1.S
@@ -1,7 +1,7 @@
/* MIPS3 __mpn_addmul_1 -- Multiply a limb vector with a single limb and
* add the product to a second limb vector.
*
- * Copyright (C) 1992, 1994, 1995, 2002, 2003 Free Software Foundation, Inc.
+ * Copyright (C) 1992-2013 Free Software Foundation, Inc.
*
* This file is part of the GNU MP Library.
*
diff --git a/libc/ports/sysdeps/mips/mips64/bsd-_setjmp.S b/libc/ports/sysdeps/mips/mips64/bsd-_setjmp.S
index 4debc4f89..de36cf0e8 100644
--- a/libc/ports/sysdeps/mips/mips64/bsd-_setjmp.S
+++ b/libc/ports/sysdeps/mips/mips64/bsd-_setjmp.S
@@ -1,6 +1,5 @@
/* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'. MIPS64 version.
- Copyright (C) 1996, 1997, 2000, 2002, 2003, 2004
- Free Software Foundation, Inc.
+ Copyright (C) 1996-2013 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
diff --git a/libc/ports/sysdeps/mips/mips64/bsd-setjmp.S b/libc/ports/sysdeps/mips/mips64/bsd-setjmp.S
index 972dfcaba..c3e26bfc2 100644
--- a/libc/ports/sysdeps/mips/mips64/bsd-setjmp.S
+++ b/libc/ports/sysdeps/mips/mips64/bsd-setjmp.S
@@ -1,5 +1,5 @@
/* BSD `setjmp' entry point to `sigsetjmp (..., 1)'. MIPS64 version.
- Copyright (C) 1996, 1997, 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1996-2013 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
diff --git a/libc/ports/sysdeps/mips/mips64/gmp-mparam.h b/libc/ports/sysdeps/mips/mips64/gmp-mparam.h
index be2dcb89a..cc6bf0e93 100644
--- a/libc/ports/sysdeps/mips/mips64/gmp-mparam.h
+++ b/libc/ports/sysdeps/mips/mips64/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright (C) 1991, 1993, 1994, 2002, 2003 Free Software Foundation, Inc.
+Copyright (C) 1991-2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/libc/ports/sysdeps/mips/mips64/lshift.S b/libc/ports/sysdeps/mips/mips64/lshift.S
index 52783f8cd..e0b02bc25 100644
--- a/libc/ports/sysdeps/mips/mips64/lshift.S
+++ b/libc/ports/sysdeps/mips/mips64/lshift.S
@@ -1,6 +1,6 @@
/* MIPS3 __mpn_lshift --
*
- * Copyright (C) 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2013 Free Software Foundation, Inc.
*
* This file is part of the GNU MP Library.
*
diff --git a/libc/ports/sysdeps/mips/mips64/memset.S b/libc/ports/sysdeps/mips/mips64/memset.S
index a2f9120e8..382b0f482 100644
--- a/libc/ports/sysdeps/mips/mips64/memset.S
+++ b/libc/ports/sysdeps/mips/mips64/memset.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Hartvig Ekner <hartvige@mips.com>, 2002.
Ported to mips3 n32/n64 by Alexandre Oliva <aoliva@redhat.com>
diff --git a/libc/ports/sysdeps/mips/mips64/mul_1.S b/libc/ports/sysdeps/mips/mips64/mul_1.S
index 8539a87b7..2fe28d369 100644
--- a/libc/ports/sysdeps/mips/mips64/mul_1.S
+++ b/libc/ports/sysdeps/mips/mips64/mul_1.S
@@ -1,8 +1,7 @@
/* MIPS3 __mpn_mul_1 -- Multiply a limb vector with a single limb and
* store the product in a second limb vector.
*
- * Copyright (C) 1992, 1994, 1995, 2000, 2002, 2003
- * Free Software Foundation, Inc.
+ * Copyright (C) 1992-2013 Free Software Foundation, Inc.
*
* This file is part of the GNU MP Library.
*
diff --git a/libc/ports/sysdeps/mips/mips64/n32/crti.S b/libc/ports/sysdeps/mips/mips64/n32/crti.S
index 6eb53f15e..d9066b2d6 100644
--- a/libc/ports/sysdeps/mips/mips64/n32/crti.S
+++ b/libc/ports/sysdeps/mips/mips64/n32/crti.S
@@ -1,5 +1,5 @@
/* Special .init and .fini section support for MIPS (n32).
- Copyright (C) 1995-2012 Free Software Foundation, Inc.
+ Copyright (C) 1995-2013 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
diff --git a/libc/ports/sysdeps/mips/mips64/n32/crtn.S b/libc/ports/sysdeps/mips/mips64/n32/crtn.S
index cde92b26d..daf7d4256 100644
--- a/libc/ports/sysdeps/mips/mips64/n32/crtn.S
+++ b/libc/ports/sysdeps/mips/mips64/n32/crtn.S
@@ -1,5 +1,5 @@
/* Special .init and .fini section support for MIPS (n32).
- Copyright (C) 1995-2012 Free Software Foundation, Inc.
+ Copyright (C) 1995-2013 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
diff --git a/libc/ports/sysdeps/mips/mips64/n64/crti.S b/libc/ports/sysdeps/mips/mips64/n64/crti.S
index d263594b7..2111ba539 100644
--- a/libc/ports/sysdeps/mips/mips64/n64/crti.S
+++ b/libc/ports/sysdeps/mips/mips64/n64/crti.S
@@ -1,5 +1,5 @@
/* Special .init and .fini section support for MIPS (n64).
- Copyright (C) 1995-2012 Free Software Foundation, Inc.
+ Copyright (C) 1995-2013 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
diff --git a/libc/ports/sysdeps/mips/mips64/n64/crtn.S b/libc/ports/sysdeps/mips/mips64/n64/crtn.S
index 411e9f879..c66a2e555 100644
--- a/libc/ports/sysdeps/mips/mips64/n64/crtn.S
+++ b/libc/ports/sysdeps/mips/mips64/n64/crtn.S
@@ -1,5 +1,5 @@
/* Special .init and .fini section support for MIPS (n64).
- Copyright (C) 1995-2012 Free Software Foundation, Inc.
+ Copyright (C) 1995-2013 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
diff --git a/libc/ports/sysdeps/mips/mips64/rshift.S b/libc/ports/sysdeps/mips/mips64/rshift.S
index 3cb040859..75ac68bb2 100644
--- a/libc/ports/sysdeps/mips/mips64/rshift.S
+++ b/libc/ports/sysdeps/mips/mips64/rshift.S
@@ -1,6 +1,6 @@
/* MIPS3 __mpn_rshift --
*
- * Copyright (C) 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2013 Free Software Foundation, Inc.
*
* This file is part of the GNU MP Library.
*
diff --git a/libc/ports/sysdeps/mips/mips64/setjmp.S b/libc/ports/sysdeps/mips/mips64/setjmp.S
index 25c0b72ad..53ed92ca4 100644
--- a/libc/ports/sysdeps/mips/mips64/setjmp.S
+++ b/libc/ports/sysdeps/mips/mips64/setjmp.S
@@ -1,5 +1,4 @@
-/* Copyright (C) 1996, 1997, 2000, 2002, 2003, 2004
- Free Software Foundation, Inc.
+/* Copyright (C) 1996-2013 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
diff --git a/libc/ports/sysdeps/mips/mips64/setjmp_aux.c b/libc/ports/sysdeps/mips/mips64/setjmp_aux.c
index d1e256be7..9515f44b8 100644
--- a/libc/ports/sysdeps/mips/mips64/setjmp_aux.c
+++ b/libc/ports/sysdeps/mips/mips64/setjmp_aux.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
diff --git a/libc/ports/sysdeps/mips/mips64/soft-fp/e_sqrtl.c b/libc/ports/sysdeps/mips/mips64/soft-fp/e_sqrtl.c
index c662c97e0..caefab47b 100644
--- a/libc/ports/sysdeps/mips/mips64/soft-fp/e_sqrtl.c
+++ b/libc/ports/sysdeps/mips/mips64/soft-fp/e_sqrtl.c
@@ -1,5 +1,5 @@
/* long double square root in software floating-point emulation.
- Copyright (C) 1997, 1999, 2006, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libc/ports/sysdeps/mips/mips64/sub_n.S b/libc/ports/sysdeps/mips/mips64/sub_n.S
index a2c0c1565..ea8f4bd4c 100644
--- a/libc/ports/sysdeps/mips/mips64/sub_n.S
+++ b/libc/ports/sysdeps/mips/mips64/sub_n.S
@@ -1,7 +1,7 @@
/* MIPS3 __mpn_sub_n -- Subtract two limb vectors of the same length > 0 and
* store difference in a third limb vector.
*
- * Copyright (C) 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2013 Free Software Foundation, Inc.
*
* This file is part of the GNU MP Library.
*
diff --git a/libc/ports/sysdeps/mips/mips64/submul_1.S b/libc/ports/sysdeps/mips/mips64/submul_1.S
index 85587593c..22239d52b 100644
--- a/libc/ports/sysdeps/mips/mips64/submul_1.S
+++ b/libc/ports/sysdeps/mips/mips64/submul_1.S
@@ -1,8 +1,7 @@
/* MIPS3 __mpn_submul_1 -- Multiply a limb vector with a single limb and
* subtract the product from a second limb vector.
*
- * Copyright (C) 1992, 1994, 1995, 2000, 2002, 2003
- * Free Software Foundation, Inc.
+ * Copyright (C) 1992-2013 Free Software Foundation, Inc.
*
* This file is part of the GNU MP Library.
*
diff --git a/libc/ports/sysdeps/mips/mul_1.S b/libc/ports/sysdeps/mips/mul_1.S
index 125000ca1..05ea372fe 100644
--- a/libc/ports/sysdeps/mips/mul_1.S
+++ b/libc/ports/sysdeps/mips/mul_1.S
@@ -1,7 +1,7 @@
/* MIPS __mpn_mul_1 -- Multiply a limb vector with a single limb and
store the product in a second limb vector.
-Copyright (C) 1995, 1998, 2000, 2002, 2003 Free Software Foundation, Inc.
+Copyright (C) 1995-2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/libc/ports/sysdeps/mips/nptl/Makefile b/libc/ports/sysdeps/mips/nptl/Makefile
index ef42ebe64..d60aaf433 100644
--- a/libc/ports/sysdeps/mips/nptl/Makefile
+++ b/libc/ports/sysdeps/mips/nptl/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005-2013 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
diff --git a/libc/ports/sysdeps/mips/nptl/pthread_spin_lock.c b/libc/ports/sysdeps/mips/nptl/pthread_spin_lock.c
index f39b0182b..4ab5b2034 100644
--- a/libc/ports/sysdeps/mips/nptl/pthread_spin_lock.c
+++ b/libc/ports/sysdeps/mips/nptl/pthread_spin_lock.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2013 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
diff --git a/libc/ports/sysdeps/mips/nptl/pthreaddef.h b/libc/ports/sysdeps/mips/nptl/pthreaddef.h
index 0a28ab42d..8ba1e5384 100644
--- a/libc/ports/sysdeps/mips/nptl/pthreaddef.h
+++ b/libc/ports/sysdeps/mips/nptl/pthreaddef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2013 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
diff --git a/libc/ports/sysdeps/mips/nptl/tls.h b/libc/ports/sysdeps/mips/nptl/tls.h
index 8a97437ba..0c9199534 100644
--- a/libc/ports/sysdeps/mips/nptl/tls.h
+++ b/libc/ports/sysdeps/mips/nptl/tls.h
@@ -1,5 +1,5 @@
/* Definition for thread-local data handling. NPTL/MIPS version.
- Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2005-2013 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
diff --git a/libc/ports/sysdeps/mips/regdef.h b/libc/ports/sysdeps/mips/regdef.h
index 9fa0eaf1d..aeafb93d2 100644
--- a/libc/ports/sysdeps/mips/regdef.h
+++ b/libc/ports/sysdeps/mips/regdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ralf Baechle <ralf@gnu.org>.
diff --git a/libc/ports/sysdeps/mips/rshift.S b/libc/ports/sysdeps/mips/rshift.S
index 79b8bd73f..8605cd498 100644
--- a/libc/ports/sysdeps/mips/rshift.S
+++ b/libc/ports/sysdeps/mips/rshift.S
@@ -1,6 +1,6 @@
/* MIPS2 __mpn_rshift --
-Copyright (C) 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
+Copyright (C) 1995-2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/libc/ports/sysdeps/mips/setjmp.S b/libc/ports/sysdeps/mips/setjmp.S
index a5c37c748..7c53b97b2 100644
--- a/libc/ports/sysdeps/mips/setjmp.S
+++ b/libc/ports/sysdeps/mips/setjmp.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2013 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
diff --git a/libc/ports/sysdeps/mips/setjmp_aux.c b/libc/ports/sysdeps/mips/setjmp_aux.c
index 69ae177e7..a955a4ffa 100644
--- a/libc/ports/sysdeps/mips/setjmp_aux.c
+++ b/libc/ports/sysdeps/mips/setjmp_aux.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2000, 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
diff --git a/libc/ports/sysdeps/mips/sgidefs.h b/libc/ports/sysdeps/mips/sgidefs.h
index ffa4c12e5..e9f6c474e 100644
--- a/libc/ports/sysdeps/mips/sgidefs.h
+++ b/libc/ports/sysdeps/mips/sgidefs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ralf Baechle <ralf@gnu.org>.
diff --git a/libc/ports/sysdeps/mips/sotruss-lib.c b/libc/ports/sysdeps/mips/sotruss-lib.c
index 6706be949..3a267b1d8 100644
--- a/libc/ports/sysdeps/mips/sotruss-lib.c
+++ b/libc/ports/sysdeps/mips/sotruss-lib.c
@@ -1,5 +1,5 @@
/* Override generic sotruss-lib.c to define actual functions for MIPS.
- Copyright (C) 2012 Free Software Foundation, Inc.
+ Copyright (C) 2012-2013 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
diff --git a/libc/ports/sysdeps/mips/stackinfo.h b/libc/ports/sysdeps/mips/stackinfo.h
index 1395328b5..82659338f 100644
--- a/libc/ports/sysdeps/mips/stackinfo.h
+++ b/libc/ports/sysdeps/mips/stackinfo.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2013 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
diff --git a/libc/ports/sysdeps/mips/start.S b/libc/ports/sysdeps/mips/start.S
index fa0cfe14e..82b7a229f 100644
--- a/libc/ports/sysdeps/mips/start.S
+++ b/libc/ports/sysdeps/mips/start.S
@@ -1,6 +1,5 @@
/* Startup code compliant to the ELF Mips ABI.
- Copyright (C) 1995, 1997, 2000, 2001, 2002, 2003, 2004
- Free Software Foundation, Inc.
+ Copyright (C) 1995-2013 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
diff --git a/libc/ports/sysdeps/mips/sub_n.S b/libc/ports/sysdeps/mips/sub_n.S
index 8f418d1a0..09cdb9b3e 100644
--- a/libc/ports/sysdeps/mips/sub_n.S
+++ b/libc/ports/sysdeps/mips/sub_n.S
@@ -1,7 +1,7 @@
/* MIPS2 __mpn_sub_n -- Subtract two limb vectors of the same length > 0 and
store difference in a third limb vector.
-Copyright (C) 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
+Copyright (C) 1995-2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/libc/ports/sysdeps/mips/submul_1.S b/libc/ports/sysdeps/mips/submul_1.S
index 88ae17622..4fee744e5 100644
--- a/libc/ports/sysdeps/mips/submul_1.S
+++ b/libc/ports/sysdeps/mips/submul_1.S
@@ -1,7 +1,7 @@
/* MIPS __mpn_submul_1 -- Multiply a limb vector with a single limb and
subtract the product from a second limb vector.
-Copyright (C) 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
+Copyright (C) 1995-2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
diff --git a/libc/ports/sysdeps/mips/sys/asm.h b/libc/ports/sysdeps/mips/sys/asm.h
index 0f5edf924..605451a88 100644
--- a/libc/ports/sysdeps/mips/sys/asm.h
+++ b/libc/ports/sysdeps/mips/sys/asm.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1997, 1998, 2002, 2003, 2004, 2005, 2012
- Free Software Foundation, Inc.
+/* Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ralf Baechle <ralf@gnu.org>.
diff --git a/libc/ports/sysdeps/mips/sys/fpregdef.h b/libc/ports/sysdeps/mips/sys/fpregdef.h
index bd30ffe66..33014080d 100644
--- a/libc/ports/sysdeps/mips/sys/fpregdef.h
+++ b/libc/ports/sysdeps/mips/sys/fpregdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,94,95,96,97,98,2009 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2013 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
diff --git a/libc/ports/sysdeps/mips/sys/regdef.h b/libc/ports/sysdeps/mips/sys/regdef.h
index 30e35c845..704f9aba2 100644
--- a/libc/ports/sysdeps/mips/sys/regdef.h
+++ b/libc/ports/sysdeps/mips/sys/regdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2002, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ralf Baechle <ralf@gnu.org>.
diff --git a/libc/ports/sysdeps/mips/sys/tas.h b/libc/ports/sysdeps/mips/sys/tas.h
index 4585ac7f2..603346ac3 100644
--- a/libc/ports/sysdeps/mips/sys/tas.h
+++ b/libc/ports/sysdeps/mips/sys/tas.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 2000, 2002, 2003, 2004, 2007, 2009
- Free Software Foundation, Inc.
+/* Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Maciej W. Rozycki <macro@ds2.pg.gda.pl>, 2000.
diff --git a/libc/ports/sysdeps/mips/sys/ucontext.h b/libc/ports/sysdeps/mips/sys/ucontext.h
index 503554ab6..a06a363ec 100644
--- a/libc/ports/sysdeps/mips/sys/ucontext.h
+++ b/libc/ports/sysdeps/mips/sys/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2002, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2013 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
diff --git a/libc/ports/sysdeps/mips/tst-audit.h b/libc/ports/sysdeps/mips/tst-audit.h
index b1163ad4d..19fe91b65 100644
--- a/libc/ports/sysdeps/mips/tst-audit.h
+++ b/libc/ports/sysdeps/mips/tst-audit.h
@@ -1,6 +1,6 @@
/* Definitions for testing PLT entry/exit auditing. ARM version.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.