[PATCH 00/27] Add missing copyright information to many files

classic Classic list List threaded Threaded
33 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[PATCH 00/27] Add missing copyright information to many files

Keith Packard
I'm attempting to upload a version of newlib to Debian and have
discovered many files are missing copyright information. This makes it
difficult to create an accurate record of information for the package.

I built a tool to dig through GIT history to automatically associate
copyright and license information to new files where possible, and to
assign just copyright information from git author information where
there was no licensing data in history.

In a few cases, I went back to pre-git historical versions of the
repository to figure out the licensing and copyright status.

With these patches applied, I now have complete copyright information
for all of the source code built into the library, I'm missing copyrights for
some documentation and a couple of build scripts.


Reply | Threaded
Open this post in threaded view
|

[PATCH 01/27] Typo in license terms for newlib/libm/common/log2.c

Keith Packard
The closing quotes were in the wrong place

Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libm/common/log2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/libm/common/log2.c b/newlib/libm/common/log2.c
index 2752f8ef4..e48c16cf8 100644
--- a/newlib/libm/common/log2.c
+++ b/newlib/libm/common/log2.c
@@ -15,7 +15,7 @@
       products derived from this software without specific prior written
       permission.
 
-   THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS'' IS AND ANY EXPRESS OR IMPLIED
+   THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
    IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 02/27] Typo in license for newlib/libc/stdio/flags.c

Keith Packard
In reply to this post by Keith Packard
Fix spelling:

        MERCHANT I BILITY -> MERCHANT A BILITY

Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/stdio/flags.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/libc/stdio/flags.c b/newlib/libc/stdio/flags.c
index f0a94bcf5..7bbd50181 100644
--- a/newlib/libc/stdio/flags.c
+++ b/newlib/libc/stdio/flags.c
@@ -12,7 +12,7 @@
  * from this software without specific prior written permission.
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 /* No user fns here. Pesch 15apr92 */
 
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 03/27] Add copyright and license to newlib/libm/test/*.c

Keith Packard
In reply to this post by Keith Packard
The Makefile.in in this directory has a Copyright 1994 Cygnus and
an old-style BSD license. I've copied that into all of the .c files.

Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libm/test/acos_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/acosf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/acosh_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/acoshf_vec.c  | 16 ++++++++++++++++
 newlib/libm/test/asin_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/asinf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/asinh_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/asinhf_vec.c  | 16 ++++++++++++++++
 newlib/libm/test/atan2_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/atan2f_vec.c  | 16 ++++++++++++++++
 newlib/libm/test/atan_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/atanf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/atanh_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/atanhf_vec.c  | 16 ++++++++++++++++
 newlib/libm/test/ceil_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/ceilf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/conv_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/convert.c     | 16 ++++++++++++++++
 newlib/libm/test/cos_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/cosf_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/cosh_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/coshf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/dcvt.c        | 16 ++++++++++++++++
 newlib/libm/test/dvec.c        | 16 ++++++++++++++++
 newlib/libm/test/erf_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/erfc_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/erfcf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/erff_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/exp_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/expf_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/fabs_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/fabsf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/floor_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/floorf_vec.c  | 16 ++++++++++++++++
 newlib/libm/test/fmod_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/fmodf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/gamma_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/gammaf_vec.c  | 16 ++++++++++++++++
 newlib/libm/test/hypot_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/hypotf_vec.c  | 16 ++++++++++++++++
 newlib/libm/test/iconv_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/j0_vec.c      | 16 ++++++++++++++++
 newlib/libm/test/j0f_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/j1_vec.c      | 16 ++++++++++++++++
 newlib/libm/test/j1f_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/jn_vec.c      | 16 ++++++++++++++++
 newlib/libm/test/jnf_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/log10_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/log10f_vec.c  | 16 ++++++++++++++++
 newlib/libm/test/log1p_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/log1pf_vec.c  | 16 ++++++++++++++++
 newlib/libm/test/log2_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/log2f_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/log_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/logf_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/math.c        | 16 ++++++++++++++++
 newlib/libm/test/math2.c       | 16 ++++++++++++++++
 newlib/libm/test/sin_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/sinf_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/sinh_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/sinhf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/sprint_ivec.c | 16 ++++++++++++++++
 newlib/libm/test/sprint_vec.c  | 16 ++++++++++++++++
 newlib/libm/test/sqrt_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/sqrtf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/string.c      | 16 ++++++++++++++++
 newlib/libm/test/tan_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/tanf_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/tanh_vec.c    | 16 ++++++++++++++++
 newlib/libm/test/tanhf_vec.c   | 16 ++++++++++++++++
 newlib/libm/test/test.c        | 16 ++++++++++++++++
 newlib/libm/test/test.h        | 16 ++++++++++++++++
 newlib/libm/test/test_ieee.c   | 16 ++++++++++++++++
 newlib/libm/test/test_is.c     | 16 ++++++++++++++++
 newlib/libm/test/y0_vec.c      | 16 ++++++++++++++++
 newlib/libm/test/y0f_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/y1_vec.c      | 16 ++++++++++++++++
 newlib/libm/test/y1f_vec.c     | 16 ++++++++++++++++
 newlib/libm/test/yn_vec.c      | 16 ++++++++++++++++
 newlib/libm/test/ynf_vec.c     | 16 ++++++++++++++++
 80 files changed, 1280 insertions(+)

diff --git a/newlib/libm/test/acos_vec.c b/newlib/libm/test/acos_vec.c
index 4288b7b82..6f1f6fa2a 100644
--- a/newlib/libm/test/acos_vec.c
+++ b/newlib/libm/test/acos_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type acos_vec[] = {
 {64,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/acosf_vec.c b/newlib/libm/test/acosf_vec.c
index f7ed3dbe7..e6e47ba13 100644
--- a/newlib/libm/test/acosf_vec.c
+++ b/newlib/libm/test/acosf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type acosf_vec[] = {
 { 1,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/acosh_vec.c b/newlib/libm/test/acosh_vec.c
index 48f169c8b..5b8cf3a3c 100644
--- a/newlib/libm/test/acosh_vec.c
+++ b/newlib/libm/test/acosh_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type acosh_vec[] = {
 {64,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/acoshf_vec.c b/newlib/libm/test/acoshf_vec.c
index ba40d2987..56c53407e 100644
--- a/newlib/libm/test/acoshf_vec.c
+++ b/newlib/libm/test/acoshf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type acoshf_vec[] = {
 { 9,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/asin_vec.c b/newlib/libm/test/asin_vec.c
index 4215cc70d..33a5b7a2c 100644
--- a/newlib/libm/test/asin_vec.c
+++ b/newlib/libm/test/asin_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type asin_vec[] = {
 {64,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/asinf_vec.c b/newlib/libm/test/asinf_vec.c
index 7e1b271f2..adddf38c8 100644
--- a/newlib/libm/test/asinf_vec.c
+++ b/newlib/libm/test/asinf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type asinf_vec[] = {
 { 0,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/asinh_vec.c b/newlib/libm/test/asinh_vec.c
index 67926d95b..2b63c79c8 100644
--- a/newlib/libm/test/asinh_vec.c
+++ b/newlib/libm/test/asinh_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type asinh_vec[] = {
 {64, 0,123,__LINE__, 0xbff0416d, 0x0b8ea990, 0xbff33333, 0x33333333}, /* -1.01597=f(-1.20000)*/
diff --git a/newlib/libm/test/asinhf_vec.c b/newlib/libm/test/asinhf_vec.c
index d4b85eb92..51dbc067f 100644
--- a/newlib/libm/test/asinhf_vec.c
+++ b/newlib/libm/test/asinhf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type asinhf_vec[] = {
 {14, 0,123,__LINE__, 0xbff0416d, 0x20000000, 0xbff33333, 0x33333333}, /* -1.01597=f(-1.20000)*/
diff --git a/newlib/libm/test/atan2_vec.c b/newlib/libm/test/atan2_vec.c
index 802108453..9705e7160 100644
--- a/newlib/libm/test/atan2_vec.c
+++ b/newlib/libm/test/atan2_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type atan2_vec[] = {
 {62,0,123,__LINE__, 0xc002d97c, 0x7f3321d2, 0xbff00000, 0x00000000, 0xbff00000, 0x00000000},
diff --git a/newlib/libm/test/atan2f_vec.c b/newlib/libm/test/atan2f_vec.c
index f07ac8d0e..150c6c9fd 100644
--- a/newlib/libm/test/atan2f_vec.c
+++ b/newlib/libm/test/atan2f_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type atan2f_vec[] = {
 {32,0,123,__LINE__, 0xc002d97c, 0x7f3321d2, 0xbff00000, 0x00000000, 0xbff00000, 0x00000000},
diff --git a/newlib/libm/test/atan_vec.c b/newlib/libm/test/atan_vec.c
index 12b44be74..756186fb5 100644
--- a/newlib/libm/test/atan_vec.c
+++ b/newlib/libm/test/atan_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type atan_vec[] = {
 {64, 0,123,__LINE__, 0xbfec08aa, 0xe496efa6, 0xbff33333, 0x33333333}, /* -0.87605=f(-1.20000)*/
diff --git a/newlib/libm/test/atanf_vec.c b/newlib/libm/test/atanf_vec.c
index c907fe5ac..f592cedf9 100644
--- a/newlib/libm/test/atanf_vec.c
+++ b/newlib/libm/test/atanf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type atanf_vec[] = {
 {11, 0,123,__LINE__, 0xbfec08aa, 0xed5c7cec, 0xbff33333, 0x33333333}, /* -0.87605=f(-1.20000)*/
diff --git a/newlib/libm/test/atanh_vec.c b/newlib/libm/test/atanh_vec.c
index 3b5384957..15f809af8 100644
--- a/newlib/libm/test/atanh_vec.c
+++ b/newlib/libm/test/atanh_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type atanh_vec[] = {
 {64,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/atanhf_vec.c b/newlib/libm/test/atanhf_vec.c
index 16a114419..0543c3dbf 100644
--- a/newlib/libm/test/atanhf_vec.c
+++ b/newlib/libm/test/atanhf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type atanhf_vec[] = {
 { 0,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/ceil_vec.c b/newlib/libm/test/ceil_vec.c
index 94222997c..636283e79 100644
--- a/newlib/libm/test/ceil_vec.c
+++ b/newlib/libm/test/ceil_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type ceil_vec[] = {
 {64, 0,123,__LINE__, 0xbff00000, 0x00000000, 0xbff33333, 0x33333333}, /* -1.00000=f(-1.20000)*/
diff --git a/newlib/libm/test/ceilf_vec.c b/newlib/libm/test/ceilf_vec.c
index 2c86955cd..2a9138400 100644
--- a/newlib/libm/test/ceilf_vec.c
+++ b/newlib/libm/test/ceilf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type ceilf_vec[] = {
 { 0, 0,123,__LINE__, 0xbff00000, 0x00000000, 0xbff33333, 0x33333333}, /* -1.00000=f(-1.20000)*/
diff --git a/newlib/libm/test/conv_vec.c b/newlib/libm/test/conv_vec.c
index 1190e1b00..2504cb771 100644
--- a/newlib/libm/test/conv_vec.c
+++ b/newlib/libm/test/conv_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
 
 double_type doubles[] =
diff --git a/newlib/libm/test/convert.c b/newlib/libm/test/convert.c
index 026bd277b..d5d7efe74 100644
--- a/newlib/libm/test/convert.c
+++ b/newlib/libm/test/convert.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Test conversions */
 
 #include "test.h"
diff --git a/newlib/libm/test/cos_vec.c b/newlib/libm/test/cos_vec.c
index 37d669eef..8ff64ecde 100644
--- a/newlib/libm/test/cos_vec.c
+++ b/newlib/libm/test/cos_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type cos_vec[] = {
 {64, 0,123,__LINE__, 0x3fd730de, 0x943b79d3, 0xbff33333, 0x33333333}, /* 0.36235=f(-1.20000)*/
diff --git a/newlib/libm/test/cosf_vec.c b/newlib/libm/test/cosf_vec.c
index 7e7d72011..245ac8a06 100644
--- a/newlib/libm/test/cosf_vec.c
+++ b/newlib/libm/test/cosf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type cosf_vec[] = {
 {10, 0,123,__LINE__, 0x3fd730de, 0x6472104d, 0xbff33333, 0x33333333}, /* 0.36235=f(-1.20000)*/
diff --git a/newlib/libm/test/cosh_vec.c b/newlib/libm/test/cosh_vec.c
index c8d47e398..472da1aff 100644
--- a/newlib/libm/test/cosh_vec.c
+++ b/newlib/libm/test/cosh_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type cosh_vec[] = {
 {63, 0,123,__LINE__, 0x3ffcf871, 0xf8dfa802, 0xbff33333, 0x33333333}, /* 1.81065=f(-1.20000)*/
diff --git a/newlib/libm/test/coshf_vec.c b/newlib/libm/test/coshf_vec.c
index d8f96bb53..9a1a755f8 100644
--- a/newlib/libm/test/coshf_vec.c
+++ b/newlib/libm/test/coshf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type coshf_vec[] = {
 {14, 0,123,__LINE__, 0x3ffcf872, 0x20000000, 0xbff33333, 0x33333333}, /* 1.81065=f(-1.20000)*/
diff --git a/newlib/libm/test/dcvt.c b/newlib/libm/test/dcvt.c
index 56d5c2b6b..f00359446 100644
--- a/newlib/libm/test/dcvt.c
+++ b/newlib/libm/test/dcvt.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 
 #include <limits.h>
diff --git a/newlib/libm/test/dvec.c b/newlib/libm/test/dvec.c
index 198faa183..c56bb6911 100644
--- a/newlib/libm/test/dvec.c
+++ b/newlib/libm/test/dvec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
 
 ddouble_type ddoubles[] = {
diff --git a/newlib/libm/test/erf_vec.c b/newlib/libm/test/erf_vec.c
index 893f9cc15..12f11462d 100644
--- a/newlib/libm/test/erf_vec.c
+++ b/newlib/libm/test/erf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type erf_vec[] = {
 {64, 0,123,__LINE__, 0xbfed214a, 0xc7b2d068, 0xbff33333, 0x33333333}, /* -0.91031=f(-1.20000)*/
diff --git a/newlib/libm/test/erfc_vec.c b/newlib/libm/test/erfc_vec.c
index 4579d31fd..3b778ce03 100644
--- a/newlib/libm/test/erfc_vec.c
+++ b/newlib/libm/test/erfc_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type erfc_vec[] = {
 {64, 0,123,__LINE__, 0x3ffe90a5, 0x63d96834, 0xbff33333, 0x33333333}, /* 1.91031=f(-1.20000)*/
diff --git a/newlib/libm/test/erfcf_vec.c b/newlib/libm/test/erfcf_vec.c
index 338321af9..7425e9fe6 100644
--- a/newlib/libm/test/erfcf_vec.c
+++ b/newlib/libm/test/erfcf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type erfcf_vec[] = {
 {16, 0,123,__LINE__, 0x3ffe90a5, 0x60000000, 0xbff33333, 0x33333333}, /* 1.91031=f(-1.20000)*/
diff --git a/newlib/libm/test/erff_vec.c b/newlib/libm/test/erff_vec.c
index f5223339a..8d7a6344c 100644
--- a/newlib/libm/test/erff_vec.c
+++ b/newlib/libm/test/erff_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type erff_vec[] = {
 {11, 0,123,__LINE__, 0xbfed214a, 0xc0000000, 0xbff33333, 0x33333333}, /* -0.91031=f(-1.20000)*/
diff --git a/newlib/libm/test/exp_vec.c b/newlib/libm/test/exp_vec.c
index 75adb9195..1ef38f7bb 100644
--- a/newlib/libm/test/exp_vec.c
+++ b/newlib/libm/test/exp_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type exp_vec[] = {
 {63, 0,123,__LINE__, 0x3fd346c4, 0x167a12df, 0xbff33333, 0x33333333}, /* 0.30119=f(-1.20000)*/
diff --git a/newlib/libm/test/expf_vec.c b/newlib/libm/test/expf_vec.c
index 256310b8a..dd2120ed6 100644
--- a/newlib/libm/test/expf_vec.c
+++ b/newlib/libm/test/expf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type expf_vec[] = {
 {32, 0,123,__LINE__, 0x3fd346c4, 0x20000000, 0xbff33333, 0x33333333}, /* 0.30119=f(-1.20000)*/
diff --git a/newlib/libm/test/fabs_vec.c b/newlib/libm/test/fabs_vec.c
index 3c7fce71a..1bce9f144 100644
--- a/newlib/libm/test/fabs_vec.c
+++ b/newlib/libm/test/fabs_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type fabs_vec[] = {
 {64, 0,123,__LINE__, 0x3ff33333, 0x33333333, 0xbff33333, 0x33333333}, /* 1.20000=f(-1.20000)*/
diff --git a/newlib/libm/test/fabsf_vec.c b/newlib/libm/test/fabsf_vec.c
index 9c8e122ff..97c397f11 100644
--- a/newlib/libm/test/fabsf_vec.c
+++ b/newlib/libm/test/fabsf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type fabsf_vec[] = {
 {64, 0,123,__LINE__, 0x3ff33333, 0x40000000, 0xbff33333, 0x33333333}, /* 1.20000=f(-1.20000)*/
diff --git a/newlib/libm/test/floor_vec.c b/newlib/libm/test/floor_vec.c
index 2272a7dfa..9cd5f79be 100644
--- a/newlib/libm/test/floor_vec.c
+++ b/newlib/libm/test/floor_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type floor_vec[] = {
 {64, 0,123,__LINE__, 0xc0000000, 0x00000000, 0xbff33333, 0x33333333}, /* -2.00000=f(-1.20000)*/
diff --git a/newlib/libm/test/floorf_vec.c b/newlib/libm/test/floorf_vec.c
index f01e1e6b8..99551d557 100644
--- a/newlib/libm/test/floorf_vec.c
+++ b/newlib/libm/test/floorf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type floorf_vec[] = {
 { 1, 0,123,__LINE__, 0xc0000000, 0x00000000, 0xbff33333, 0x33333333}, /* -2.00000=f(-1.20000)*/
diff --git a/newlib/libm/test/fmod_vec.c b/newlib/libm/test/fmod_vec.c
index 4357c845b..74ac7c593 100644
--- a/newlib/libm/test/fmod_vec.c
+++ b/newlib/libm/test/fmod_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type fmod_vec[] = {
 {64, 0,123,__LINE__, 0xbff33333, 0x33333333, 0xbff33333, 0x33333333, 0x40066666, 0x66666666}, /* -1.20000=f(-1.20000, v2.80000)*/
diff --git a/newlib/libm/test/fmodf_vec.c b/newlib/libm/test/fmodf_vec.c
index f50eeda76..754edc9d9 100644
--- a/newlib/libm/test/fmodf_vec.c
+++ b/newlib/libm/test/fmodf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type fmodf_vec[] = {
 { 0, 0,123,__LINE__, 0xbff33333, 0x40000000, 0xbff33333, 0x33333333, 0x40066666, 0x66666666}, /* -1.20000=f(-1.20000, v2.80000)*/
diff --git a/newlib/libm/test/gamma_vec.c b/newlib/libm/test/gamma_vec.c
index 119efe6f6..a3469897b 100644
--- a/newlib/libm/test/gamma_vec.c
+++ b/newlib/libm/test/gamma_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type gamma_vec[] = {
 {60, 0,123,__LINE__, 0xbfb5db13, 0x8c7d70c7, 0xbff33333, 0x33333333}, /* -0.08537=f(-1.20000)*/
diff --git a/newlib/libm/test/gammaf_vec.c b/newlib/libm/test/gammaf_vec.c
index 3210f14c4..50c036dfa 100644
--- a/newlib/libm/test/gammaf_vec.c
+++ b/newlib/libm/test/gammaf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type gammaf_vec[] = {
 { 0, 0,123,__LINE__, 0xbfb5db13, 0xc0000000, 0xbff33333, 0x33333333}, /* -0.08537=f(-1.20000)*/
diff --git a/newlib/libm/test/hypot_vec.c b/newlib/libm/test/hypot_vec.c
index ca8e7ff3f..e65d7afbd 100644
--- a/newlib/libm/test/hypot_vec.c
+++ b/newlib/libm/test/hypot_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type hypot_vec[] = {
 {64, 0,123,__LINE__, 0x40085ed7, 0x614b038c, 0xbff33333, 0x33333333, 0x40066666, 0x66666666}, /* 3.04630=f(-1.20000, v2.80000)*/
diff --git a/newlib/libm/test/hypotf_vec.c b/newlib/libm/test/hypotf_vec.c
index 833f05efe..d02a5a5a4 100644
--- a/newlib/libm/test/hypotf_vec.c
+++ b/newlib/libm/test/hypotf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type hypotf_vec[] = {
 { 1, 0,123,__LINE__, 0x40085ed7, 0x6c3cac80, 0xbff33333, 0x33333333, 0x40066666, 0x66666666}, /* 3.04630=f(-1.20000, v2.80000)*/
diff --git a/newlib/libm/test/iconv_vec.c b/newlib/libm/test/iconv_vec.c
index 15bf38860..05917eb24 100644
--- a/newlib/libm/test/iconv_vec.c
+++ b/newlib/libm/test/iconv_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 #include "test.h"
 
diff --git a/newlib/libm/test/j0_vec.c b/newlib/libm/test/j0_vec.c
index 834f88370..f163e22e9 100644
--- a/newlib/libm/test/j0_vec.c
+++ b/newlib/libm/test/j0_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type j0_vec[] = {
 {63, 0,123,__LINE__, 0x3fe579eb, 0x607c7c44, 0xbff33333, 0x33333333}, /* 0.67113=f(-1.20000)*/
diff --git a/newlib/libm/test/j0f_vec.c b/newlib/libm/test/j0f_vec.c
index 2f7a531e6..1036b20b5 100644
--- a/newlib/libm/test/j0f_vec.c
+++ b/newlib/libm/test/j0f_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type j0f_vec[] = {
 {11, 0,123,__LINE__, 0x3fe579eb, 0x54c385c0, 0xbff33333, 0x33333333}, /* 0.67113=f(-1.20000)*/
diff --git a/newlib/libm/test/j1_vec.c b/newlib/libm/test/j1_vec.c
index 27bbce6c3..55e5019c4 100644
--- a/newlib/libm/test/j1_vec.c
+++ b/newlib/libm/test/j1_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type j1_vec[] = {
 {64, 0,123,__LINE__, 0xbfdfe3f7, 0xc98d2cad, 0xbff33333, 0x33333333}, /* -0.49828=f(-1.20000)*/
diff --git a/newlib/libm/test/j1f_vec.c b/newlib/libm/test/j1f_vec.c
index b09c892ef..f6cf0051f 100644
--- a/newlib/libm/test/j1f_vec.c
+++ b/newlib/libm/test/j1f_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type j1f_vec[] = {
 {10, 0,123,__LINE__, 0xbfdfe3f7, 0xe296ed50, 0xbff33333, 0x33333333}, /* -0.49828=f(-1.20000)*/
diff --git a/newlib/libm/test/jn_vec.c b/newlib/libm/test/jn_vec.c
index a2929bf77..7eb485420 100644
--- a/newlib/libm/test/jn_vec.c
+++ b/newlib/libm/test/jn_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type jn_vec[] = {
 {61,0,123,__LINE__, 0x3ff00000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
diff --git a/newlib/libm/test/jnf_vec.c b/newlib/libm/test/jnf_vec.c
index 1c9a4dba7..b6738c703 100644
--- a/newlib/libm/test/jnf_vec.c
+++ b/newlib/libm/test/jnf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type jnf_vec[] = {
 {32,0,123,__LINE__, 0x3ff00000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
diff --git a/newlib/libm/test/log10_vec.c b/newlib/libm/test/log10_vec.c
index 48975a7f2..d91a744bf 100644
--- a/newlib/libm/test/log10_vec.c
+++ b/newlib/libm/test/log10_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type log10_vec[] = {
 {64,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/log10f_vec.c b/newlib/libm/test/log10f_vec.c
index 034117c05..d136b0f79 100644
--- a/newlib/libm/test/log10f_vec.c
+++ b/newlib/libm/test/log10f_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type log10f_vec[] = {
 { 9,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/log1p_vec.c b/newlib/libm/test/log1p_vec.c
index 9966b8637..1cd2b403e 100644
--- a/newlib/libm/test/log1p_vec.c
+++ b/newlib/libm/test/log1p_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type log1p_vec[] = {
 {64,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/log1pf_vec.c b/newlib/libm/test/log1pf_vec.c
index 7169e0ac5..ddbde247c 100644
--- a/newlib/libm/test/log1pf_vec.c
+++ b/newlib/libm/test/log1pf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type log1pf_vec[] = {
 { 0,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/log2_vec.c b/newlib/libm/test/log2_vec.c
index 6a76e262f..82141dc74 100644
--- a/newlib/libm/test/log2_vec.c
+++ b/newlib/libm/test/log2_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type log2_vec[] = {
 {62,0,123,__LINE__, 0xc01149a7, 0x84bcd1b9, 0x3fa99999, 0x9999999a},
diff --git a/newlib/libm/test/log2f_vec.c b/newlib/libm/test/log2f_vec.c
index a31ca2ff2..2ee6030d2 100644
--- a/newlib/libm/test/log2f_vec.c
+++ b/newlib/libm/test/log2f_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type log2f_vec[] = {
 {31,0,123,__LINE__, 0xc01149a7, 0x84bcd1b9, 0x3fa99999, 0x9999999a},
diff --git a/newlib/libm/test/log_vec.c b/newlib/libm/test/log_vec.c
index 894b75434..0e9fb626f 100644
--- a/newlib/libm/test/log_vec.c
+++ b/newlib/libm/test/log_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type log_vec[] = {
 {64,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/logf_vec.c b/newlib/libm/test/logf_vec.c
index f7b541f87..7d5a57578 100644
--- a/newlib/libm/test/logf_vec.c
+++ b/newlib/libm/test/logf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type logf_vec[] = {
 { 9,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/math.c b/newlib/libm/test/math.c
index cd8441cc5..a539570cc 100644
--- a/newlib/libm/test/math.c
+++ b/newlib/libm/test/math.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
   Test the library maths functions using trusted precomputed test
   vectors.
diff --git a/newlib/libm/test/math2.c b/newlib/libm/test/math2.c
index b7108de4a..13aabae76 100644
--- a/newlib/libm/test/math2.c
+++ b/newlib/libm/test/math2.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 #include "test.h"
 #include <errno.h>
diff --git a/newlib/libm/test/sin_vec.c b/newlib/libm/test/sin_vec.c
index 5e95f283d..6c6429073 100644
--- a/newlib/libm/test/sin_vec.c
+++ b/newlib/libm/test/sin_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type sin_vec[] = {
 {62, 0,123,__LINE__, 0xbfedd343, 0xa21a55c6, 0xbff33333, 0x33333333}, /* -0.93203=f(-1.20000)*/
diff --git a/newlib/libm/test/sinf_vec.c b/newlib/libm/test/sinf_vec.c
index 32eb8b101..a3063ac39 100644
--- a/newlib/libm/test/sinf_vec.c
+++ b/newlib/libm/test/sinf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type sinf_vec[] = {
 {31, 0,123,__LINE__, 0xbfedd343, 0xb0aef9e0, 0xbff33333, 0x33333333}, /* -0.93203=f(-1.20000)*/
diff --git a/newlib/libm/test/sinh_vec.c b/newlib/libm/test/sinh_vec.c
index cdcea79b8..5570642a0 100644
--- a/newlib/libm/test/sinh_vec.c
+++ b/newlib/libm/test/sinh_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type sinh_vec[] = {
 {61, 0,123,__LINE__, 0xbff826c0, 0xf3412349, 0xbff33333, 0x33333333}, /* -1.50946=f(-1.20000)*/
diff --git a/newlib/libm/test/sinhf_vec.c b/newlib/libm/test/sinhf_vec.c
index f15709c8b..d4f9d4473 100644
--- a/newlib/libm/test/sinhf_vec.c
+++ b/newlib/libm/test/sinhf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type sinhf_vec[] = {
 {12, 0,123,__LINE__, 0xbff826c1, 0x00000000, 0xbff33333, 0x33333333}, /* -1.50946=f(-1.20000)*/
diff --git a/newlib/libm/test/sprint_ivec.c b/newlib/libm/test/sprint_ivec.c
index 24762c6b3..bd21d3184 100644
--- a/newlib/libm/test/sprint_ivec.c
+++ b/newlib/libm/test/sprint_ivec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
 
 sprint_int_type sprint_ints[] =
diff --git a/newlib/libm/test/sprint_vec.c b/newlib/libm/test/sprint_vec.c
index 5ac72518e..bb8d97de2 100644
--- a/newlib/libm/test/sprint_vec.c
+++ b/newlib/libm/test/sprint_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
 
 sprint_double_type sprint_doubles[] =
diff --git a/newlib/libm/test/sqrt_vec.c b/newlib/libm/test/sqrt_vec.c
index 49bef146d..6661d4250 100644
--- a/newlib/libm/test/sqrt_vec.c
+++ b/newlib/libm/test/sqrt_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type sqrt_vec[] = {
 {64,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/sqrtf_vec.c b/newlib/libm/test/sqrtf_vec.c
index 0e52fac0f..894247cd9 100644
--- a/newlib/libm/test/sqrtf_vec.c
+++ b/newlib/libm/test/sqrtf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type sqrtf_vec[] = {
 { 9,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/string.c b/newlib/libm/test/string.c
index a8cc1a16f..930602b73 100644
--- a/newlib/libm/test/string.c
+++ b/newlib/libm/test/string.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
 #include <string.h>
 #include <errno.h>
diff --git a/newlib/libm/test/tan_vec.c b/newlib/libm/test/tan_vec.c
index eb76cb562..36b3ae71c 100644
--- a/newlib/libm/test/tan_vec.c
+++ b/newlib/libm/test/tan_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type tan_vec[] = {
 {64, 0,123,__LINE__, 0xc00493c4, 0x3acb164c, 0xbff33333, 0x33333333}, /* -2.57215=f(-1.20000)*/
diff --git a/newlib/libm/test/tanf_vec.c b/newlib/libm/test/tanf_vec.c
index e6106e78a..a7d59013b 100644
--- a/newlib/libm/test/tanf_vec.c
+++ b/newlib/libm/test/tanf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type tanf_vec[] = {
 { 1, 0,123,__LINE__, 0xc00493c4, 0x60a46c17, 0xbff33333, 0x33333333}, /* -2.57215=f(-1.20000)*/
diff --git a/newlib/libm/test/tanh_vec.c b/newlib/libm/test/tanh_vec.c
index 01ad1c220..e78c70e9b 100644
--- a/newlib/libm/test/tanh_vec.c
+++ b/newlib/libm/test/tanh_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type tanh_vec[] = {
 {64, 0,123,__LINE__, 0xbfeaad4c, 0x6d28dcaf, 0xbff33333, 0x33333333}, /* -0.83365=f(-1.20000)*/
diff --git a/newlib/libm/test/tanhf_vec.c b/newlib/libm/test/tanhf_vec.c
index c8612c096..d8018aa39 100644
--- a/newlib/libm/test/tanhf_vec.c
+++ b/newlib/libm/test/tanhf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type tanhf_vec[] = {
 {11, 0,123,__LINE__, 0xbfeaad4c, 0x80000000, 0xbff33333, 0x33333333}, /* -0.83365=f(-1.20000)*/
diff --git a/newlib/libm/test/test.c b/newlib/libm/test/test.c
index 7769e2b36..ccd335f27 100644
--- a/newlib/libm/test/test.c
+++ b/newlib/libm/test/test.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include <signal.h>
 #include  "test.h"
 #include <math.h>
diff --git a/newlib/libm/test/test.h b/newlib/libm/test/test.h
index e95c6b4c4..92d1c0a1e 100644
--- a/newlib/libm/test/test.h
+++ b/newlib/libm/test/test.h
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #define HAVE_FLOAT 1
 #define X(x) (char *)x
 
diff --git a/newlib/libm/test/test_ieee.c b/newlib/libm/test/test_ieee.c
index f23ceba6d..3af7c570a 100644
--- a/newlib/libm/test/test_ieee.c
+++ b/newlib/libm/test/test_ieee.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 #include "test.h"
 #include <ieeefp.h>
diff --git a/newlib/libm/test/test_is.c b/newlib/libm/test/test_is.c
index ac8f79c49..a045ca14b 100644
--- a/newlib/libm/test/test_is.c
+++ b/newlib/libm/test/test_is.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
 #include <ctype.h>
 
diff --git a/newlib/libm/test/y0_vec.c b/newlib/libm/test/y0_vec.c
index 9fae15418..ead200978 100644
--- a/newlib/libm/test/y0_vec.c
+++ b/newlib/libm/test/y0_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type y0_vec[] = {
 {64,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/y0f_vec.c b/newlib/libm/test/y0f_vec.c
index 5567a9f30..ff77858cd 100644
--- a/newlib/libm/test/y0f_vec.c
+++ b/newlib/libm/test/y0f_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type y0f_vec[] = {
 { 9,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/y1_vec.c b/newlib/libm/test/y1_vec.c
index 3cb549749..fcaf77602 100644
--- a/newlib/libm/test/y1_vec.c
+++ b/newlib/libm/test/y1_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type y1_vec[] = {
 {64,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/y1f_vec.c b/newlib/libm/test/y1f_vec.c
index 419afb12b..be8f30e76 100644
--- a/newlib/libm/test/y1f_vec.c
+++ b/newlib/libm/test/y1f_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type y1f_vec[] = {
 { 9,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
diff --git a/newlib/libm/test/yn_vec.c b/newlib/libm/test/yn_vec.c
index 69028531e..68a920c10 100644
--- a/newlib/libm/test/yn_vec.c
+++ b/newlib/libm/test/yn_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type yn_vec[] = {
 {64,0,123,__LINE__, 0x3ff00000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
diff --git a/newlib/libm/test/ynf_vec.c b/newlib/libm/test/ynf_vec.c
index edd0d1718..698e4f523 100644
--- a/newlib/libm/test/ynf_vec.c
+++ b/newlib/libm/test/ynf_vec.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1994 Cygnus Support.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+ * endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "test.h"
  one_line_type ynf_vec[] = {
 
--
2.25.0


Reply | Threaded
Open this post in threaded view
|

[PATCH 04/27] Add copyright attribution for files in newlib/libc/ctype

Keith Packard
In reply to this post by Keith Packard
These were extracted from git history, either by attributing to the
commit author or by finding license information added to other new
files in the same commit.

No licensing was added for those files for which none could be
inferred.

Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/ctype/caseconv.t     |  1 +
 newlib/libc/ctype/categories.c   |  5 +++++
 newlib/libc/ctype/categories.cat |  1 +
 newlib/libc/ctype/categories.h   |  3 +++
 newlib/libc/ctype/categories.t   |  1 +
 newlib/libc/ctype/ctype.tex      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/ctype_.h       |  1 +
 newlib/libc/ctype/ctype_cp.h     |  3 +++
 newlib/libc/ctype/ctype_iso.h    |  3 +++
 newlib/libc/ctype/isalnum.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/isalnum_l.c    |  4 ++++
 newlib/libc/ctype/isalpha.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/isalpha_l.c    |  4 ++++
 newlib/libc/ctype/isascii.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/isascii_l.c    |  4 ++++
 newlib/libc/ctype/isblank.c      |  1 +
 newlib/libc/ctype/isblank_l.c    |  4 ++++
 newlib/libc/ctype/iscntrl.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/iscntrl_l.c    |  4 ++++
 newlib/libc/ctype/isdigit.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/isdigit_l.c    |  4 ++++
 newlib/libc/ctype/islower.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/islower_l.c    |  4 ++++
 newlib/libc/ctype/isprint.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/isprint_l.c    |  4 ++++
 newlib/libc/ctype/ispunct.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/ispunct_l.c    |  4 ++++
 newlib/libc/ctype/isspace.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/isspace_l.c    |  4 ++++
 newlib/libc/ctype/isupper.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/isupper_l.c    |  4 ++++
 newlib/libc/ctype/iswalnum.c     | 30 ++++++++++++++++++++++++++++++
 newlib/libc/ctype/iswalnum_l.c   |  4 ++++
 newlib/libc/ctype/iswalpha_l.c   |  4 ++++
 newlib/libc/ctype/iswblank_l.c   |  4 ++++
 newlib/libc/ctype/iswcntrl_l.c   |  4 ++++
 newlib/libc/ctype/iswctype.c     | 30 ++++++++++++++++++++++++++++++
 newlib/libc/ctype/iswctype_l.c   |  1 +
 newlib/libc/ctype/iswdigit.c     | 30 ++++++++++++++++++++++++++++++
 newlib/libc/ctype/iswdigit_l.c   |  4 ++++
 newlib/libc/ctype/iswgraph_l.c   |  4 ++++
 newlib/libc/ctype/iswlower.c     | 30 ++++++++++++++++++++++++++++++
 newlib/libc/ctype/iswlower_l.c   |  4 ++++
 newlib/libc/ctype/iswprint_l.c   |  4 ++++
 newlib/libc/ctype/iswpunct_l.c   |  4 ++++
 newlib/libc/ctype/iswspace_l.c   |  4 ++++
 newlib/libc/ctype/iswupper.c     | 30 ++++++++++++++++++++++++++++++
 newlib/libc/ctype/iswupper_l.c   |  4 ++++
 newlib/libc/ctype/iswxdigit.c    | 30 ++++++++++++++++++++++++++++++
 newlib/libc/ctype/iswxdigit_l.c  |  4 ++++
 newlib/libc/ctype/isxdigit.c     | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/isxdigit_l.c   |  4 ++++
 newlib/libc/ctype/jp2uc.h        | 30 ++++++++++++++++++++++++++++++
 newlib/libc/ctype/local.h        | 30 ++++++++++++++++++++++++++++++
 newlib/libc/ctype/mkcaseconv     |  2 ++
 newlib/libc/ctype/mkcategories   |  2 ++
 newlib/libc/ctype/mkunidata      |  2 ++
 newlib/libc/ctype/toascii.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/toascii_l.c    |  4 ++++
 newlib/libc/ctype/tolower.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/tolower_l.c    |  4 ++++
 newlib/libc/ctype/toupper.c      | 28 ++++++++++++++++++++++++++++
 newlib/libc/ctype/toupper_l.c    |  4 ++++
 newlib/libc/ctype/towctrans_l.c  |  4 ++++
 newlib/libc/ctype/towlower_l.c   |  4 ++++
 newlib/libc/ctype/towupper_l.c   |  4 ++++
 newlib/libc/ctype/wctrans_l.c    |  4 ++++
 newlib/libc/ctype/wctype_l.c     |  4 ++++
 68 files changed, 814 insertions(+)

diff --git a/newlib/libc/ctype/caseconv.t b/newlib/libc/ctype/caseconv.t
index 31eb503fa..b9c4f0b12 100644
--- a/newlib/libc/ctype/caseconv.t
+++ b/newlib/libc/ctype/caseconv.t
@@ -1,3 +1,4 @@
+/* This file was generated automatically */
   {0x0041, 25, TOLO, 32},
   {0x0061, 25, TOUP, -32},
   {0x00B5, 0, TOUP, 743},
diff --git a/newlib/libc/ctype/categories.c b/newlib/libc/ctype/categories.c
index a8de1f129..5349bb5f8 100644
--- a/newlib/libc/ctype/categories.c
+++ b/newlib/libc/ctype/categories.c
@@ -1,3 +1,8 @@
+/*
+Copyright (c) 2017 Thomas Wolff [hidden email]
+
+
+ */
 #include <wctype.h>
 #include <stdint.h>
 #include "categories.h"
diff --git a/newlib/libc/ctype/categories.cat b/newlib/libc/ctype/categories.cat
index cade60a6a..5465bed98 100644
--- a/newlib/libc/ctype/categories.cat
+++ b/newlib/libc/ctype/categories.cat
@@ -1,3 +1,4 @@
+/* This file was generated automatically */
   CAT_Cc,
   CAT_Cf,
   CAT_Cs,
diff --git a/newlib/libc/ctype/categories.h b/newlib/libc/ctype/categories.h
index 271038e61..0f9951ae0 100644
--- a/newlib/libc/ctype/categories.h
+++ b/newlib/libc/ctype/categories.h
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2017 Thomas Wolff [hidden email]
+ */
 /* category data */
 
 enum category {
diff --git a/newlib/libc/ctype/categories.t b/newlib/libc/ctype/categories.t
index ca7671051..880cfeac5 100644
--- a/newlib/libc/ctype/categories.t
+++ b/newlib/libc/ctype/categories.t
@@ -1,3 +1,4 @@
+/* This file was generated automatically */
     {CAT_Cc, 0x0000, 31},
     {CAT_Zs, 0x0020, 0},
     {CAT_Po, 0x0021, 2},
diff --git a/newlib/libc/ctype/ctype.tex b/newlib/libc/ctype/ctype.tex
index 1cd223e69..075c4b859 100644
--- a/newlib/libc/ctype/ctype.tex
+++ b/newlib/libc/ctype/ctype.tex
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 @node Ctype
 @chapter Character Type Macros and Functions (@file{ctype.h})
 This chapter groups macros (which are also available as subroutines)
diff --git a/newlib/libc/ctype/ctype_.h b/newlib/libc/ctype/ctype_.h
index a73870b3e..e2a3a05a4 100644
--- a/newlib/libc/ctype/ctype_.h
+++ b/newlib/libc/ctype/ctype_.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Corinna Vinschen <[hidden email]> */
 #include <ctype.h>
 
 #if (defined(__GNUC__) && !defined(__CHAR_UNSIGNED__) && !defined(COMPACT_CTYPE)) || defined (__CYGWIN__)
diff --git a/newlib/libc/ctype/ctype_cp.h b/newlib/libc/ctype/ctype_cp.h
index 9370778a2..1680decc9 100644
--- a/newlib/libc/ctype/ctype_cp.h
+++ b/newlib/libc/ctype/ctype_cp.h
@@ -1,3 +1,6 @@
+/*
+ * Copyright (c) 2009 Corinna Vinschen <[hidden email]>
+ */
 /* ctype table definitions for Windows codepage charsets.
    Included by ctype_.c. */
 
diff --git a/newlib/libc/ctype/ctype_iso.h b/newlib/libc/ctype/ctype_iso.h
index 60087dc92..fe65e1835 100644
--- a/newlib/libc/ctype/ctype_iso.h
+++ b/newlib/libc/ctype/ctype_iso.h
@@ -1,3 +1,6 @@
+/*
+ * Copyright (c) 2009 Corinna Vinschen <[hidden email]>
+ */
 /* ctype table definitions for ISO-8859-x charsets.
    Included by ctype_.c. */
 
diff --git a/newlib/libc/ctype/isalnum.c b/newlib/libc/ctype/isalnum.c
index d926f97b7..3e604ff62 100644
--- a/newlib/libc/ctype/isalnum.c
+++ b/newlib/libc/ctype/isalnum.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<isalnum>>, <<isalnum_l>>---alphanumeric character predicate
 
diff --git a/newlib/libc/ctype/isalnum_l.c b/newlib/libc/ctype/isalnum_l.c
index dcb7e3652..ac4e1461f 100644
--- a/newlib/libc/ctype/isalnum_l.c
+++ b/newlib/libc/ctype/isalnum_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/isalpha.c b/newlib/libc/ctype/isalpha.c
index 8b8e78a29..e12c1cc89 100644
--- a/newlib/libc/ctype/isalpha.c
+++ b/newlib/libc/ctype/isalpha.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<isalpha>>, <<isalpha_l>>---alphabetic character predicate
 
diff --git a/newlib/libc/ctype/isalpha_l.c b/newlib/libc/ctype/isalpha_l.c
index dcae3ccb4..85dcce0f8 100644
--- a/newlib/libc/ctype/isalpha_l.c
+++ b/newlib/libc/ctype/isalpha_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/isascii.c b/newlib/libc/ctype/isascii.c
index 5adb81222..78de84858 100644
--- a/newlib/libc/ctype/isascii.c
+++ b/newlib/libc/ctype/isascii.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<isascii>>, <<isascii_l>>---ASCII character predicate
 
diff --git a/newlib/libc/ctype/isascii_l.c b/newlib/libc/ctype/isascii_l.c
index 59b5f954d..f922891a4 100644
--- a/newlib/libc/ctype/isascii_l.c
+++ b/newlib/libc/ctype/isascii_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/isblank.c b/newlib/libc/ctype/isblank.c
index 0ebc2192c..35b0ab593 100644
--- a/newlib/libc/ctype/isblank.c
+++ b/newlib/libc/ctype/isblank.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Thomas Fitzsimmons <[hidden email]> */
 /*
 FUNCTION
  <<isblank>>, <<isblank_l>>---blank character predicate
diff --git a/newlib/libc/ctype/isblank_l.c b/newlib/libc/ctype/isblank_l.c
index 8bbb84e1f..2e7a1f7be 100644
--- a/newlib/libc/ctype/isblank_l.c
+++ b/newlib/libc/ctype/isblank_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/iscntrl.c b/newlib/libc/ctype/iscntrl.c
index ebbdd7371..f529ab44c 100644
--- a/newlib/libc/ctype/iscntrl.c
+++ b/newlib/libc/ctype/iscntrl.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<iscntrl>>, <<iscntrl_l>>---control character predicate
 
diff --git a/newlib/libc/ctype/iscntrl_l.c b/newlib/libc/ctype/iscntrl_l.c
index 0ae17c7f7..cce5c0bf9 100644
--- a/newlib/libc/ctype/iscntrl_l.c
+++ b/newlib/libc/ctype/iscntrl_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/isdigit.c b/newlib/libc/ctype/isdigit.c
index a5c511964..081216d92 100644
--- a/newlib/libc/ctype/isdigit.c
+++ b/newlib/libc/ctype/isdigit.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<isdigit>>, <<isdigit_l>>---decimal digit predicate
 
diff --git a/newlib/libc/ctype/isdigit_l.c b/newlib/libc/ctype/isdigit_l.c
index 1fb79e000..a8ce61835 100644
--- a/newlib/libc/ctype/isdigit_l.c
+++ b/newlib/libc/ctype/isdigit_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/islower.c b/newlib/libc/ctype/islower.c
index 2b3440489..b0ddedf74 100644
--- a/newlib/libc/ctype/islower.c
+++ b/newlib/libc/ctype/islower.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<islower>>, <<islower_l>>---lowercase character predicate
 
diff --git a/newlib/libc/ctype/islower_l.c b/newlib/libc/ctype/islower_l.c
index d1f3a82d8..87f31a29a 100644
--- a/newlib/libc/ctype/islower_l.c
+++ b/newlib/libc/ctype/islower_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/isprint.c b/newlib/libc/ctype/isprint.c
index e34fbe28a..9e361524c 100644
--- a/newlib/libc/ctype/isprint.c
+++ b/newlib/libc/ctype/isprint.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<isprint>>, <<isgraph>>, <<isprint_l>>, <<isgraph_l>>---printable character predicates
 
diff --git a/newlib/libc/ctype/isprint_l.c b/newlib/libc/ctype/isprint_l.c
index 535504f14..445586dac 100644
--- a/newlib/libc/ctype/isprint_l.c
+++ b/newlib/libc/ctype/isprint_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/ispunct.c b/newlib/libc/ctype/ispunct.c
index 9c5a3fcca..00472f5b9 100644
--- a/newlib/libc/ctype/ispunct.c
+++ b/newlib/libc/ctype/ispunct.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<ispunct>>, <<ispunct_l>>---punctuation character predicate
 
diff --git a/newlib/libc/ctype/ispunct_l.c b/newlib/libc/ctype/ispunct_l.c
index eeba1f5ae..08c9289fa 100644
--- a/newlib/libc/ctype/ispunct_l.c
+++ b/newlib/libc/ctype/ispunct_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/isspace.c b/newlib/libc/ctype/isspace.c
index 0def2c0ce..5f014bf57 100644
--- a/newlib/libc/ctype/isspace.c
+++ b/newlib/libc/ctype/isspace.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<isspace>>, <<isspace_l>>---whitespace character predicate
 
diff --git a/newlib/libc/ctype/isspace_l.c b/newlib/libc/ctype/isspace_l.c
index bf4a36c3e..69d3a9a7b 100644
--- a/newlib/libc/ctype/isspace_l.c
+++ b/newlib/libc/ctype/isspace_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/isupper.c b/newlib/libc/ctype/isupper.c
index aeed383ec..a064ca118 100644
--- a/newlib/libc/ctype/isupper.c
+++ b/newlib/libc/ctype/isupper.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<isupper>>, <<isupper_l>>---uppercase character predicate
 
diff --git a/newlib/libc/ctype/isupper_l.c b/newlib/libc/ctype/isupper_l.c
index eb473a7a1..edd40b174 100644
--- a/newlib/libc/ctype/isupper_l.c
+++ b/newlib/libc/ctype/isupper_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/iswalnum.c b/newlib/libc/ctype/iswalnum.c
index 7b2cac73b..fd1335f81 100644
--- a/newlib/libc/ctype/iswalnum.c
+++ b/newlib/libc/ctype/iswalnum.c
@@ -1,4 +1,34 @@
 /*
+Copyright (c) 2002 Red Hat Incorporated.
+All rights reserved.
+Modified (m) 2017 Thomas Wolff to refer to generated Unicode data tables.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+The name of Red Hat Incorporated may not be used to endorse
+or promote products derived from this software without specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS  
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<iswalnum>>, <<iswalnum_l>>---alphanumeric wide character test
 
diff --git a/newlib/libc/ctype/iswalnum_l.c b/newlib/libc/ctype/iswalnum_l.c
index 8802273ca..06023aa93 100644
--- a/newlib/libc/ctype/iswalnum_l.c
+++ b/newlib/libc/ctype/iswalnum_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <ctype.h>
diff --git a/newlib/libc/ctype/iswalpha_l.c b/newlib/libc/ctype/iswalpha_l.c
index 922983ed3..2c85770ef 100644
--- a/newlib/libc/ctype/iswalpha_l.c
+++ b/newlib/libc/ctype/iswalpha_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <ctype.h>
diff --git a/newlib/libc/ctype/iswblank_l.c b/newlib/libc/ctype/iswblank_l.c
index b27ed820a..ccd59d3dd 100644
--- a/newlib/libc/ctype/iswblank_l.c
+++ b/newlib/libc/ctype/iswblank_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <ctype.h>
diff --git a/newlib/libc/ctype/iswcntrl_l.c b/newlib/libc/ctype/iswcntrl_l.c
index 6a900a794..12c02abe3 100644
--- a/newlib/libc/ctype/iswcntrl_l.c
+++ b/newlib/libc/ctype/iswcntrl_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <ctype.h>
diff --git a/newlib/libc/ctype/iswctype.c b/newlib/libc/ctype/iswctype.c
index 027cb8ae3..344d41ea9 100644
--- a/newlib/libc/ctype/iswctype.c
+++ b/newlib/libc/ctype/iswctype.c
@@ -1,4 +1,34 @@
 /*
+Copyright (c) 2002 Red Hat Incorporated.
+All rights reserved.
+Modified (m) 2017 Thomas Wolff to refer to generated Unicode data tables.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+The name of Red Hat Incorporated may not be used to endorse
+or promote products derived from this software without specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS  
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<iswctype>>, <<iswctype_l>>---extensible wide-character test
 
diff --git a/newlib/libc/ctype/iswctype_l.c b/newlib/libc/ctype/iswctype_l.c
index 506972d7c..48185976d 100644
--- a/newlib/libc/ctype/iswctype_l.c
+++ b/newlib/libc/ctype/iswctype_l.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Corinna Vinschen <[hidden email]> */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <wctype.h>
diff --git a/newlib/libc/ctype/iswdigit.c b/newlib/libc/ctype/iswdigit.c
index d3562f883..cee5d5cf4 100644
--- a/newlib/libc/ctype/iswdigit.c
+++ b/newlib/libc/ctype/iswdigit.c
@@ -1,4 +1,34 @@
 /*
+Copyright (c) 2002 Red Hat Incorporated.
+All rights reserved.
+Modified (m) 2017 Thomas Wolff to refer to generated Unicode data tables.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+The name of Red Hat Incorporated may not be used to endorse
+or promote products derived from this software without specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS  
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<iswdigit>>, <<iswdigit_l>>---decimal digit wide character test
 
diff --git a/newlib/libc/ctype/iswdigit_l.c b/newlib/libc/ctype/iswdigit_l.c
index 29de9d381..cec1729b5 100644
--- a/newlib/libc/ctype/iswdigit_l.c
+++ b/newlib/libc/ctype/iswdigit_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <wctype.h>
 
diff --git a/newlib/libc/ctype/iswgraph_l.c b/newlib/libc/ctype/iswgraph_l.c
index b8a5866e9..15a129182 100644
--- a/newlib/libc/ctype/iswgraph_l.c
+++ b/newlib/libc/ctype/iswgraph_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <wctype.h>
diff --git a/newlib/libc/ctype/iswlower.c b/newlib/libc/ctype/iswlower.c
index e1d926b53..af8c6fe6b 100644
--- a/newlib/libc/ctype/iswlower.c
+++ b/newlib/libc/ctype/iswlower.c
@@ -1,4 +1,34 @@
 /*
+Copyright (c) 2002 Red Hat Incorporated.
+All rights reserved.
+Modified (m) 2017 Thomas Wolff to refer to generated Unicode data tables.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+The name of Red Hat Incorporated may not be used to endorse
+or promote products derived from this software without specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS  
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<iswlower>>, <<iswlower_l>>---lowercase wide character test
 
diff --git a/newlib/libc/ctype/iswlower_l.c b/newlib/libc/ctype/iswlower_l.c
index 644613325..d682c12d3 100644
--- a/newlib/libc/ctype/iswlower_l.c
+++ b/newlib/libc/ctype/iswlower_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <ctype.h>
diff --git a/newlib/libc/ctype/iswprint_l.c b/newlib/libc/ctype/iswprint_l.c
index cdf027bde..fd9766bae 100644
--- a/newlib/libc/ctype/iswprint_l.c
+++ b/newlib/libc/ctype/iswprint_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <ctype.h>
diff --git a/newlib/libc/ctype/iswpunct_l.c b/newlib/libc/ctype/iswpunct_l.c
index 4adc1ed83..02f539763 100644
--- a/newlib/libc/ctype/iswpunct_l.c
+++ b/newlib/libc/ctype/iswpunct_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <ctype.h>
diff --git a/newlib/libc/ctype/iswspace_l.c b/newlib/libc/ctype/iswspace_l.c
index e7f47ee31..41f58526c 100644
--- a/newlib/libc/ctype/iswspace_l.c
+++ b/newlib/libc/ctype/iswspace_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <ctype.h>
diff --git a/newlib/libc/ctype/iswupper.c b/newlib/libc/ctype/iswupper.c
index 96b5a0c84..f2dd206b0 100644
--- a/newlib/libc/ctype/iswupper.c
+++ b/newlib/libc/ctype/iswupper.c
@@ -1,4 +1,34 @@
 /*
+Copyright (c) 2002 Red Hat Incorporated.
+All rights reserved.
+Modified (m) 2017 Thomas Wolff to refer to generated Unicode data tables.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+The name of Red Hat Incorporated may not be used to endorse
+or promote products derived from this software without specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS  
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<iswupper>>, <<iswupper_l>>---uppercase wide character test
 
diff --git a/newlib/libc/ctype/iswupper_l.c b/newlib/libc/ctype/iswupper_l.c
index e772f929b..4761c062f 100644
--- a/newlib/libc/ctype/iswupper_l.c
+++ b/newlib/libc/ctype/iswupper_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <ctype.h>
diff --git a/newlib/libc/ctype/iswxdigit.c b/newlib/libc/ctype/iswxdigit.c
index fce2a4de4..9b1716e50 100644
--- a/newlib/libc/ctype/iswxdigit.c
+++ b/newlib/libc/ctype/iswxdigit.c
@@ -1,4 +1,34 @@
 /*
+Copyright (c) 2002 Red Hat Incorporated.
+All rights reserved.
+Modified (m) 2017 Thomas Wolff to refer to generated Unicode data tables.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+The name of Red Hat Incorporated may not be used to endorse
+or promote products derived from this software without specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS  
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<iswxdigit>>, <<iswxdigit_l>>---hexadecimal digit wide character test
 
diff --git a/newlib/libc/ctype/iswxdigit_l.c b/newlib/libc/ctype/iswxdigit_l.c
index 5a4c339d4..54237d43e 100644
--- a/newlib/libc/ctype/iswxdigit_l.c
+++ b/newlib/libc/ctype/iswxdigit_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <wctype.h>
 
diff --git a/newlib/libc/ctype/isxdigit.c b/newlib/libc/ctype/isxdigit.c
index 2bfe18dbf..a38ed22bd 100644
--- a/newlib/libc/ctype/isxdigit.c
+++ b/newlib/libc/ctype/isxdigit.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<isxdigit>>, <<isxdigit_l>>---hexadecimal digit predicate
 
diff --git a/newlib/libc/ctype/isxdigit_l.c b/newlib/libc/ctype/isxdigit_l.c
index 726db3190..64a70f60e 100644
--- a/newlib/libc/ctype/isxdigit_l.c
+++ b/newlib/libc/ctype/isxdigit_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/jp2uc.h b/newlib/libc/ctype/jp2uc.h
index 04eb67d29..7186d66a0 100644
--- a/newlib/libc/ctype/jp2uc.h
+++ b/newlib/libc/ctype/jp2uc.h
@@ -1,3 +1,33 @@
+/*
+Copyright (c) 2002 Red Hat Incorporated.
+All rights reserved.
+Modified (m) 2017 Thomas Wolff to refer to generated Unicode data tables.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+The name of Red Hat Incorporated may not be used to endorse
+or promote products derived from this software without specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS  
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
 /* based on eucjp-208A.txt */
 
 /* a1 is contiguous from a1a1 to a1fe */
diff --git a/newlib/libc/ctype/local.h b/newlib/libc/ctype/local.h
index 5c293c83d..1422046fd 100644
--- a/newlib/libc/ctype/local.h
+++ b/newlib/libc/ctype/local.h
@@ -1,3 +1,33 @@
+/*
+Copyright (c) 2002 Red Hat Incorporated.
+All rights reserved.
+Modified (m) 2017 Thomas Wolff to refer to generated Unicode data tables.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+The name of Red Hat Incorporated may not be used to endorse
+or promote products derived from this software without specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS  
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
 /* Modified (m) 2017 Thomas Wolff: fixed locale/wchar handling */
 
 /* wctrans constants */
diff --git a/newlib/libc/ctype/mkcaseconv b/newlib/libc/ctype/mkcaseconv
index ab0571d8f..896314298 100755
--- a/newlib/libc/ctype/mkcaseconv
+++ b/newlib/libc/ctype/mkcaseconv
@@ -1,5 +1,7 @@
 #! /bin/sh -f
 
+# Copyright (c) 2018 Thomas Wolff <[hidden email]>
+
 # generate a table for Unicode case conversion; entries:
 # struct caseconv_entry defined in towctrans_l.c
 
diff --git a/newlib/libc/ctype/mkcategories b/newlib/libc/ctype/mkcategories
index 22c7d4d5a..cb508fbe6 100755
--- a/newlib/libc/ctype/mkcategories
+++ b/newlib/libc/ctype/mkcategories
@@ -1,5 +1,7 @@
 #! /bin/sh
 
+# Copyright (c) 2018 Thomas Wolff <[hidden email]>
+
 # generate table of Unicode character category ranges;
 # note: undefined characters between two characters of the same category
 # are associated to the same category, e.g.
diff --git a/newlib/libc/ctype/mkunidata b/newlib/libc/ctype/mkunidata
index 4bdf3bc81..cdea78d85 100755
--- a/newlib/libc/ctype/mkunidata
+++ b/newlib/libc/ctype/mkunidata
@@ -1,5 +1,7 @@
 #! /bin/sh
 
+# Copyright (c) 2018 Thomas Wolff <[hidden email]>
+
 echo Generating Unicode character properties data for newlib/libc/ctype
 
 cd `dirname $0`
diff --git a/newlib/libc/ctype/toascii.c b/newlib/libc/ctype/toascii.c
index de5b8e1c3..e1927556c 100644
--- a/newlib/libc/ctype/toascii.c
+++ b/newlib/libc/ctype/toascii.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<toascii>>, <<toascii_l>>---force integers to ASCII range
 
diff --git a/newlib/libc/ctype/toascii_l.c b/newlib/libc/ctype/toascii_l.c
index 8781261fb..f49e2e699 100644
--- a/newlib/libc/ctype/toascii_l.c
+++ b/newlib/libc/ctype/toascii_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 
diff --git a/newlib/libc/ctype/tolower.c b/newlib/libc/ctype/tolower.c
index aae2ce09e..3ff06825a 100644
--- a/newlib/libc/ctype/tolower.c
+++ b/newlib/libc/ctype/tolower.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<tolower>>, <<tolower_l>>---translate characters to lowercase
 
diff --git a/newlib/libc/ctype/tolower_l.c b/newlib/libc/ctype/tolower_l.c
index 3b196c8d2..986fbf1f8 100644
--- a/newlib/libc/ctype/tolower_l.c
+++ b/newlib/libc/ctype/tolower_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 #if defined (_MB_EXTENDED_CHARSETS_ISO) || defined (_MB_EXTENDED_CHARSETS_WINDOWS)
diff --git a/newlib/libc/ctype/toupper.c b/newlib/libc/ctype/toupper.c
index 61951b00b..5b4ae5bf3 100644
--- a/newlib/libc/ctype/toupper.c
+++ b/newlib/libc/ctype/toupper.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1989 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<toupper>>, <<toupper_l>>---translate characters to uppercase
 
diff --git a/newlib/libc/ctype/toupper_l.c b/newlib/libc/ctype/toupper_l.c
index b126c1e28..6bba8f729 100644
--- a/newlib/libc/ctype/toupper_l.c
+++ b/newlib/libc/ctype/toupper_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <ctype.h>
 #if defined (_MB_EXTENDED_CHARSETS_ISO) \
diff --git a/newlib/libc/ctype/towctrans_l.c b/newlib/libc/ctype/towctrans_l.c
index b829266a4..64ee43104 100644
--- a/newlib/libc/ctype/towctrans_l.c
+++ b/newlib/libc/ctype/towctrans_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <wctype.h>
diff --git a/newlib/libc/ctype/towlower_l.c b/newlib/libc/ctype/towlower_l.c
index 46e024d44..ee51ef644 100644
--- a/newlib/libc/ctype/towlower_l.c
+++ b/newlib/libc/ctype/towlower_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <newlib.h>
diff --git a/newlib/libc/ctype/towupper_l.c b/newlib/libc/ctype/towupper_l.c
index d7c1adbc8..323332904 100644
--- a/newlib/libc/ctype/towupper_l.c
+++ b/newlib/libc/ctype/towupper_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
 #include <_ansi.h>
 #include <wctype.h>
diff --git a/newlib/libc/ctype/wctrans_l.c b/newlib/libc/ctype/wctrans_l.c
index 30e61a472..dfdcaf26d 100644
--- a/newlib/libc/ctype/wctrans_l.c
+++ b/newlib/libc/ctype/wctrans_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <wctype.h>
 
diff --git a/newlib/libc/ctype/wctype_l.c b/newlib/libc/ctype/wctype_l.c
index c2793dd57..fbe96b0b9 100644
--- a/newlib/libc/ctype/wctype_l.c
+++ b/newlib/libc/ctype/wctype_l.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling
+ */
 #include <_ansi.h>
 #include <wctype.h>
 
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 05/27] Add Copyright where missing to newlib/libc/include files

Keith Packard
In reply to this post by Keith Packard
Mostly derived from files added in the same commit. Some copyrights
derived from commit messages.

Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/include/_ansi.h                  | 33 ++++++++++++++++++++
 newlib/libc/include/_newlib_version.h        |  1 +
 newlib/libc/include/_syslist.h               | 33 ++++++++++++++++++++
 newlib/libc/include/alloca.h                 |  2 +-
 newlib/libc/include/assert.h                 | 33 ++++++++++++++++++++
 newlib/libc/include/complex.h                |  2 +-
 newlib/libc/include/cpio.h                   |  1 +
 newlib/libc/include/ctype.h                  | 33 ++++++++++++++++++++
 newlib/libc/include/envlock.h                | 28 +++++++++++++++++
 newlib/libc/include/errno.h                  | 33 ++++++++++++++++++++
 newlib/libc/include/fastmath.h               | 33 ++++++++++++++++++++
 newlib/libc/include/fcntl.h                  | 33 ++++++++++++++++++++
 newlib/libc/include/ieeefp.h                 | 33 ++++++++++++++++++++
 newlib/libc/include/libgen.h                 |  1 +
 newlib/libc/include/limits.h                 |  1 +
 newlib/libc/include/locale.h                 | 33 ++++++++++++++++++++
 newlib/libc/include/machine/_arc4random.h    | 22 +++++++++++++
 newlib/libc/include/machine/_default_types.h |  2 +-
 newlib/libc/include/machine/_endian.h        |  1 +
 newlib/libc/include/machine/_time.h          |  1 +
 newlib/libc/include/machine/_types.h         |  2 +-
 newlib/libc/include/machine/ansi.h           |  1 +
 newlib/libc/include/machine/endian.h         |  1 +
 newlib/libc/include/machine/fastmath.h       | 11 +++++++
 newlib/libc/include/machine/ieeefp.h         | 11 +++++++
 newlib/libc/include/machine/malloc.h         |  1 +
 newlib/libc/include/machine/param.h          |  1 +
 newlib/libc/include/machine/setjmp.h         | 11 +++++++
 newlib/libc/include/machine/stdlib.h         |  1 +
 newlib/libc/include/machine/termios.h        |  1 +
 newlib/libc/include/machine/time.h           | 11 +++++++
 newlib/libc/include/machine/types.h          | 11 +++++++
 newlib/libc/include/malloc.h                 | 33 ++++++++++++++++++++
 newlib/libc/include/math.h                   | 33 ++++++++++++++++++++
 newlib/libc/include/memory.h                 |  1 +
 newlib/libc/include/paths.h                  | 33 ++++++++++++++++++++
 newlib/libc/include/reent.h                  | 33 ++++++++++++++++++++
 newlib/libc/include/regdef.h                 | 33 ++++++++++++++++++++
 newlib/libc/include/search.h                 | 28 +++++++++++++++++
 newlib/libc/include/setjmp.h                 | 33 ++++++++++++++++++++
 newlib/libc/include/signal.h                 | 33 ++++++++++++++++++++
 newlib/libc/include/ssp/stdlib.h             |  1 +
 newlib/libc/include/ssp/wchar.h              |  1 +
 newlib/libc/include/stdio_ext.h              |  1 +
 newlib/libc/include/stdlib.h                 | 33 ++++++++++++++++++++
 newlib/libc/include/string.h                 | 33 ++++++++++++++++++++
 newlib/libc/include/sys/_default_fcntl.h     |  1 +
 newlib/libc/include/sys/_locale.h            |  1 +
 newlib/libc/include/sys/_types.h             | 28 +++++++++++++++++
 newlib/libc/include/sys/config.h             | 28 +++++++++++++++++
 newlib/libc/include/sys/custom_file.h        |  1 +
 newlib/libc/include/sys/dir.h                |  1 +
 newlib/libc/include/sys/dirent.h             | 28 +++++++++++++++++
 newlib/libc/include/sys/errno.h              | 28 +++++++++++++++++
 newlib/libc/include/sys/fcntl.h              | 28 +++++++++++++++++
 newlib/libc/include/sys/file.h               | 28 +++++++++++++++++
 newlib/libc/include/sys/lock.h               |  1 +
 newlib/libc/include/sys/param.h              | 28 +++++++++++++++++
 newlib/libc/include/sys/reent.h              | 28 +++++++++++++++++
 newlib/libc/include/sys/resource.h           | 28 +++++++++++++++++
 newlib/libc/include/sys/select.h             | 29 +++++++++++++++++
 newlib/libc/include/sys/signal.h             | 28 +++++++++++++++++
 newlib/libc/include/sys/stat.h               | 28 +++++++++++++++++
 newlib/libc/include/sys/string.h             |  1 +
 newlib/libc/include/sys/timeb.h              | 28 +++++++++++++++++
 newlib/libc/include/sys/times.h              | 28 +++++++++++++++++
 newlib/libc/include/sys/types.h              | 28 +++++++++++++++++
 newlib/libc/include/sys/unistd.h             | 28 +++++++++++++++++
 newlib/libc/include/sys/utime.h              | 28 +++++++++++++++++
 newlib/libc/include/sys/wait.h               | 28 +++++++++++++++++
 newlib/libc/include/tar.h                    |  1 +
 newlib/libc/include/termios.h                | 33 ++++++++++++++++++++
 newlib/libc/include/time.h                   | 33 ++++++++++++++++++++
 newlib/libc/include/unistd.h                 | 33 ++++++++++++++++++++
 newlib/libc/include/utime.h                  | 33 ++++++++++++++++++++
 newlib/libc/include/utmp.h                   | 33 ++++++++++++++++++++
 newlib/libc/include/wchar.h                  | 25 +++++++++++++++
 newlib/libc/include/wctype.h                 |  1 +
 78 files changed, 1450 insertions(+), 4 deletions(-)

diff --git a/newlib/libc/include/_ansi.h b/newlib/libc/include/_ansi.h
index 6c7497efd..534db713c 100644
--- a/newlib/libc/include/_ansi.h
+++ b/newlib/libc/include/_ansi.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* Provide support for both ANSI and non-ANSI environments.  */
 
 /* To get a strict ANSI C environment, define macro __STRICT_ANSI__.  This will
diff --git a/newlib/libc/include/_newlib_version.h b/newlib/libc/include/_newlib_version.h
index d4fffb169..b0c622501 100644
--- a/newlib/libc/include/_newlib_version.h
+++ b/newlib/libc/include/_newlib_version.h
@@ -1,2 +1,3 @@
+/* Copyright (c) 2016 Jeff Johnston  <[hidden email]> */
 /* dummy file for external tools to use.  Real file is created by
    newlib configuration. */
diff --git a/newlib/libc/include/_syslist.h b/newlib/libc/include/_syslist.h
index 271644efa..a7d9e5a9c 100644
--- a/newlib/libc/include/_syslist.h
+++ b/newlib/libc/include/_syslist.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* internal use only -- mapping of "system calls" for libraries that lose
    and only provide C names, so that we end up in violation of ANSI */
 #ifndef __SYSLIST_H
diff --git a/newlib/libc/include/alloca.h b/newlib/libc/include/alloca.h
index 5d3631891..c7c07c228 100644
--- a/newlib/libc/include/alloca.h
+++ b/newlib/libc/include/alloca.h
@@ -1,6 +1,6 @@
 /* libc/include/alloca.h - Allocate memory on stack */
 
-/* Written 2000 by Werner Almesberger */
+/* Copyright (c) 2000 Werner Almesberger */
 /* Rearranged for general inclusion by stdlib.h.
    2001, Corinna Vinschen <[hidden email]> */
 
diff --git a/newlib/libc/include/assert.h b/newlib/libc/include/assert.h
index b9e5e9b4a..780f1cc72 100644
--- a/newlib/libc/include/assert.h
+++ b/newlib/libc/include/assert.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /*
  assert.h
 */
diff --git a/newlib/libc/include/complex.h b/newlib/libc/include/complex.h
index 0a3ea97ed..c6226431d 100644
--- a/newlib/libc/include/complex.h
+++ b/newlib/libc/include/complex.h
@@ -1,7 +1,7 @@
 /* $NetBSD: complex.h,v 1.3 2010/09/15 16:11:30 christos Exp $ */
 
 /*
- * Written by Matthias Drochner.
+ * Copyright (c) 2010 Matthias Drochner.
  * Public domain.
  */
 
diff --git a/newlib/libc/include/cpio.h b/newlib/libc/include/cpio.h
index 99860b29c..6e8c040ef 100644
--- a/newlib/libc/include/cpio.h
+++ b/newlib/libc/include/cpio.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Yaakov Selkowitz <[hidden email]> */
 /* POSIX.1 symbolic constants for c_mode field of cpio archive format */
 
 #ifndef _CPIO_H
diff --git a/newlib/libc/include/ctype.h b/newlib/libc/include/ctype.h
index a0009af17..efe5d74cf 100644
--- a/newlib/libc/include/ctype.h
+++ b/newlib/libc/include/ctype.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _CTYPE_H_
 #define _CTYPE_H_
 
diff --git a/newlib/libc/include/envlock.h b/newlib/libc/include/envlock.h
index 799cf7f9e..0c3deefa7 100644
--- a/newlib/libc/include/envlock.h
+++ b/newlib/libc/include/envlock.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1992, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+4. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* envlock.h -- header file for env routines.  */
 
 #ifndef _INCLUDE_ENVLOCK_H_
diff --git a/newlib/libc/include/errno.h b/newlib/libc/include/errno.h
index 7cc2ca86f..29c7064ae 100644
--- a/newlib/libc/include/errno.h
+++ b/newlib/libc/include/errno.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef __ERRNO_H__
 #define __ERRNO_H__
 
diff --git a/newlib/libc/include/fastmath.h b/newlib/libc/include/fastmath.h
index 95eea5f34..5096976fe 100644
--- a/newlib/libc/include/fastmath.h
+++ b/newlib/libc/include/fastmath.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _FASTMATH_H_
 #ifdef __cplusplus
 extern "C" {
diff --git a/newlib/libc/include/fcntl.h b/newlib/libc/include/fcntl.h
index 86a916775..67d434abf 100644
--- a/newlib/libc/include/fcntl.h
+++ b/newlib/libc/include/fcntl.h
@@ -1 +1,34 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #include <sys/fcntl.h>
diff --git a/newlib/libc/include/ieeefp.h b/newlib/libc/include/ieeefp.h
index 2d6421a4c..384f6fc12 100644
--- a/newlib/libc/include/ieeefp.h
+++ b/newlib/libc/include/ieeefp.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _IEEE_FP_H_
 #define _IEEE_FP_H_
 
diff --git a/newlib/libc/include/libgen.h b/newlib/libc/include/libgen.h
index 414b5aa18..b6c600605 100644
--- a/newlib/libc/include/libgen.h
+++ b/newlib/libc/include/libgen.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2005 Jeff Johnston  <[hidden email]> */
 /*
  * libgen.h - defined by XPG4
  */
diff --git a/newlib/libc/include/limits.h b/newlib/libc/include/limits.h
index 893f10834..8d55864a3 100644
--- a/newlib/libc/include/limits.h
+++ b/newlib/libc/include/limits.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston  <[hidden email]> */
 #ifndef _LIBC_LIMITS_H_
 # define _LIBC_LIMITS_H_ 1
 
diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h
index 8abb8db92..d7101856e 100644
--- a/newlib/libc/include/locale.h
+++ b/newlib/libc/include/locale.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /*
  locale.h
  Values appropriate for the formatting of monetary and other
diff --git a/newlib/libc/include/machine/_arc4random.h b/newlib/libc/include/machine/_arc4random.h
index 52808d722..8dc19999e 100644
--- a/newlib/libc/include/machine/_arc4random.h
+++ b/newlib/libc/include/machine/_arc4random.h
@@ -1 +1,23 @@
+/* $OpenBSD: arc4random.c,v 1.52 2015/01/16 16:48:51 deraadt Exp $ */
+
+/*
+ * Copyright (c) 1996, David Mazieres <[hidden email]>
+ * Copyright (c) 2008, Damien Miller <[hidden email]>
+ * Copyright (c) 2013, Markus Friedl <[hidden email]>
+ * Copyright (c) 2014, Theo de Raadt <[hidden email]>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+
 /* Use default implementation, see arc4random.h */
diff --git a/newlib/libc/include/machine/_default_types.h b/newlib/libc/include/machine/_default_types.h
index 6137493be..3328b0749 100644
--- a/newlib/libc/include/machine/_default_types.h
+++ b/newlib/libc/include/machine/_default_types.h
@@ -1,5 +1,5 @@
 /*
- *  $Id$
+ *  Copyright (c) 2007 Patrick Mansfield <[hidden email]>
  */
 
 #ifndef _MACHINE__DEFAULT_TYPES_H
diff --git a/newlib/libc/include/machine/_endian.h b/newlib/libc/include/machine/_endian.h
index 92a14dc8b..0b6ea13ee 100644
--- a/newlib/libc/include/machine/_endian.h
+++ b/newlib/libc/include/machine/_endian.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Sebastian Huber <[hidden email]> */
 #ifndef __MACHINE_ENDIAN_H__
 #error "must be included via <machine/endian.h>"
 #endif /* !__MACHINE_ENDIAN_H__ */
diff --git a/newlib/libc/include/machine/_time.h b/newlib/libc/include/machine/_time.h
index 476760c91..f677ada5f 100644
--- a/newlib/libc/include/machine/_time.h
+++ b/newlib/libc/include/machine/_time.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Sebastian Huber <[hidden email]> */
 #ifndef _SYS_TIME_H_
 #error "must be included via <sys/time.h>"
 #endif /* !_SYS_TIME_H_ */
diff --git a/newlib/libc/include/machine/_types.h b/newlib/libc/include/machine/_types.h
index 17e6d51e3..be7e1bd21 100644
--- a/newlib/libc/include/machine/_types.h
+++ b/newlib/libc/include/machine/_types.h
@@ -1,5 +1,5 @@
 /*
- *  $Id$
+ *  Copyright (c) 2005 Ralf Corsepious  <[hidden email]>
  */
 
 #ifndef _MACHINE__TYPES_H
diff --git a/newlib/libc/include/machine/ansi.h b/newlib/libc/include/machine/ansi.h
index 737b6d066..01d762ff5 100644
--- a/newlib/libc/include/machine/ansi.h
+++ b/newlib/libc/include/machine/ansi.h
@@ -1 +1,2 @@
+/* Copyright (c) 2001 Jeff Johnston  <[hidden email]> */
 /* dummy header file to support BSD compiler */
diff --git a/newlib/libc/include/machine/endian.h b/newlib/libc/include/machine/endian.h
index 34a5726e6..ffa2bd7d0 100644
--- a/newlib/libc/include/machine/endian.h
+++ b/newlib/libc/include/machine/endian.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2004 Jeff Johnston  <[hidden email]> */
 #ifndef __MACHINE_ENDIAN_H__
 #define __MACHINE_ENDIAN_H__
 
diff --git a/newlib/libc/include/machine/fastmath.h b/newlib/libc/include/machine/fastmath.h
index d13ab3b73..1cd8a2f4e 100644
--- a/newlib/libc/include/machine/fastmath.h
+++ b/newlib/libc/include/machine/fastmath.h
@@ -1,3 +1,14 @@
+/*
+Copyright (C) 1991 DJ Delorie
+All rights reserved.
+
+Redistribution, modification, and use in source and binary forms is permitted
+provided that the above copyright notice and following paragraph are
+duplicated in all such forms.
+
+This file is distributed WITHOUT ANY WARRANTY; without even the implied
+warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #ifdef __sysvnecv70_target
 double EXFUN(fast_sin,(double));
 double EXFUN(fast_cos,(double));
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h
index aa8a1903b..3d8297411 100644
--- a/newlib/libc/include/machine/ieeefp.h
+++ b/newlib/libc/include/machine/ieeefp.h
@@ -1,3 +1,14 @@
+/*
+Copyright (C) 1991 DJ Delorie
+All rights reserved.
+
+Redistribution, modification, and use in source and binary forms is permitted
+provided that the above copyright notice and following paragraph are
+duplicated in all such forms.
+
+This file is distributed WITHOUT ANY WARRANTY; without even the implied
+warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #ifndef __IEEE_BIG_ENDIAN
 #ifndef __IEEE_LITTLE_ENDIAN
 
diff --git a/newlib/libc/include/machine/malloc.h b/newlib/libc/include/machine/malloc.h
index fdada9ed7..bfbef0de4 100644
--- a/newlib/libc/include/machine/malloc.h
+++ b/newlib/libc/include/machine/malloc.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston  <[hidden email]> */
 #ifndef _MACHMALLOC_H_
 #define _MACHMALLOC_H_
 
diff --git a/newlib/libc/include/machine/param.h b/newlib/libc/include/machine/param.h
index bdf8bf70f..a7c025c79 100644
--- a/newlib/libc/include/machine/param.h
+++ b/newlib/libc/include/machine/param.h
@@ -1 +1,2 @@
+/* Copyright (c) 2004 Jeff Johnston  <[hidden email]> */
 /* Place holder for machine-specific param.h.  */
diff --git a/newlib/libc/include/machine/setjmp.h b/newlib/libc/include/machine/setjmp.h
index 55152b0d7..508bbd646 100644
--- a/newlib/libc/include/machine/setjmp.h
+++ b/newlib/libc/include/machine/setjmp.h
@@ -1,3 +1,14 @@
+/*
+Copyright (C) 1991 DJ Delorie
+All rights reserved.
+
+Redistribution, modification, and use in source and binary forms is permitted
+provided that the above copyright notice and following paragraph are
+duplicated in all such forms.
+
+This file is distributed WITHOUT ANY WARRANTY; without even the implied
+warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 _BEGIN_STD_C
 
diff --git a/newlib/libc/include/machine/stdlib.h b/newlib/libc/include/machine/stdlib.h
index fa3f3a139..6df5013d3 100644
--- a/newlib/libc/include/machine/stdlib.h
+++ b/newlib/libc/include/machine/stdlib.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston  <[hidden email]> */
 #ifndef _MACHSTDLIB_H_
 #define _MACHSTDLIB_H_
 
diff --git a/newlib/libc/include/machine/termios.h b/newlib/libc/include/machine/termios.h
index 41fd45938..d71c5560b 100644
--- a/newlib/libc/include/machine/termios.h
+++ b/newlib/libc/include/machine/termios.h
@@ -1 +1,2 @@
+/* Copyright (c) 2002 Jeff Johnston  <[hidden email]> */
 #define __MAX_BAUD  B4000000
diff --git a/newlib/libc/include/machine/time.h b/newlib/libc/include/machine/time.h
index c75edafa7..2c6cea36b 100644
--- a/newlib/libc/include/machine/time.h
+++ b/newlib/libc/include/machine/time.h
@@ -1,3 +1,14 @@
+/*
+Copyright (C) 1991 DJ Delorie
+All rights reserved.
+
+Redistribution, modification, and use in source and binary forms is permitted
+provided that the above copyright notice and following paragraph are
+duplicated in all such forms.
+
+This file is distributed WITHOUT ANY WARRANTY; without even the implied
+warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #ifndef _MACHTIME_H_
 #define _MACHTIME_H_
 
diff --git a/newlib/libc/include/machine/types.h b/newlib/libc/include/machine/types.h
index 19d0e8560..8224a8e18 100644
--- a/newlib/libc/include/machine/types.h
+++ b/newlib/libc/include/machine/types.h
@@ -1,3 +1,14 @@
+/*
+Copyright (C) 1991 DJ Delorie
+All rights reserved.
+
+Redistribution, modification, and use in source and binary forms is permitted
+provided that the above copyright notice and following paragraph are
+duplicated in all such forms.
+
+This file is distributed WITHOUT ANY WARRANTY; without even the implied
+warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * Newlib targets may provide an own version of this file in their machine
  * directory to add custom user types for <sys/types.h>.
diff --git a/newlib/libc/include/malloc.h b/newlib/libc/include/malloc.h
index a9dc5bca6..44b3e6620 100644
--- a/newlib/libc/include/malloc.h
+++ b/newlib/libc/include/malloc.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* malloc.h -- header file for memory routines.  */
 
 #ifndef _INCLUDE_MALLOC_H_
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h
index 1efc5b92c..52d28d92d 100644
--- a/newlib/libc/include/math.h
+++ b/newlib/libc/include/math.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef  _MATH_H_
 
 #define  _MATH_H_
diff --git a/newlib/libc/include/memory.h b/newlib/libc/include/memory.h
index f4a14fcb8..64ecda68f 100644
--- a/newlib/libc/include/memory.h
+++ b/newlib/libc/include/memory.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Sebastian Huber <[hidden email]> */
 #ifndef _MEMORY_H
 #define _MEMORY_H
 #include <string.h>
diff --git a/newlib/libc/include/paths.h b/newlib/libc/include/paths.h
index b1c70f588..43a112f97 100644
--- a/newlib/libc/include/paths.h
+++ b/newlib/libc/include/paths.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _PATHS_H_
 #define _PATHS_H_
 
diff --git a/newlib/libc/include/reent.h b/newlib/libc/include/reent.h
index 2b01fbe8f..8723ed15e 100644
--- a/newlib/libc/include/reent.h
+++ b/newlib/libc/include/reent.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* This header file provides the reentrancy.  */
 
 /* The reentrant system calls here serve two purposes:
diff --git a/newlib/libc/include/regdef.h b/newlib/libc/include/regdef.h
index 8cf144b85..2c47f94d9 100644
--- a/newlib/libc/include/regdef.h
+++ b/newlib/libc/include/regdef.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* regdef.h -- define register names.  */
 
 /* This is a standard include file for MIPS targets.  Other target
diff --git a/newlib/libc/include/search.h b/newlib/libc/include/search.h
index ed321b0f6..38e513208 100644
--- a/newlib/libc/include/search.h
+++ b/newlib/libc/include/search.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1990, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* $NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $ */
 /* $FreeBSD: src/include/search.h,v 1.4 2002/03/23 17:24:53 imp Exp $ */
 
diff --git a/newlib/libc/include/setjmp.h b/newlib/libc/include/setjmp.h
index a2830b275..698f4d8c1 100644
--- a/newlib/libc/include/setjmp.h
+++ b/newlib/libc/include/setjmp.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /*
  setjmp.h
  stubs for future use.
diff --git a/newlib/libc/include/signal.h b/newlib/libc/include/signal.h
index 23a9863e6..c964dfae8 100644
--- a/newlib/libc/include/signal.h
+++ b/newlib/libc/include/signal.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _SIGNAL_H_
 #define _SIGNAL_H_
 
diff --git a/newlib/libc/include/ssp/stdlib.h b/newlib/libc/include/ssp/stdlib.h
index d5edb6d09..a9b196aff 100644
--- a/newlib/libc/include/ssp/stdlib.h
+++ b/newlib/libc/include/ssp/stdlib.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2017 Yaakov Selkowitz <[hidden email]> */
 #ifndef _SSP_STDLIB_H_
 #define _SSP_STDLIB_H_
 
diff --git a/newlib/libc/include/ssp/wchar.h b/newlib/libc/include/ssp/wchar.h
index d748fa2cf..aa7ce0430 100644
--- a/newlib/libc/include/ssp/wchar.h
+++ b/newlib/libc/include/ssp/wchar.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2017 Yaakov Selkowitz <[hidden email]> */
 #ifndef _SSP_WCHAR_H_
 #define _SSP_WCHAR_H_
 
diff --git a/newlib/libc/include/stdio_ext.h b/newlib/libc/include/stdio_ext.h
index 231262d47..a248c75a7 100644
--- a/newlib/libc/include/stdio_ext.h
+++ b/newlib/libc/include/stdio_ext.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2011 Yaakov Selkowitz <[hidden email]> */
 /*
  * stdio_ext.h
  *
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index 15b349440..d5fe4cd0c 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /*
  * stdlib.h
  *
diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h
index 60e837bc0..b924840cf 100644
--- a/newlib/libc/include/string.h
+++ b/newlib/libc/include/string.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /*
  * string.h
  *
diff --git a/newlib/libc/include/sys/_default_fcntl.h b/newlib/libc/include/sys/_default_fcntl.h
index b3177dd69..8ecb27a28 100644
--- a/newlib/libc/include/sys/_default_fcntl.h
+++ b/newlib/libc/include/sys/_default_fcntl.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Jeff Johnston  <[hidden email]> */
 
 #ifndef _SYS__DEFAULT_FCNTL_H_
 #ifdef __cplusplus
diff --git a/newlib/libc/include/sys/_locale.h b/newlib/libc/include/sys/_locale.h
index ce6f9955c..a40c008d9 100644
--- a/newlib/libc/include/sys/_locale.h
+++ b/newlib/libc/include/sys/_locale.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Corinna Vinschen <[hidden email]> */
 /* Definition of opaque POSIX-1.2008 type locale_t for userspace. */
 
 #ifndef _SYS__LOCALE_H
diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h
index 017a0aaf6..46d66ebae 100644
--- a/newlib/libc/include/sys/_types.h
+++ b/newlib/libc/include/sys/_types.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* ANSI C namespace clean utility typedefs */
 
 /* This file defines various typedefs needed by the system calls that support
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index d746b15fc..7d4a2d87a 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef __SYS_CONFIG_H__
 #define __SYS_CONFIG_H__
 
diff --git a/newlib/libc/include/sys/custom_file.h b/newlib/libc/include/sys/custom_file.h
index 96314fb91..5befeafce 100644
--- a/newlib/libc/include/sys/custom_file.h
+++ b/newlib/libc/include/sys/custom_file.h
@@ -1,2 +1,3 @@
+/* Copyright (c) 2007 Jeff Johnston  <[hidden email]> */
 #error System-specific custom_file.h is missing.
 
diff --git a/newlib/libc/include/sys/dir.h b/newlib/libc/include/sys/dir.h
index 220150dc9..170279203 100644
--- a/newlib/libc/include/sys/dir.h
+++ b/newlib/libc/include/sys/dir.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2010 Yaakov Selkowitz <[hidden email]> */
 /* BSD predecessor of POSIX.1 <dirent.h> and struct dirent */
 
 #ifndef _SYS_DIR_H_
diff --git a/newlib/libc/include/sys/dirent.h b/newlib/libc/include/sys/dirent.h
index a3fb5c02c..7b129fdf3 100644
--- a/newlib/libc/include/sys/dirent.h
+++ b/newlib/libc/include/sys/dirent.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* <dirent.h> includes <sys/dirent.h>, which is this file.  On a
    system which supports <dirent.h>, this file is overridden by
    dirent.h in the libc/sys/.../sys directory.  On a system which does
diff --git a/newlib/libc/include/sys/errno.h b/newlib/libc/include/sys/errno.h
index 025b461d4..d001208f9 100644
--- a/newlib/libc/include/sys/errno.h
+++ b/newlib/libc/include/sys/errno.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* errno is not a global variable, because that would make using it
    non-reentrant.  Instead, its address is returned by the function
    __errno.  */
diff --git a/newlib/libc/include/sys/fcntl.h b/newlib/libc/include/sys/fcntl.h
index be85f40c1..dc95cc676 100644
--- a/newlib/libc/include/sys/fcntl.h
+++ b/newlib/libc/include/sys/fcntl.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _SYS_FCNTL_H_
 #define _SYS_FCNTL_H_
 #include <sys/_default_fcntl.h>
diff --git a/newlib/libc/include/sys/file.h b/newlib/libc/include/sys/file.h
index 58d4fac31..c731a6258 100644
--- a/newlib/libc/include/sys/file.h
+++ b/newlib/libc/include/sys/file.h
@@ -1,2 +1,30 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 
 #include <sys/fcntl.h>
diff --git a/newlib/libc/include/sys/lock.h b/newlib/libc/include/sys/lock.h
index 528904957..40021d2f5 100644
--- a/newlib/libc/include/sys/lock.h
+++ b/newlib/libc/include/sys/lock.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston  <[hidden email]> */
 #ifndef __SYS_LOCK_H__
 #define __SYS_LOCK_H__
 
diff --git a/newlib/libc/include/sys/param.h b/newlib/libc/include/sys/param.h
index 9a6f115a6..403e86380 100644
--- a/newlib/libc/include/sys/param.h
+++ b/newlib/libc/include/sys/param.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* This is a dummy <sys/param.h> file, not customized for any
    particular system.  If there is a param.h in libc/sys/SYSDIR/sys,
    it will override this one.  */
diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h
index 74b70e9c0..7f1d361bc 100644
--- a/newlib/libc/include/sys/reent.h
+++ b/newlib/libc/include/sys/reent.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* This header file provides the reentrancy.  */
 
 /* WARNING: All identifiers here must begin with an underscore.  This file is
diff --git a/newlib/libc/include/sys/resource.h b/newlib/libc/include/sys/resource.h
index b99506bd8..6985aad3c 100644
--- a/newlib/libc/include/sys/resource.h
+++ b/newlib/libc/include/sys/resource.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _SYS_RESOURCE_H_
 #define _SYS_RESOURCE_H_
 
diff --git a/newlib/libc/include/sys/select.h b/newlib/libc/include/sys/select.h
index 1e5d895bb..7cf1f3e59 100644
--- a/newlib/libc/include/sys/select.h
+++ b/newlib/libc/include/sys/select.h
@@ -1,3 +1,32 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+
 #ifndef _SYS_SELECT_H
 #define _SYS_SELECT_H
 
diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h
index 45cc0366c..43da6fca9 100644
--- a/newlib/libc/include/sys/signal.h
+++ b/newlib/libc/include/sys/signal.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* sys/signal.h */
 
 #ifndef _SYS_SIGNAL_H
diff --git a/newlib/libc/include/sys/stat.h b/newlib/libc/include/sys/stat.h
index 8769112b0..c0aa30a0b 100644
--- a/newlib/libc/include/sys/stat.h
+++ b/newlib/libc/include/sys/stat.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _SYS_STAT_H
 #define _SYS_STAT_H
 
diff --git a/newlib/libc/include/sys/string.h b/newlib/libc/include/sys/string.h
index ceedf4be1..9716935ce 100644
--- a/newlib/libc/include/sys/string.h
+++ b/newlib/libc/include/sys/string.h
@@ -1,2 +1,3 @@
+/* Copyright (c) 2005 Jeff Johnston  <[hidden email]> */
 /* This is a dummy <sys/string.h> used as a placeholder for
    systems that need to have a special header file.  */
diff --git a/newlib/libc/include/sys/timeb.h b/newlib/libc/include/sys/timeb.h
index ccf664974..d04d467d7 100644
--- a/newlib/libc/include/sys/timeb.h
+++ b/newlib/libc/include/sys/timeb.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* timeb.h -- An implementation of the standard Unix <sys/timeb.h> file.
    Written by Ian Lance Taylor <[hidden email]>
    Public domain; no rights reserved.
diff --git a/newlib/libc/include/sys/times.h b/newlib/libc/include/sys/times.h
index 05b254714..2f78d56b5 100644
--- a/newlib/libc/include/sys/times.h
+++ b/newlib/libc/include/sys/times.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _SYS_TIMES_H
 #ifdef __cplusplus
 extern "C" {
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index 4613ac81f..f8faeb374 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* unified sys/types.h:
    start with sef's sysvi386 version.
    merge go32 version -- a few ifdefs.
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index 5386bd49d..aae787096 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _SYS_UNISTD_H
 #define _SYS_UNISTD_H
 
diff --git a/newlib/libc/include/sys/utime.h b/newlib/libc/include/sys/utime.h
index 5e937f103..ef57440c5 100644
--- a/newlib/libc/include/sys/utime.h
+++ b/newlib/libc/include/sys/utime.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _SYS_UTIME_H
 #define _SYS_UTIME_H
 
diff --git a/newlib/libc/include/sys/wait.h b/newlib/libc/include/sys/wait.h
index f17e53f12..f6f93fbd4 100644
--- a/newlib/libc/include/sys/wait.h
+++ b/newlib/libc/include/sys/wait.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1982, 1986, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _SYS_WAIT_H
 #define _SYS_WAIT_H
 
diff --git a/newlib/libc/include/tar.h b/newlib/libc/include/tar.h
index 36437fc38..4d20fb5bb 100644
--- a/newlib/libc/include/tar.h
+++ b/newlib/libc/include/tar.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Ralf Corsepius <[hidden email]> */
 /*
  * tar.h
  */
diff --git a/newlib/libc/include/termios.h b/newlib/libc/include/termios.h
index ee1820ce0..922f04a11 100644
--- a/newlib/libc/include/termios.h
+++ b/newlib/libc/include/termios.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifdef __cplusplus
 extern "C" {
 #endif
diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
index 3031590b4..be9088a6e 100644
--- a/newlib/libc/include/time.h
+++ b/newlib/libc/include/time.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /*
  * time.h
  *
diff --git a/newlib/libc/include/unistd.h b/newlib/libc/include/unistd.h
index f9fca8476..76233ad90 100644
--- a/newlib/libc/include/unistd.h
+++ b/newlib/libc/include/unistd.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _UNISTD_H_
 #define _UNISTD_H_
 
diff --git a/newlib/libc/include/utime.h b/newlib/libc/include/utime.h
index 652891aab..1e40578f5 100644
--- a/newlib/libc/include/utime.h
+++ b/newlib/libc/include/utime.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifdef __cplusplus
 extern "C" {
 #endif
diff --git a/newlib/libc/include/utmp.h b/newlib/libc/include/utmp.h
index 88cf6f852..262e47798 100644
--- a/newlib/libc/include/utmp.h
+++ b/newlib/libc/include/utmp.h
@@ -1,3 +1,36 @@
+/*
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+c) UNIX System Laboratories, Inc.
+All or some portions of this file are derived from material licensed
+to the University of California by American Telephone and Telegraph
+Co. or Unix System Laboratories, Inc. and are reproduced herein with
+the permission of UNIX System Laboratories, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifdef __cplusplus
 extern "C" {
 #endif
diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h
index c04a6510e..cf2891ed2 100644
--- a/newlib/libc/include/wchar.h
+++ b/newlib/libc/include/wchar.h
@@ -1,3 +1,28 @@
+/*
+Copyright (c) 2001 Alexey Zelkin <[hidden email]>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _WCHAR_H_
 #define _WCHAR_H_
 
diff --git a/newlib/libc/include/wctype.h b/newlib/libc/include/wctype.h
index e5452bfc3..74f7ce08a 100644
--- a/newlib/libc/include/wctype.h
+++ b/newlib/libc/include/wctype.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston  <[hidden email]> */
 #ifndef _WCTYPE_H_
 #define _WCTYPE_H_
 
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 06/27] Add copyrights in newlib/libc/iconv/lib

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/iconv/lib/encoding.deps | 24 ++++++++++++++++++++++++
 newlib/libc/iconv/lib/iconvnls.h    | 24 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/newlib/libc/iconv/lib/encoding.deps b/newlib/libc/iconv/lib/encoding.deps
index 280cffd10..4808b76a6 100644
--- a/newlib/libc/iconv/lib/encoding.deps
+++ b/newlib/libc/iconv/lib/encoding.deps
@@ -1,4 +1,28 @@
 #
+#Copyright (c) 2003-2004, Artem B. Bityuckiy
+#
+#Redistribution and use in source and binary forms, with or without
+#modification, are permitted provided that the following conditions
+#are met:
+#1. Redistributions of source code must retain the above copyright
+#notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#notice, this list of conditions and the following disclaimer in the
+#documentation and/or other materials provided with the distribution.
+#
+#THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+#ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+#ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+#FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+#DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+#OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+#HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+#LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+#OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+#SUCH DAMAGE.
+#
+#
 # This file describes dependencies between encodings, CES, CCS, etc.
 # File relates only to UCS-based conversions and is needed for automatic
 # generation of C source files and C header files.
diff --git a/newlib/libc/iconv/lib/iconvnls.h b/newlib/libc/iconv/lib/iconvnls.h
index f6d4866a8..f18ee63b2 100644
--- a/newlib/libc/iconv/lib/iconvnls.h
+++ b/newlib/libc/iconv/lib/iconvnls.h
@@ -1,3 +1,27 @@
+/*
+Copyright (c) 2003-2004, Artem B. Bityuckiy
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef __ICONV_ICONVNLS_H__
 #define __ICONV_ICONVNLS_H__
 
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 07/27] Transfer copyright from locale.c to derived files

Keith Packard
In reply to this post by Keith Packard
Functions in locale.c were moved to separate files, but
the copyright didn't follow.

Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/locale/duplocale.c  | 33 +++++++++++++++++++++++++++++++++
 newlib/libc/locale/freelocale.c | 29 +++++++++++++++++++++++++++++
 newlib/libc/locale/locale.tex   | 29 +++++++++++++++++++++++++++++
 newlib/libc/locale/localeconv.c | 29 +++++++++++++++++++++++++++++
 newlib/libc/locale/newlocale.c  | 29 +++++++++++++++++++++++++++++
 newlib/libc/locale/uselocale.c  | 29 +++++++++++++++++++++++++++++
 6 files changed, 178 insertions(+)

diff --git a/newlib/libc/locale/duplocale.c b/newlib/libc/locale/duplocale.c
index d3e7d782e..ca555a1bd 100644
--- a/newlib/libc/locale/duplocale.c
+++ b/newlib/libc/locale/duplocale.c
@@ -1,3 +1,36 @@
+/* Parts of this code are originally taken from FreeBSD. */
+/*
+ * Copyright (c) 1996 - 2002 FreeBSD Project
+ * Copyright (c) 1991, 1993
+ *      The Regents of the University of California.  All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Paul Borman at Krystal Technologies.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
 /*
 FUNCTION
  <<duplocale>>---duplicate a locale object
diff --git a/newlib/libc/locale/freelocale.c b/newlib/libc/locale/freelocale.c
index f5d55f5e2..4bccdb75c 100644
--- a/newlib/libc/locale/freelocale.c
+++ b/newlib/libc/locale/freelocale.c
@@ -1,4 +1,33 @@
 /*
+Copyright (c) 1996 - 2002 FreeBSD Project
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+4. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<freelocale>>---free resources allocated for a locale object
 
diff --git a/newlib/libc/locale/locale.tex b/newlib/libc/locale/locale.tex
index eee7d77cb..be0cc3dd1 100644
--- a/newlib/libc/locale/locale.tex
+++ b/newlib/libc/locale/locale.tex
@@ -1,3 +1,32 @@
+#
+#Copyright (c) 1996 - 2002 FreeBSD Project
+#Copyright (c) 1991, 1993
+#The Regents of the University of California.  All rights reserved.
+#
+#Redistribution and use in source and binary forms, with or without
+#modification, are permitted provided that the following conditions
+#are met:
+#1. Redistributions of source code must retain the above copyright
+#notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#notice, this list of conditions and the following disclaimer in the
+#documentation and/or other materials provided with the distribution.
+#4. Neither the name of the University nor the names of its contributors
+#may be used to endorse or promote products derived from this software
+#without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+#ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+#ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+#FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+#DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+#OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+#HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+#LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+#OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+#SUCH DAMAGE.
+#
 @node Locale
 @chapter Locale (@file{locale.h})
 
diff --git a/newlib/libc/locale/localeconv.c b/newlib/libc/locale/localeconv.c
index 5f34a785f..5737709ff 100644
--- a/newlib/libc/locale/localeconv.c
+++ b/newlib/libc/locale/localeconv.c
@@ -1,3 +1,32 @@
+/*
+Copyright (c) 1996 - 2002 FreeBSD Project
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+4. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #include "newlib.h"
 #include <reent.h>
 #include "setlocale.h"
diff --git a/newlib/libc/locale/newlocale.c b/newlib/libc/locale/newlocale.c
index 0789d5fd9..5cee6d276 100644
--- a/newlib/libc/locale/newlocale.c
+++ b/newlib/libc/locale/newlocale.c
@@ -1,4 +1,33 @@
 /*
+Copyright (c) 1996 - 2002 FreeBSD Project
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+4. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<newlocale>>---create or modify a locale object
 
diff --git a/newlib/libc/locale/uselocale.c b/newlib/libc/locale/uselocale.c
index 83ebcdd19..c07f28f74 100644
--- a/newlib/libc/locale/uselocale.c
+++ b/newlib/libc/locale/uselocale.c
@@ -1,4 +1,33 @@
 /*
+Copyright (c) 1996 - 2002 FreeBSD Project
+Copyright (c) 1991, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+4. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<uselocale>>---free resources allocated for a locale object
 
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 08/27] Add missing copyrights for newlib/libc/locale

Keith Packard
In reply to this post by Keith Packard
---
 newlib/libc/locale/lctype.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/newlib/libc/locale/lctype.c b/newlib/libc/locale/lctype.c
index 644669765..626922532 100644
--- a/newlib/libc/locale/lctype.c
+++ b/newlib/libc/locale/lctype.c
@@ -1,4 +1,6 @@
 /*
+ * Copyright (c) 2010 Corinna Vinschen <[hidden email]>
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 09/27] Add missing copyrights to newlib/libc/machine

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/machine/amdgcn/getreent.c         | 13 ++++++++
 newlib/libc/machine/amdgcn/signal.c           | 13 ++++++++
 newlib/libc/machine/arm/machine/param.h       |  1 +
 newlib/libc/machine/arm/setjmp.S              |  3 +-
 newlib/libc/machine/cr16/setjmp.S             |  2 +-
 newlib/libc/machine/cris/sys/errno.h          | 28 +++++++++++++++++
 newlib/libc/machine/cris/sys/fcntl.h          | 28 +++++++++++++++++
 newlib/libc/machine/cris/sys/signal.h         | 28 +++++++++++++++++
 newlib/libc/machine/crx/setjmp.S              |  2 +-
 newlib/libc/machine/d10v/setjmp.S             | 16 ++++++++++
 newlib/libc/machine/d30v/setjmp.S             | 16 ++++++++++
 newlib/libc/machine/fr30/setjmp.S             | 16 ++++++++++
 newlib/libc/machine/frv/setjmp.S              |  1 +
 newlib/libc/machine/h8300/defines.h           | 16 ++++++++++
 newlib/libc/machine/h8300/h8sx_strcpy.S       |  1 +
 newlib/libc/machine/h8300/memcpy.S            | 16 ++++++++++
 newlib/libc/machine/h8300/memset.S            | 16 ++++++++++
 newlib/libc/machine/h8300/reg_memcpy.S        | 16 ++++++++++
 newlib/libc/machine/h8300/reg_memset.S        | 16 ++++++++++
 newlib/libc/machine/h8300/setarch.h           |  1 +
 newlib/libc/machine/h8300/setjmp.S            | 16 ++++++++++
 newlib/libc/machine/h8300/strcmp.S            | 16 ++++++++++
 newlib/libc/machine/h8500/cmpsi.c             | 16 ++++++++++
 newlib/libc/machine/h8500/divhi3.S            | 16 ++++++++++
 newlib/libc/machine/h8500/divsi3.c            | 16 ++++++++++
 newlib/libc/machine/h8500/mulhi3.c            | 16 ++++++++++
 newlib/libc/machine/h8500/mulsi3.c            | 16 ++++++++++
 newlib/libc/machine/h8500/negsi2.c            | 16 ++++++++++
 newlib/libc/machine/h8500/psi.S               | 16 ++++++++++
 newlib/libc/machine/h8500/setjmp.S            | 16 ++++++++++
 newlib/libc/machine/h8500/shifts.c            | 16 ++++++++++
 newlib/libc/machine/i386/i386mach.h           | 16 ++++++++++
 newlib/libc/machine/i386/machine/fastmath.h   |  1 +
 newlib/libc/machine/iq2000/setjmp.S           |  1 +
 newlib/libc/machine/lm32/setjmp.S             |  4 +--
 newlib/libc/machine/m32r/setjmp.S             | 16 ++++++++++
 newlib/libc/machine/m68k/m68kasm.h            |  1 +
 newlib/libc/machine/m68k/setjmp.S             | 16 ++++++++++
 newlib/libc/machine/m68k/strcpy.c             | 16 ++++++++++
 newlib/libc/machine/m68k/strlen.c             | 16 ++++++++++
 newlib/libc/machine/m88k/setjmp.S             | 16 ++++++++++
 newlib/libc/machine/mep/setjmp.S              |  2 +-
 newlib/libc/machine/microblaze/abort.c        | 30 +++++++++++++++++++
 newlib/libc/machine/microblaze/mb_endian.h    |  1 +
 newlib/libc/machine/mips/setjmp.S             | 16 ++++++++++
 newlib/libc/machine/mn10200/setjmp.S          | 16 ++++++++++
 newlib/libc/machine/mn10300/memchr.S          | 16 ++++++++++
 newlib/libc/machine/mn10300/memcmp.S          | 16 ++++++++++
 newlib/libc/machine/mn10300/memcpy.S          | 16 ++++++++++
 newlib/libc/machine/mn10300/memset.S          | 16 ++++++++++
 newlib/libc/machine/mn10300/setjmp.S          | 16 ++++++++++
 newlib/libc/machine/mn10300/strchr.S          | 16 ++++++++++
 newlib/libc/machine/mn10300/strcmp.S          | 16 ++++++++++
 newlib/libc/machine/mn10300/strcpy.S          | 16 ++++++++++
 newlib/libc/machine/mn10300/strlen.S          | 16 ++++++++++
 newlib/libc/machine/msp430/tiny-puts.c        | 13 ++++++++
 newlib/libc/machine/mt/setjmp.S               |  1 +
 newlib/libc/machine/nds32/abort.c             | 29 ++++++++++++++++++
 newlib/libc/machine/necv70/fastmath.S         | 16 ++++++++++
 .../libc/machine/necv70/machine/registers.h   | 16 ++++++++++
 newlib/libc/machine/necv70/necv70.tex         | 16 ++++++++++
 newlib/libc/machine/necv70/setjmp.S           | 16 ++++++++++
 newlib/libc/machine/powerpc/atosfix16.c       | 14 +++++++++
 newlib/libc/machine/powerpc/atosfix32.c       | 14 +++++++++
 newlib/libc/machine/powerpc/atosfix64.c       | 14 +++++++++
 newlib/libc/machine/powerpc/atoufix16.c       | 14 +++++++++
 newlib/libc/machine/powerpc/atoufix32.c       | 14 +++++++++
 newlib/libc/machine/powerpc/atoufix64.c       | 14 +++++++++
 newlib/libc/machine/powerpc/fix64.h           | 14 +++++++++
 newlib/libc/machine/powerpc/machine/malloc.h  | 28 +++++++++++++++++
 newlib/libc/machine/powerpc/machine/stdlib.h  | 28 +++++++++++++++++
 newlib/libc/machine/powerpc/setjmp.S          | 16 ++++++++++
 newlib/libc/machine/powerpc/strtosfix16.c     | 14 +++++++++
 newlib/libc/machine/powerpc/strtosfix32.c     | 14 +++++++++
 newlib/libc/machine/powerpc/strtosfix64.c     | 14 +++++++++
 newlib/libc/machine/powerpc/strtoufix16.c     | 14 +++++++++
 newlib/libc/machine/powerpc/strtoufix32.c     | 14 +++++++++
 newlib/libc/machine/powerpc/strtoufix64.c     | 14 +++++++++
 newlib/libc/machine/powerpc/ufix64toa.c       | 14 +++++++++
 newlib/libc/machine/powerpc/vec_calloc.c      | 28 +++++++++++++++++
 newlib/libc/machine/powerpc/vec_free.c        | 28 +++++++++++++++++
 newlib/libc/machine/powerpc/vec_malloc.c      | 28 +++++++++++++++++
 newlib/libc/machine/powerpc/vec_mallocr.c     | 28 +++++++++++++++++
 newlib/libc/machine/powerpc/vec_realloc.c     | 28 +++++++++++++++++
 newlib/libc/machine/rx/memchr.S               |  1 +
 newlib/libc/machine/rx/memcpy.S               |  3 ++
 newlib/libc/machine/rx/memmove.S              |  3 ++
 newlib/libc/machine/rx/mempcpy.S              |  3 ++
 newlib/libc/machine/rx/memset.S               |  3 ++
 newlib/libc/machine/rx/setjmp.S               |  3 ++
 newlib/libc/machine/rx/strcat.S               |  3 ++
 newlib/libc/machine/rx/strcmp.S               |  3 ++
 newlib/libc/machine/rx/strcpy.S               |  3 ++
 newlib/libc/machine/rx/strlen.S               |  3 ++
 newlib/libc/machine/rx/strncat.S              |  3 ++
 newlib/libc/machine/rx/strncmp.S              |  3 ++
 newlib/libc/machine/rx/strncpy.S              |  3 ++
 newlib/libc/machine/sh/asm.h                  | 16 ++++++++++
 newlib/libc/machine/sh/memcpy.S               |  2 +-
 newlib/libc/machine/sh/memset.S               |  2 +-
 newlib/libc/machine/sh/setjmp.S               | 16 ++++++++++
 newlib/libc/machine/sh/strcmp.S               |  2 +-
 newlib/libc/machine/sh/strcpy.S               |  2 +-
 newlib/libc/machine/sh/strlen.S               |  2 +-
 newlib/libc/machine/sparc/machine/sparclet.h  | 16 ++++++++++
 newlib/libc/machine/sparc/scan.c              | 16 ++++++++++
 newlib/libc/machine/sparc/shuffle.c           | 16 ++++++++++
 newlib/libc/machine/spu/assert.c              |  1 +
 newlib/libc/machine/spu/creat.c               |  1 +
 newlib/libc/machine/spu/impure.c              |  1 +
 newlib/libc/machine/spu/perror.c              | 29 ++++++++++++++++++
 newlib/libc/machine/spu/putchar.c             | 29 ++++++++++++++++++
 newlib/libc/machine/spu/puts.c                | 29 ++++++++++++++++++
 newlib/libc/machine/spu/sleep.c               |  1 +
 newlib/libc/machine/spu/sys/custom_file.h     | 29 ++++++++++++++++++
 newlib/libc/machine/spu/sys/errno.h           |  1 +
 newlib/libc/machine/spu/sys/sched.h           |  1 +
 newlib/libc/machine/spu/sys/syscall.h         |  1 +
 newlib/libc/machine/spu/sys/uio.h             |  1 +
 newlib/libc/machine/spu/sys/utime.h           |  1 +
 newlib/libc/machine/spu/usleep.c              |  2 +-
 newlib/libc/machine/spu/vfiprintf.c           |  3 ++
 newlib/libc/machine/spu/vfiscanf.c            |  3 ++
 newlib/libc/machine/spu/viprintf.c            |  1 +
 newlib/libc/machine/spu/viscanf.c             |  3 ++
 newlib/libc/machine/spu/vprintf.c             | 29 ++++++++++++++++++
 newlib/libc/machine/spu/vsiprintf.c           |  3 ++
 newlib/libc/machine/spu/vsiscanf.c            |  3 ++
 newlib/libc/machine/spu/vsniprintf.c          |  3 ++
 newlib/libc/machine/spu/vsnprintf.c           | 29 ++++++++++++++++++
 newlib/libc/machine/spu/vsprintf.c            | 29 ++++++++++++++++++
 newlib/libc/machine/tic4x/setjmp.S            |  6 ++--
 newlib/libc/machine/tic6x/setjmp.S            |  2 +-
 newlib/libc/machine/tic80/setjmp.S            | 16 ++++++++++
 newlib/libc/machine/v850/setjmp.S             | 16 ++++++++++
 newlib/libc/machine/w65/cmpsi.c               | 16 ++++++++++
 newlib/libc/machine/w65/divsi3.c              | 16 ++++++++++
 newlib/libc/machine/w65/lshrhi.S              | 16 +++++++++-
 newlib/libc/machine/w65/mulsi3.c              | 16 ++++++++++
 newlib/libc/machine/w65/sdivhi3.S             | 16 ++++++++++
 newlib/libc/machine/w65/smulhi3.S             | 16 ++++++++++
 newlib/libc/machine/w65/udivhi3.S             | 16 ++++++++++
 newlib/libc/machine/w65/umodhi3.S             | 16 ++++++++++
 newlib/libc/machine/x86_64/x86_64mach.h       |  7 +++++
 newlib/libc/machine/xscale/memchr.c           |  1 +
 newlib/libc/machine/xscale/memcmp.c           |  1 +
 newlib/libc/machine/xscale/memcpy.c           |  3 ++
 newlib/libc/machine/xscale/memmove.c          |  3 ++
 newlib/libc/machine/xscale/memset.c           |  3 ++
 newlib/libc/machine/xscale/setjmp.S           |  2 +-
 newlib/libc/machine/xscale/strchr.c           |  3 ++
 newlib/libc/machine/xscale/strcmp.c           |  3 ++
 newlib/libc/machine/xscale/strcpy.c           |  3 ++
 newlib/libc/machine/xscale/strlen.c           |  3 ++
 newlib/libc/machine/xscale/xscale.h           |  3 ++
 newlib/libc/machine/xstormy16/mallocr.c       |  1 +
 newlib/libc/machine/xstormy16/tiny-malloc.c   |  1 +
 newlib/libc/machine/z8k/args.h                | 16 ++++++++++
 newlib/libc/machine/z8k/setjmp.S              | 16 ++++++++++
 159 files changed, 1831 insertions(+), 18 deletions(-)

diff --git a/newlib/libc/machine/amdgcn/getreent.c b/newlib/libc/machine/amdgcn/getreent.c
index be7d2edc9..61c759d4b 100644
--- a/newlib/libc/machine/amdgcn/getreent.c
+++ b/newlib/libc/machine/amdgcn/getreent.c
@@ -1,3 +1,16 @@
+/*
+Copyright (c) 2014-2017 Mentor Graphics.
+
+The authors hereby grant permission to use, copy, modify, distribute,
+and license this software and its documentation for any purpose, provided
+that existing copyright notices are retained in all copies and that this
+notice is included verbatim in any distributions. No written agreement,
+license, or royalty fee is required for any of the authorized uses.
+Modifications to this software may be copyrighted by their authors
+and need not follow the licensing terms described here, provided that
+the new terms are clearly indicated on the first page of each file where
+they apply.
+ */
 /* get thread-specific reentrant pointer */
 
 #include <reent.h>
diff --git a/newlib/libc/machine/amdgcn/signal.c b/newlib/libc/machine/amdgcn/signal.c
index 033d8e5cc..1e4eec872 100644
--- a/newlib/libc/machine/amdgcn/signal.c
+++ b/newlib/libc/machine/amdgcn/signal.c
@@ -1,3 +1,16 @@
+/*
+Copyright (c) 2014-2017 Mentor Graphics.
+
+The authors hereby grant permission to use, copy, modify, distribute,
+and license this software and its documentation for any purpose, provided
+that existing copyright notices are retained in all copies and that this
+notice is included verbatim in any distributions. No written agreement,
+license, or royalty fee is required for any of the authorized uses.
+Modifications to this software may be copyrighted by their authors
+and need not follow the licensing terms described here, provided that
+the new terms are clearly indicated on the first page of each file where
+they apply.
+ */
 #include <signal.h>
 #include <errno.h>
 
diff --git a/newlib/libc/machine/arm/machine/param.h b/newlib/libc/machine/arm/machine/param.h
index 513f7b0b0..498dbf742 100644
--- a/newlib/libc/machine/arm/machine/param.h
+++ b/newlib/libc/machine/arm/machine/param.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2004 Jeff Johnston  <[hidden email]> */
 /* ARM configuration file; HZ is 100 rather than the default 60 */
 
 #ifndef _MACHINE_PARAM_H
diff --git a/newlib/libc/machine/arm/setjmp.S b/newlib/libc/machine/arm/setjmp.S
index 1ba711d5e..ee4e3123b 100644
--- a/newlib/libc/machine/arm/setjmp.S
+++ b/newlib/libc/machine/arm/setjmp.S
@@ -1,6 +1,7 @@
 /* This is a simple version of setjmp and longjmp.
 
-   Nick Clifton, Cygnus Solutions, 13 June 1997.  */
+   Copyright (c) 1997 Nick Clifton, Cygnus Solutions
+ */
 
 #include "acle-compat.h"
 
diff --git a/newlib/libc/machine/cr16/setjmp.S b/newlib/libc/machine/cr16/setjmp.S
index d31643a5f..e97a1cef9 100644
--- a/newlib/libc/machine/cr16/setjmp.S
+++ b/newlib/libc/machine/cr16/setjmp.S
@@ -1,7 +1,7 @@
  ##############################################################################
  # setjmp.S -- CR16 setjmp routine                                            #
  #                                                                            #
- # Copyright (c) 2004 National Semiconductor Corporation                      #
+/* Copyright (c) 2004 National Semiconductor Corporation                      */
  #                                                                            #
  # The authors hereby grant permission to use, copy, modify, distribute,      #
  # and license this software and its documentation for any purpose, provided  #
diff --git a/newlib/libc/machine/cris/sys/errno.h b/newlib/libc/machine/cris/sys/errno.h
index 3d573015d..6d28a7291 100644
--- a/newlib/libc/machine/cris/sys/errno.h
+++ b/newlib/libc/machine/cris/sys/errno.h
@@ -1,3 +1,31 @@
+/*
+Copyright (C) 2001, 2004, 2005 Axis Communications AB.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Neither the name of Axis Communications nor the names of its
+contributors may be used to endorse or promote products derived
+from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
+AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
+COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 /* This file is to be kept in sync with newlib/libc/include/sys/errno.h
    on which it is based, except values used or returned by syscalls must
    be those of the Linux/CRIS kernel.  */
diff --git a/newlib/libc/machine/cris/sys/fcntl.h b/newlib/libc/machine/cris/sys/fcntl.h
index 7630a9874..465b07979 100644
--- a/newlib/libc/machine/cris/sys/fcntl.h
+++ b/newlib/libc/machine/cris/sys/fcntl.h
@@ -1,3 +1,31 @@
+/*
+Copyright (C) 2001, 2004, 2005 Axis Communications AB.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Neither the name of Axis Communications nor the names of its
+contributors may be used to endorse or promote products derived
+from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
+AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
+COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 /* This file is to be kept in sync with newlib/libc/include/sys/fcntl.h,
    on which it is based, except values used or returned by syscalls must
    be those of the Linux/CRIS kernel.  */
diff --git a/newlib/libc/machine/cris/sys/signal.h b/newlib/libc/machine/cris/sys/signal.h
index 9cb7ba530..530c174c4 100644
--- a/newlib/libc/machine/cris/sys/signal.h
+++ b/newlib/libc/machine/cris/sys/signal.h
@@ -1,3 +1,31 @@
+/*
+Copyright (C) 2001, 2004, 2005 Axis Communications AB.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Neither the name of Axis Communications nor the names of its
+contributors may be used to endorse or promote products derived
+from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
+AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
+COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 /* This file is to be kept in sync (well, reasonably so, it's quite
    different) with newlib/libc/include/sys/signal.h on which it is
    based, except values used or returned by syscalls must be those of
diff --git a/newlib/libc/machine/crx/setjmp.S b/newlib/libc/machine/crx/setjmp.S
index 19b7d6c2a..ab7e0d22d 100644
--- a/newlib/libc/machine/crx/setjmp.S
+++ b/newlib/libc/machine/crx/setjmp.S
@@ -1,7 +1,7 @@
  ##############################################################################
  # setjmp.S -- CRX setjmp routine                                             #
  #                                                                            #
- # Copyright (c) 2004 National Semiconductor Corporation                      #
+ /* Copyright (c) 2004 National Semiconductor Corporation                     */
  #                                                                            #
  # The authors hereby grant permission to use, copy, modify, distribute,      #
  # and license this software and its documentation for any purpose, provided  #
diff --git a/newlib/libc/machine/d10v/setjmp.S b/newlib/libc/machine/d10v/setjmp.S
index 22287dd1e..1520c95ac 100644
--- a/newlib/libc/machine/d10v/setjmp.S
+++ b/newlib/libc/machine/d10v/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 ; setjmp/longjmp for D10V.  The jmpbuf looks like this:
 ;
 ; Register jmpbuf offset
diff --git a/newlib/libc/machine/d30v/setjmp.S b/newlib/libc/machine/d30v/setjmp.S
index c0ca8250b..f4fde5140 100644
--- a/newlib/libc/machine/d30v/setjmp.S
+++ b/newlib/libc/machine/d30v/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 ; setjmp/longjmp for D30V.
 
  .text
diff --git a/newlib/libc/machine/fr30/setjmp.S b/newlib/libc/machine/fr30/setjmp.S
index 98ac44d48..92b9714c7 100644
--- a/newlib/libc/machine/fr30/setjmp.S
+++ b/newlib/libc/machine/fr30/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 # setjmp/longjmp for FR30.  The jmpbuf looks like this:
 #
 # Register jmpbuf offset
diff --git a/newlib/libc/machine/frv/setjmp.S b/newlib/libc/machine/frv/setjmp.S
index a1dd15958..85a8e2565 100644
--- a/newlib/libc/machine/frv/setjmp.S
+++ b/newlib/libc/machine/frv/setjmp.S
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Dave Brolley  <[hidden email]> */
 # setjmp/longjmp for Frv.  The jmpbuf looks like this:
 #
 # Register jmpbuf offset
diff --git a/newlib/libc/machine/h8300/defines.h b/newlib/libc/machine/h8300/defines.h
index 7ec12c4d0..59dc1ee1e 100644
--- a/newlib/libc/machine/h8300/defines.h
+++ b/newlib/libc/machine/h8300/defines.h
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 #define A0 r0
 #define A0L r0l
diff --git a/newlib/libc/machine/h8300/h8sx_strcpy.S b/newlib/libc/machine/h8300/h8sx_strcpy.S
index db84771a0..fe2f2539f 100644
--- a/newlib/libc/machine/h8300/h8sx_strcpy.S
+++ b/newlib/libc/machine/h8300/h8sx_strcpy.S
@@ -1,3 +1,4 @@
+/* Copyright (c) 2003 Richard Sandiford  <[hidden email]> */
 ; This file exists to provide a movsd implementation of strcpy().
 ; Continue to use the generic version for targets other than h8sx.
 #ifdef __H8300SX__
diff --git a/newlib/libc/machine/h8300/memcpy.S b/newlib/libc/machine/h8300/memcpy.S
index 6af5a9922..4ca24bb28 100644
--- a/newlib/libc/machine/h8300/memcpy.S
+++ b/newlib/libc/machine/h8300/memcpy.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "setarch.h"
 
 #include "defines.h"
diff --git a/newlib/libc/machine/h8300/memset.S b/newlib/libc/machine/h8300/memset.S
index c92169c69..6909c1825 100644
--- a/newlib/libc/machine/h8300/memset.S
+++ b/newlib/libc/machine/h8300/memset.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "setarch.h"
 
 #include "defines.h"
diff --git a/newlib/libc/machine/h8300/reg_memcpy.S b/newlib/libc/machine/h8300/reg_memcpy.S
index 5402fc46d..b4ecc31aa 100644
--- a/newlib/libc/machine/h8300/reg_memcpy.S
+++ b/newlib/libc/machine/h8300/reg_memcpy.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "setarch.h"
 
 #include "defines.h"
diff --git a/newlib/libc/machine/h8300/reg_memset.S b/newlib/libc/machine/h8300/reg_memset.S
index ce4f5ca66..072f63f0a 100644
--- a/newlib/libc/machine/h8300/reg_memset.S
+++ b/newlib/libc/machine/h8300/reg_memset.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "setarch.h"
 
 #include "defines.h"
diff --git a/newlib/libc/machine/h8300/setarch.h b/newlib/libc/machine/h8300/setarch.h
index 56bdaaf45..3cdd78b8d 100644
--- a/newlib/libc/machine/h8300/setarch.h
+++ b/newlib/libc/machine/h8300/setarch.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2003 Kazu Hirata  <[hidden email]> */
 #ifdef __H8300H__
 #ifdef __NORMAL_MODE__
  .h8300hn
diff --git a/newlib/libc/machine/h8300/setjmp.S b/newlib/libc/machine/h8300/setjmp.S
index cb79e49b3..d1c75aa9c 100644
--- a/newlib/libc/machine/h8300/setjmp.S
+++ b/newlib/libc/machine/h8300/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "setarch.h"
 
  .file "setjmp.S"
diff --git a/newlib/libc/machine/h8300/strcmp.S b/newlib/libc/machine/h8300/strcmp.S
index c5d709405..3be36693a 100644
--- a/newlib/libc/machine/h8300/strcmp.S
+++ b/newlib/libc/machine/h8300/strcmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "setarch.h"
 
 #include "defines.h"
diff --git a/newlib/libc/machine/h8500/cmpsi.c b/newlib/libc/machine/h8500/cmpsi.c
index 3357343f5..d3828fb45 100644
--- a/newlib/libc/machine/h8500/cmpsi.c
+++ b/newlib/libc/machine/h8500/cmpsi.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 union u
 {
diff --git a/newlib/libc/machine/h8500/divhi3.S b/newlib/libc/machine/h8500/divhi3.S
index ee3135110..54cad879b 100644
--- a/newlib/libc/machine/h8500/divhi3.S
+++ b/newlib/libc/machine/h8500/divhi3.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .title "H8/500 DIVIDE"
 !! 2 byte integer Divide code for the H8/500
 !!
diff --git a/newlib/libc/machine/h8500/divsi3.c b/newlib/libc/machine/h8500/divsi3.c
index e19855d0a..00e5583aa 100644
--- a/newlib/libc/machine/h8500/divsi3.c
+++ b/newlib/libc/machine/h8500/divsi3.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 #define divnorm(num, den, sign) \
 { \
diff --git a/newlib/libc/machine/h8500/mulhi3.c b/newlib/libc/machine/h8500/mulhi3.c
index 869e131ea..fdbc2b9d3 100644
--- a/newlib/libc/machine/h8500/mulhi3.c
+++ b/newlib/libc/machine/h8500/mulhi3.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 
 short
diff --git a/newlib/libc/machine/h8500/mulsi3.c b/newlib/libc/machine/h8500/mulsi3.c
index a923e8db5..c3379ac93 100644
--- a/newlib/libc/machine/h8500/mulsi3.c
+++ b/newlib/libc/machine/h8500/mulsi3.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 typedef union {
   struct {
diff --git a/newlib/libc/machine/h8500/negsi2.c b/newlib/libc/machine/h8500/negsi2.c
index c5b31b19d..6296aa6c1 100644
--- a/newlib/libc/machine/h8500/negsi2.c
+++ b/newlib/libc/machine/h8500/negsi2.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 
 long
diff --git a/newlib/libc/machine/h8500/psi.S b/newlib/libc/machine/h8500/psi.S
index 47c818329..1f4fa612e 100644
--- a/newlib/libc/machine/h8500/psi.S
+++ b/newlib/libc/machine/h8500/psi.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* convert psi to si inplace
 
 Note that `fp' below isn't a segment register.
diff --git a/newlib/libc/machine/h8500/setjmp.S b/newlib/libc/machine/h8500/setjmp.S
index 4b25fc0c9..b6b09de34 100644
--- a/newlib/libc/machine/h8500/setjmp.S
+++ b/newlib/libc/machine/h8500/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 !
  .file "setjmp.S"
  .section .text
diff --git a/newlib/libc/machine/h8500/shifts.c b/newlib/libc/machine/h8500/shifts.c
index 5b8106931..03adaf779 100644
--- a/newlib/libc/machine/h8500/shifts.c
+++ b/newlib/libc/machine/h8500/shifts.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 
 int __ashrhi3(int a,int b)
diff --git a/newlib/libc/machine/i386/i386mach.h b/newlib/libc/machine/i386/i386mach.h
index 403d24bfe..aa68398dc 100644
--- a/newlib/libc/machine/i386/i386mach.h
+++ b/newlib/libc/machine/i386/i386mach.h
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*  This file was based on the modified setjmp.S performed by
  *  Joel Sherill ([hidden email]) which specified the use
  *  of the __USER_LABEL_PREFIX__ and __REGISTER_PREFIX__ macros.
diff --git a/newlib/libc/machine/i386/machine/fastmath.h b/newlib/libc/machine/i386/machine/fastmath.h
index accfa8764..768bb65b6 100644
--- a/newlib/libc/machine/i386/machine/fastmath.h
+++ b/newlib/libc/machine/i386/machine/fastmath.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Jeff Johnston  <[hidden email]> */
 #ifndef _MACHFASTMATH_H
 #define _MACHFASTMATH_H
 
diff --git a/newlib/libc/machine/iq2000/setjmp.S b/newlib/libc/machine/iq2000/setjmp.S
index cb094630d..c9053c9d5 100644
--- a/newlib/libc/machine/iq2000/setjmp.S
+++ b/newlib/libc/machine/iq2000/setjmp.S
@@ -1,3 +1,4 @@
+/* Copyright (c) 2003 Anthony Green <[hidden email]> */
 /* This is a simple version of setjmp and longjmp for iq2000. */
 
 
diff --git a/newlib/libc/machine/lm32/setjmp.S b/newlib/libc/machine/lm32/setjmp.S
index 666df5e3e..fa5b2995f 100644
--- a/newlib/libc/machine/lm32/setjmp.S
+++ b/newlib/libc/machine/lm32/setjmp.S
@@ -1,6 +1,5 @@
 /*
- * setjmp/longjmp for LatticeMico32.
- * Contributed by Jon Beniston <[hidden email]>
+ * Copyright (c) 2008 Jon Beniston <[hidden email]>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -23,6 +22,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  */
+/* setjmp/longjmp for LatticeMico32. */
 
  .section .text
  .align 4
diff --git a/newlib/libc/machine/m32r/setjmp.S b/newlib/libc/machine/m32r/setjmp.S
index e6938efe3..cb8de37e9 100644
--- a/newlib/libc/machine/m32r/setjmp.S
+++ b/newlib/libc/machine/m32r/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 # setjmp/longjmp for m32r.  The jmpbuf looks like this:
 #
 # Register jmpbuf offset
diff --git a/newlib/libc/machine/m68k/m68kasm.h b/newlib/libc/machine/m68k/m68kasm.h
index a5c610af9..a01175072 100644
--- a/newlib/libc/machine/m68k/m68kasm.h
+++ b/newlib/libc/machine/m68k/m68kasm.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2008 Jeff Johnston  <[hidden email]> */
 /* These are predefined by new versions of GNU cpp.  */
 
 #ifndef __USER_LABEL_PREFIX__
diff --git a/newlib/libc/machine/m68k/setjmp.S b/newlib/libc/machine/m68k/setjmp.S
index 4b260efcc..5f2589104 100644
--- a/newlib/libc/machine/m68k/setjmp.S
+++ b/newlib/libc/machine/m68k/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include "m68kasm.h"
 
 .global SYM (setjmp)
diff --git a/newlib/libc/machine/m68k/strcpy.c b/newlib/libc/machine/m68k/strcpy.c
index ccc914193..76e9751eb 100644
--- a/newlib/libc/machine/m68k/strcpy.c
+++ b/newlib/libc/machine/m68k/strcpy.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  *  C library strcpy routine
  *
diff --git a/newlib/libc/machine/m68k/strlen.c b/newlib/libc/machine/m68k/strlen.c
index 589a69751..3a1618379 100644
--- a/newlib/libc/machine/m68k/strlen.c
+++ b/newlib/libc/machine/m68k/strlen.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  *  C library strlen routine
  *
diff --git a/newlib/libc/machine/m88k/setjmp.S b/newlib/libc/machine/m88k/setjmp.S
index 24d44b6b1..46577e596 100644
--- a/newlib/libc/machine/m88k/setjmp.S
+++ b/newlib/libc/machine/m88k/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* This is a simple version of setjmp and longjmp.
 
    Ian Lance Taylor, Cygnus Support, 15 July 1993.  */
diff --git a/newlib/libc/machine/mep/setjmp.S b/newlib/libc/machine/mep/setjmp.S
index 3b39bcf8c..53e882a81 100644
--- a/newlib/libc/machine/mep/setjmp.S
+++ b/newlib/libc/machine/mep/setjmp.S
@@ -1,7 +1,7 @@
+/*  Copyright (c) 2003 DJ Delorie, Red Hat Inc. */
 #
 #  Setjmp/longjmp for MeP
 #
-#  DJ Delorie, Red Hat Inc.
 #
 #  19 32-bit words in the jmpbuf:
 #    $0
diff --git a/newlib/libc/machine/microblaze/abort.c b/newlib/libc/machine/microblaze/abort.c
index 1af7b368f..7b6b43db9 100644
--- a/newlib/libc/machine/microblaze/abort.c
+++ b/newlib/libc/machine/microblaze/abort.c
@@ -1,3 +1,33 @@
+/*
+Copyright (c) 2001, 2009 Xilinx, Inc.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1.  Redistributions source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+2.  Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3.  Neither the name of Xilinx nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
+IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
 /* NetWare can not use this implementation of abort.  It provides its
    own version of abort in clib.nlm.  If we can not use clib.nlm, then
    we must write abort in sys/netware.  */
diff --git a/newlib/libc/machine/microblaze/mb_endian.h b/newlib/libc/machine/microblaze/mb_endian.h
index fb217ec85..f4fe024ca 100644
--- a/newlib/libc/machine/microblaze/mb_endian.h
+++ b/newlib/libc/machine/microblaze/mb_endian.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2013 Corinna Vinschen <[hidden email]> */
 #ifndef _MB_ENDIAN_H
 #define _MB_ENDIAN_H
 
diff --git a/newlib/libc/machine/mips/setjmp.S b/newlib/libc/machine/mips/setjmp.S
index 9a8b31d09..acecc2d91 100644
--- a/newlib/libc/machine/mips/setjmp.S
+++ b/newlib/libc/machine/mips/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* This is a simple version of setjmp and longjmp for MIPS 32 and 64.
 
    Ian Lance Taylor, Cygnus Support, 13 May 1993.  */
diff --git a/newlib/libc/machine/mn10200/setjmp.S b/newlib/libc/machine/mn10200/setjmp.S
index f0036b120..ca70fbdde 100644
--- a/newlib/libc/machine/mn10200/setjmp.S
+++ b/newlib/libc/machine/mn10200/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "setjmp.S"
 
  .section .text
diff --git a/newlib/libc/machine/mn10300/memchr.S b/newlib/libc/machine/mn10300/memchr.S
index 90b0f467e..766aaa48b 100644
--- a/newlib/libc/machine/mn10300/memchr.S
+++ b/newlib/libc/machine/mn10300/memchr.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "memchr.S"
 
  .section .text
diff --git a/newlib/libc/machine/mn10300/memcmp.S b/newlib/libc/machine/mn10300/memcmp.S
index e272c5446..fc5b117a3 100644
--- a/newlib/libc/machine/mn10300/memcmp.S
+++ b/newlib/libc/machine/mn10300/memcmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "memcmp.S"
 
  .section .text
diff --git a/newlib/libc/machine/mn10300/memcpy.S b/newlib/libc/machine/mn10300/memcpy.S
index 8f2ab08a6..d79bf37f2 100644
--- a/newlib/libc/machine/mn10300/memcpy.S
+++ b/newlib/libc/machine/mn10300/memcpy.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "memcpy.S"
 
  .section .text
diff --git a/newlib/libc/machine/mn10300/memset.S b/newlib/libc/machine/mn10300/memset.S
index a927a5ef6..0f38909bc 100644
--- a/newlib/libc/machine/mn10300/memset.S
+++ b/newlib/libc/machine/mn10300/memset.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "memset.S"
 
  .section .text
diff --git a/newlib/libc/machine/mn10300/setjmp.S b/newlib/libc/machine/mn10300/setjmp.S
index 144444980..fbf17c085 100644
--- a/newlib/libc/machine/mn10300/setjmp.S
+++ b/newlib/libc/machine/mn10300/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "setjmp.S"
 
  .section .text
diff --git a/newlib/libc/machine/mn10300/strchr.S b/newlib/libc/machine/mn10300/strchr.S
index 21d9dc10a..8d3626db2 100644
--- a/newlib/libc/machine/mn10300/strchr.S
+++ b/newlib/libc/machine/mn10300/strchr.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "strchr.S"
 
  .section .text
diff --git a/newlib/libc/machine/mn10300/strcmp.S b/newlib/libc/machine/mn10300/strcmp.S
index c9c245b8d..33724ef40 100644
--- a/newlib/libc/machine/mn10300/strcmp.S
+++ b/newlib/libc/machine/mn10300/strcmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "strcmp.S"
 
  .section .text
diff --git a/newlib/libc/machine/mn10300/strcpy.S b/newlib/libc/machine/mn10300/strcpy.S
index 8afb0e09f..03a495636 100644
--- a/newlib/libc/machine/mn10300/strcpy.S
+++ b/newlib/libc/machine/mn10300/strcpy.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "strcpy.S"
 
  .section .text
diff --git a/newlib/libc/machine/mn10300/strlen.S b/newlib/libc/machine/mn10300/strlen.S
index 62cc972cf..04faaedc7 100644
--- a/newlib/libc/machine/mn10300/strlen.S
+++ b/newlib/libc/machine/mn10300/strlen.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "strlen.S"
 
  .section .text
diff --git a/newlib/libc/machine/msp430/tiny-puts.c b/newlib/libc/machine/msp430/tiny-puts.c
index 6a59f23b0..c3c14d815 100644
--- a/newlib/libc/machine/msp430/tiny-puts.c
+++ b/newlib/libc/machine/msp430/tiny-puts.c
@@ -1,3 +1,16 @@
+/*
+Copyright (c) 2014-2017 Mentor Graphics.
+
+The authors hereby grant permission to use, copy, modify, distribute,
+and license this software and its documentation for any purpose, provided
+that existing copyright notices are retained in all copies and that this
+notice is included verbatim in any distributions. No written agreement,
+license, or royalty fee is required for any of the authorized uses.
+Modifications to this software may be copyrighted by their authors
+and need not follow the licensing terms described here, provided that
+the new terms are clearly indicated on the first page of each file where
+they apply.
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/newlib/libc/machine/mt/setjmp.S b/newlib/libc/machine/mt/setjmp.S
index e93bd3313..5ea583bee 100644
--- a/newlib/libc/machine/mt/setjmp.S
+++ b/newlib/libc/machine/mt/setjmp.S
@@ -1,3 +1,4 @@
+/* Copyright (c) 2005 Aldy Hernandez <[hidden email]> */
 # setjmp/longjmp for mt.
 #
 # The jmpbuf looks like this:
diff --git a/newlib/libc/machine/nds32/abort.c b/newlib/libc/machine/nds32/abort.c
index 5fa0b6e7f..5f150b278 100644
--- a/newlib/libc/machine/nds32/abort.c
+++ b/newlib/libc/machine/nds32/abort.c
@@ -1,4 +1,33 @@
 /*
+Copyright (c) 2013 Andes Technology Corporation.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+The name of the company may not be used to endorse or promote
+products derived from this software without specific prior written
+permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED.  IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
 FUNCTION
 <<abort>>---abnormal termination of a program
 
diff --git a/newlib/libc/machine/necv70/fastmath.S b/newlib/libc/machine/necv70/fastmath.S
index bccb20f12..d74383611 100644
--- a/newlib/libc/machine/necv70/fastmath.S
+++ b/newlib/libc/machine/necv70/fastmath.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .globl _fast_sin
 _fast_sin:
  fsin.l [ap],[ap]
diff --git a/newlib/libc/machine/necv70/machine/registers.h b/newlib/libc/machine/necv70/machine/registers.h
index 9f02ed30c..3908cd302 100644
--- a/newlib/libc/machine/necv70/machine/registers.h
+++ b/newlib/libc/machine/necv70/machine/registers.h
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 
 typedef struct
diff --git a/newlib/libc/machine/necv70/necv70.tex b/newlib/libc/machine/necv70/necv70.tex
index c7858c2dc..524ccb191 100644
--- a/newlib/libc/machine/necv70/necv70.tex
+++ b/newlib/libc/machine/necv70/necv70.tex
@@ -1,3 +1,19 @@
+#
+#Copyright (c) 1990 The Regents of the University of California.
+#All rights reserved.
+#
+#Redistribution and use in source and binary forms are permitted
+#provided that the above copyright notice and this paragraph are
+#duplicated in all such forms and that any documentation,
+#and/or other materials related to such
+#distribution and use acknowledge that the software was developed
+#by the University of California, Berkeley.  The name of the
+#University may not be used to endorse or promote products derived
+#from this software without specific prior written permission.
+#THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+#IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
 @node machine,,syscalls,Top
 @chapter NEC V70 Specific Functions
 
diff --git a/newlib/libc/machine/necv70/setjmp.S b/newlib/libc/machine/necv70/setjmp.S
index d8aca1dfb..5ab913857 100644
--- a/newlib/libc/machine/necv70/setjmp.S
+++ b/newlib/libc/machine/necv70/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .globl _setjmp
 _setjmp:
  mov.w [ap],r0
diff --git a/newlib/libc/machine/powerpc/atosfix16.c b/newlib/libc/machine/powerpc/atosfix16.c
index b069d71d1..14ccec53e 100644
--- a/newlib/libc/machine/powerpc/atosfix16.c
+++ b/newlib/libc/machine/powerpc/atosfix16.c
@@ -1,4 +1,18 @@
 /*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
    <<atosfix16>>, <<atosfix32>>, <<atosfix64>>---string to signed fixed-point
 
diff --git a/newlib/libc/machine/powerpc/atosfix32.c b/newlib/libc/machine/powerpc/atosfix32.c
index e1915b25a..8d2861d01 100644
--- a/newlib/libc/machine/powerpc/atosfix32.c
+++ b/newlib/libc/machine/powerpc/atosfix32.c
@@ -1,3 +1,17 @@
+/*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
 /*
  * Jeff Johnston - 02/13/2002
  */
diff --git a/newlib/libc/machine/powerpc/atosfix64.c b/newlib/libc/machine/powerpc/atosfix64.c
index 5340b1ee2..32b617527 100644
--- a/newlib/libc/machine/powerpc/atosfix64.c
+++ b/newlib/libc/machine/powerpc/atosfix64.c
@@ -1,3 +1,17 @@
+/*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
 /*
  * Jeff Johnston - 02/13/2002
  */
diff --git a/newlib/libc/machine/powerpc/atoufix16.c b/newlib/libc/machine/powerpc/atoufix16.c
index 4cc833862..330ebe7a3 100644
--- a/newlib/libc/machine/powerpc/atoufix16.c
+++ b/newlib/libc/machine/powerpc/atoufix16.c
@@ -1,4 +1,18 @@
 /*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
    <<atoufix16>>, <<atoufix32>>, <<atoufix64>>---string to unsigned fixed-point
 
diff --git a/newlib/libc/machine/powerpc/atoufix32.c b/newlib/libc/machine/powerpc/atoufix32.c
index aa2333af6..851153e31 100644
--- a/newlib/libc/machine/powerpc/atoufix32.c
+++ b/newlib/libc/machine/powerpc/atoufix32.c
@@ -1,3 +1,17 @@
+/*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
 /*
  * Jeff Johnston - 02/13/2002
  */
diff --git a/newlib/libc/machine/powerpc/atoufix64.c b/newlib/libc/machine/powerpc/atoufix64.c
index cf9517e95..969ed5128 100644
--- a/newlib/libc/machine/powerpc/atoufix64.c
+++ b/newlib/libc/machine/powerpc/atoufix64.c
@@ -1,3 +1,17 @@
+/*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
 /*
  * Jeff Johnston - 02/13/2002
  */
diff --git a/newlib/libc/machine/powerpc/fix64.h b/newlib/libc/machine/powerpc/fix64.h
index ce9482091..55ac52765 100644
--- a/newlib/libc/machine/powerpc/fix64.h
+++ b/newlib/libc/machine/powerpc/fix64.h
@@ -1,3 +1,17 @@
+/*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
 #ifndef _FIX64_H_
 
 #define _FIX64_H_
diff --git a/newlib/libc/machine/powerpc/machine/malloc.h b/newlib/libc/machine/powerpc/machine/malloc.h
index 32fbb268b..49277c867 100644
--- a/newlib/libc/machine/powerpc/machine/malloc.h
+++ b/newlib/libc/machine/powerpc/machine/malloc.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _MACHMALLOC_H_
 #define _MACHMALLOC_H_
 
diff --git a/newlib/libc/machine/powerpc/machine/stdlib.h b/newlib/libc/machine/powerpc/machine/stdlib.h
index 2db801092..de1e269ee 100644
--- a/newlib/libc/machine/powerpc/machine/stdlib.h
+++ b/newlib/libc/machine/powerpc/machine/stdlib.h
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 #ifndef _MACHSTDLIB_H_
 #define _MACHSTDLIB_H_
 
diff --git a/newlib/libc/machine/powerpc/setjmp.S b/newlib/libc/machine/powerpc/setjmp.S
index f327f31da..211578586 100644
--- a/newlib/libc/machine/powerpc/setjmp.S
+++ b/newlib/libc/machine/powerpc/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* This is a simple version of setjmp and longjmp for the PowerPC.
    Ian Lance Taylor, Cygnus Support, 9 Feb 1994.  
    Modified by Jeff Johnston, Red Hat Inc. 2 Oct 2001. */
diff --git a/newlib/libc/machine/powerpc/strtosfix16.c b/newlib/libc/machine/powerpc/strtosfix16.c
index 3fba45409..747b7ca9d 100644
--- a/newlib/libc/machine/powerpc/strtosfix16.c
+++ b/newlib/libc/machine/powerpc/strtosfix16.c
@@ -1,4 +1,18 @@
 /*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
         <<strtosfix16>>, <<strtosfix32>>, <<strtosfix64>>---string to signed fixed point
 
diff --git a/newlib/libc/machine/powerpc/strtosfix32.c b/newlib/libc/machine/powerpc/strtosfix32.c
index b21de9ea1..074c97096 100644
--- a/newlib/libc/machine/powerpc/strtosfix32.c
+++ b/newlib/libc/machine/powerpc/strtosfix32.c
@@ -1,3 +1,17 @@
+/*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
 #ifdef __SPE__
 
 #include <_ansi.h>
diff --git a/newlib/libc/machine/powerpc/strtosfix64.c b/newlib/libc/machine/powerpc/strtosfix64.c
index 16032128f..8b5422210 100644
--- a/newlib/libc/machine/powerpc/strtosfix64.c
+++ b/newlib/libc/machine/powerpc/strtosfix64.c
@@ -1,3 +1,17 @@
+/*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
 #ifdef __SPE__
 
 #include <_ansi.h>
diff --git a/newlib/libc/machine/powerpc/strtoufix16.c b/newlib/libc/machine/powerpc/strtoufix16.c
index 9b16268bb..799aa18cf 100644
--- a/newlib/libc/machine/powerpc/strtoufix16.c
+++ b/newlib/libc/machine/powerpc/strtoufix16.c
@@ -1,4 +1,18 @@
 /*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
         <<strtoufix16>>, <<strtoufix32>>, <<strtoufix64>>---string to signed fixed point
 
diff --git a/newlib/libc/machine/powerpc/strtoufix32.c b/newlib/libc/machine/powerpc/strtoufix32.c
index 7d03f8c9b..26f3b7272 100644
--- a/newlib/libc/machine/powerpc/strtoufix32.c
+++ b/newlib/libc/machine/powerpc/strtoufix32.c
@@ -1,3 +1,17 @@
+/*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
 #ifdef __SPE__
 
 #include <_ansi.h>
diff --git a/newlib/libc/machine/powerpc/strtoufix64.c b/newlib/libc/machine/powerpc/strtoufix64.c
index a2f0484b3..7e86db758 100644
--- a/newlib/libc/machine/powerpc/strtoufix64.c
+++ b/newlib/libc/machine/powerpc/strtoufix64.c
@@ -1,3 +1,17 @@
+/*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
 #ifdef __SPE__
 
 #include <_ansi.h>
diff --git a/newlib/libc/machine/powerpc/ufix64toa.c b/newlib/libc/machine/powerpc/ufix64toa.c
index c829b9b33..57b1d3dc8 100644
--- a/newlib/libc/machine/powerpc/ufix64toa.c
+++ b/newlib/libc/machine/powerpc/ufix64toa.c
@@ -1,3 +1,17 @@
+/*
+Copyright (c) 1984,2000 S.L. Moshier
+
+Permission to use, copy, modify, and distribute this software for any
+purpose without fee is hereby granted, provided that this entire notice
+is included in all copies of any software which is or includes a copy
+or modification of this software and in all copies of the supporting
+documentation for such software.
+
+THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
+OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ */
 /* _ufix64toa_r: convert unsigned 64-bit fixed point to ASCII string.
  *
  * This routine converts an unsigned fixed-point number to long double format and
diff --git a/newlib/libc/machine/powerpc/vec_calloc.c b/newlib/libc/machine/powerpc/vec_calloc.c
index 7a90d571c..f6a57059b 100644
--- a/newlib/libc/machine/powerpc/vec_calloc.c
+++ b/newlib/libc/machine/powerpc/vec_calloc.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
 <<vec_calloc>>---allocate space for arrays
 
diff --git a/newlib/libc/machine/powerpc/vec_free.c b/newlib/libc/machine/powerpc/vec_free.c
index c893e5ab4..b4ee7f143 100644
--- a/newlib/libc/machine/powerpc/vec_free.c
+++ b/newlib/libc/machine/powerpc/vec_free.c
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* vec_free.c - a wrapper for _free_r */
 #include <_ansi.h>
 #include <reent.h>
diff --git a/newlib/libc/machine/powerpc/vec_malloc.c b/newlib/libc/machine/powerpc/vec_malloc.c
index b62fe0762..89fc84369 100644
--- a/newlib/libc/machine/powerpc/vec_malloc.c
+++ b/newlib/libc/machine/powerpc/vec_malloc.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
 <<vec_malloc>>, <<vec_realloc>>, <<vec_free>>---manage vector memory
 
diff --git a/newlib/libc/machine/powerpc/vec_mallocr.c b/newlib/libc/machine/powerpc/vec_mallocr.c
index c375c8be2..2971b04a2 100644
--- a/newlib/libc/machine/powerpc/vec_mallocr.c
+++ b/newlib/libc/machine/powerpc/vec_mallocr.c
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* This code is based on mallocr.c written by Doug Lea which is released
    to the public domain.  Any changes to libc/stdlib/mallocr.c
    should be reflected here as well.    */
diff --git a/newlib/libc/machine/powerpc/vec_realloc.c b/newlib/libc/machine/powerpc/vec_realloc.c
index db6f32060..c8be4feb8 100644
--- a/newlib/libc/machine/powerpc/vec_realloc.c
+++ b/newlib/libc/machine/powerpc/vec_realloc.c
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* vec_realloc.c -- a wrapper for _vec_realloc_r.  */
 
 #include <_ansi.h>
diff --git a/newlib/libc/machine/rx/memchr.S b/newlib/libc/machine/rx/memchr.S
index cdc97c874..499e836c0 100644
--- a/newlib/libc/machine/rx/memchr.S
+++ b/newlib/libc/machine/rx/memchr.S
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Nick Clifton <[hidden email]> */
  .file "memchr.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/memcpy.S b/newlib/libc/machine/rx/memcpy.S
index eb671c0ae..e029fc56c 100644
--- a/newlib/libc/machine/rx/memcpy.S
+++ b/newlib/libc/machine/rx/memcpy.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "memcpy.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/memmove.S b/newlib/libc/machine/rx/memmove.S
index 60b76836b..09e2b04a6 100644
--- a/newlib/libc/machine/rx/memmove.S
+++ b/newlib/libc/machine/rx/memmove.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "memmove.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/mempcpy.S b/newlib/libc/machine/rx/mempcpy.S
index f82452462..c59ffee16 100644
--- a/newlib/libc/machine/rx/mempcpy.S
+++ b/newlib/libc/machine/rx/mempcpy.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "mempcpy.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/memset.S b/newlib/libc/machine/rx/memset.S
index 5ce7a3bca..984a27b71 100644
--- a/newlib/libc/machine/rx/memset.S
+++ b/newlib/libc/machine/rx/memset.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "memset.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/setjmp.S b/newlib/libc/machine/rx/setjmp.S
index bccc50328..0c285d375 100644
--- a/newlib/libc/machine/rx/setjmp.S
+++ b/newlib/libc/machine/rx/setjmp.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
 # setjmp/longjmp for Renesas RX.
 #
 # The jmpbuf looks like this:
diff --git a/newlib/libc/machine/rx/strcat.S b/newlib/libc/machine/rx/strcat.S
index 22533fc8d..6f678925e 100644
--- a/newlib/libc/machine/rx/strcat.S
+++ b/newlib/libc/machine/rx/strcat.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "strcat.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/strcmp.S b/newlib/libc/machine/rx/strcmp.S
index 6a06e6c9d..c945f0899 100644
--- a/newlib/libc/machine/rx/strcmp.S
+++ b/newlib/libc/machine/rx/strcmp.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "strcmp.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/strcpy.S b/newlib/libc/machine/rx/strcpy.S
index 05766ccef..742c9c25d 100644
--- a/newlib/libc/machine/rx/strcpy.S
+++ b/newlib/libc/machine/rx/strcpy.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "strcpy.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/strlen.S b/newlib/libc/machine/rx/strlen.S
index bf12c0ce1..172b51529 100644
--- a/newlib/libc/machine/rx/strlen.S
+++ b/newlib/libc/machine/rx/strlen.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "strlen.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/strncat.S b/newlib/libc/machine/rx/strncat.S
index ba544a43a..76522e0a1 100644
--- a/newlib/libc/machine/rx/strncat.S
+++ b/newlib/libc/machine/rx/strncat.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "strncat.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/strncmp.S b/newlib/libc/machine/rx/strncmp.S
index 4be8076db..d2aaec565 100644
--- a/newlib/libc/machine/rx/strncmp.S
+++ b/newlib/libc/machine/rx/strncmp.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "strncmp.S"
 
  .section .text
diff --git a/newlib/libc/machine/rx/strncpy.S b/newlib/libc/machine/rx/strncpy.S
index e5b6a83ac..bb51f8d05 100644
--- a/newlib/libc/machine/rx/strncpy.S
+++ b/newlib/libc/machine/rx/strncpy.S
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2009 Nick Clifton <[hidden email]>
+ */
  .file "strncpy.S"
 
  .section .text
diff --git a/newlib/libc/machine/sh/asm.h b/newlib/libc/machine/sh/asm.h
index db30b149b..fb292f7d7 100644
--- a/newlib/libc/machine/sh/asm.h
+++ b/newlib/libc/machine/sh/asm.h
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #ifdef __STDC__
 # define _C_LABEL(x)    _ ## x
 #else
diff --git a/newlib/libc/machine/sh/memcpy.S b/newlib/libc/machine/sh/memcpy.S
index 56e6c6f43..7d075785e 100644
--- a/newlib/libc/machine/sh/memcpy.S
+++ b/newlib/libc/machine/sh/memcpy.S
@@ -3,7 +3,7 @@
 !
 ! by Toshiyasu Morita ([hidden email])
 ! hacked by J"orn Rernnecke ([hidden email]) ("o for o-umlaut)
-! SH5 code Copyright 2002 SuperH Ltd.
+/* SH5 code Copyright 2002 SuperH Ltd. */
 !
 ! Entry: ARG0: destination pointer
 !        ARG1: source pointer
diff --git a/newlib/libc/machine/sh/memset.S b/newlib/libc/machine/sh/memset.S
index 2b45aff36..2803fc86b 100644
--- a/newlib/libc/machine/sh/memset.S
+++ b/newlib/libc/machine/sh/memset.S
@@ -4,7 +4,7 @@
 ! by Toshiyasu Morita ([hidden email])
 !
 ! SH5 code by J"orn Rennecke ([hidden email])
-! Copyright 2002 SuperH Ltd.
+/* Copyright 2002 SuperH Ltd. */
 !
 
 #include "asm.h"
diff --git a/newlib/libc/machine/sh/setjmp.S b/newlib/libc/machine/sh/setjmp.S
index 520218f23..2f0e67bb3 100644
--- a/newlib/libc/machine/sh/setjmp.S
+++ b/newlib/libc/machine/sh/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* We want to pretend we're in SHmedia mode, even when assembling for
    SHcompact.  */
 #if __SH5__ == 32 && ! __SHMEDIA__
diff --git a/newlib/libc/machine/sh/strcmp.S b/newlib/libc/machine/sh/strcmp.S
index 8dcc20b0c..14040d241 100644
--- a/newlib/libc/machine/sh/strcmp.S
+++ b/newlib/libc/machine/sh/strcmp.S
@@ -1,4 +1,4 @@
-! SH5 code Copyright 2002 SuperH Ltd.
+/* SH5 code Copyright 2002 SuperH Ltd. */
 
 #include "asm.h"
 
diff --git a/newlib/libc/machine/sh/strcpy.S b/newlib/libc/machine/sh/strcpy.S
index da951cd03..0bc54f9b1 100644
--- a/newlib/libc/machine/sh/strcpy.S
+++ b/newlib/libc/machine/sh/strcpy.S
@@ -2,7 +2,7 @@
 !        arg1: source
 ! Exit:  result: destination
 !
-! SH5 code Copyright 2002 SuperH Ltd.
+/* SH5 code Copyright 2002 SuperH Ltd. */
 
 #include "asm.h"
 
diff --git a/newlib/libc/machine/sh/strlen.S b/newlib/libc/machine/sh/strlen.S
index b55b86b79..77a8f0770 100644
--- a/newlib/libc/machine/sh/strlen.S
+++ b/newlib/libc/machine/sh/strlen.S
@@ -1,7 +1,7 @@
 ! Entry: arg0: string start address
 ! Exit:  result: length
 !
-! Copyright 2002 SuperH Ltd.
+/* Copyright 2002 SuperH Ltd. */
 
 #include "asm.h"
 
diff --git a/newlib/libc/machine/sparc/machine/sparclet.h b/newlib/libc/machine/sparc/machine/sparclet.h
index 34a0e82ff..23cc54aa9 100644
--- a/newlib/libc/machine/sparc/machine/sparclet.h
+++ b/newlib/libc/machine/sparc/machine/sparclet.h
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Various stuff for the sparclet processor.
 
    This file is in the public domain.  */
diff --git a/newlib/libc/machine/sparc/scan.c b/newlib/libc/machine/sparc/scan.c
index d76c0b95f..f0db37b2a 100644
--- a/newlib/libc/machine/sparc/scan.c
+++ b/newlib/libc/machine/sparc/scan.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Cover function to sparclet `scan' instruction.
 
    This file is in the public domain.  */
diff --git a/newlib/libc/machine/sparc/shuffle.c b/newlib/libc/machine/sparc/shuffle.c
index 2c2ec1cd2..0b74caa0a 100644
--- a/newlib/libc/machine/sparc/shuffle.c
+++ b/newlib/libc/machine/sparc/shuffle.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Cover function to sparclet `shuffle' instruction.
 
    This file is in the public domain.  */
diff --git a/newlib/libc/machine/spu/assert.c b/newlib/libc/machine/spu/assert.c
index 90e94eb5d..914daf170 100644
--- a/newlib/libc/machine/spu/assert.c
+++ b/newlib/libc/machine/spu/assert.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2008 Patrick Mansfield <[hidden email]> */
 #include <assert.h>
 #include <stdlib.h>
 #include <stdio.h>
diff --git a/newlib/libc/machine/spu/creat.c b/newlib/libc/machine/spu/creat.c
index 5b8c603f5..20943209f 100644
--- a/newlib/libc/machine/spu/creat.c
+++ b/newlib/libc/machine/spu/creat.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Patrick Mansfield <[hidden email]> */
 /* creat() "system call" */
 
 /* copied from libc/posix/creat.c */
diff --git a/newlib/libc/machine/spu/impure.c b/newlib/libc/machine/spu/impure.c
index f9c86efdc..3ed751e32 100644
--- a/newlib/libc/machine/spu/impure.c
+++ b/newlib/libc/machine/spu/impure.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2008 Patrick Mansfield <[hidden email]> */
 #include <reent.h>
 
 /* Note that there is a copy of this in sys/reent.h.  */
diff --git a/newlib/libc/machine/spu/perror.c b/newlib/libc/machine/spu/perror.c
index eae1419a1..628f2b561 100644
--- a/newlib/libc/machine/spu/perror.c
+++ b/newlib/libc/machine/spu/perror.c
@@ -1,3 +1,32 @@
+/*
+Copyright IBM Corp. 2006
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+Neither the name of IBM nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 #include <stdio.h>
 #include <errno.h>
 
diff --git a/newlib/libc/machine/spu/putchar.c b/newlib/libc/machine/spu/putchar.c
index 67eb59976..ba1f38f4b 100644
--- a/newlib/libc/machine/spu/putchar.c
+++ b/newlib/libc/machine/spu/putchar.c
@@ -1,3 +1,32 @@
+/*
+Copyright IBM Corp. 2006
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+Neither the name of IBM nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 #include <stdio.h>
 
 #include "c99ppe.h"
diff --git a/newlib/libc/machine/spu/puts.c b/newlib/libc/machine/spu/puts.c
index 27bd2bd52..1aa089dc7 100644
--- a/newlib/libc/machine/spu/puts.c
+++ b/newlib/libc/machine/spu/puts.c
@@ -1,3 +1,32 @@
+/*
+Copyright IBM Corp. 2006
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+Neither the name of IBM nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 #include <stdio.h>
 
 #include "c99ppe.h"
diff --git a/newlib/libc/machine/spu/sleep.c b/newlib/libc/machine/spu/sleep.c
index f3aa97954..a893a7ff0 100644
--- a/newlib/libc/machine/spu/sleep.c
+++ b/newlib/libc/machine/spu/sleep.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2008 Patrick Mansfield <[hidden email]> */
 /* Copied from libc/posix/sleep.c, removed the check for HAVE_NANOSLEEP */
 
 /* Written 2000 by Werner Almesberger */
diff --git a/newlib/libc/machine/spu/sys/custom_file.h b/newlib/libc/machine/spu/sys/custom_file.h
index 60c0d2309..b9b4829bf 100644
--- a/newlib/libc/machine/spu/sys/custom_file.h
+++ b/newlib/libc/machine/spu/sys/custom_file.h
@@ -1,3 +1,32 @@
+/*
+Copyright IBM Corp. 2006
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+Neither the name of IBM nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 #ifndef __CUSTOM_FILE_H__
 #define __CUSTOM_FILE_H__ 1
 
diff --git a/newlib/libc/machine/spu/sys/errno.h b/newlib/libc/machine/spu/sys/errno.h
index ef087bd68..c9f106288 100644
--- a/newlib/libc/machine/spu/sys/errno.h
+++ b/newlib/libc/machine/spu/sys/errno.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Patrick Mansfield <[hidden email]> */
 /*
  * The SPU must have these values match those on the PPU linux side, so
  * the assisted calls (system or library ones) that set errno will use the
diff --git a/newlib/libc/machine/spu/sys/sched.h b/newlib/libc/machine/spu/sys/sched.h
index 60d95c925..5147d9988 100644
--- a/newlib/libc/machine/spu/sys/sched.h
+++ b/newlib/libc/machine/spu/sys/sched.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Patrick Mansfield <[hidden email]> */
 #ifndef _SYS_SCHED_H
 #define _SYS_SCHED_H
 #ifdef __cplusplus
diff --git a/newlib/libc/machine/spu/sys/syscall.h b/newlib/libc/machine/spu/sys/syscall.h
index caac53105..7f49ca1c8 100644
--- a/newlib/libc/machine/spu/sys/syscall.h
+++ b/newlib/libc/machine/spu/sys/syscall.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Patrick Mansfield <[hidden email]> */
 #ifndef _SYS_SYSCALL_H
 #define _SYS_SYSCALL_H
 #ifdef __cplusplus
diff --git a/newlib/libc/machine/spu/sys/uio.h b/newlib/libc/machine/spu/sys/uio.h
index 9ed1549f3..26101df9d 100644
--- a/newlib/libc/machine/spu/sys/uio.h
+++ b/newlib/libc/machine/spu/sys/uio.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Patrick Mansfield <[hidden email]> */
 #ifndef _SYS_UIO_H
 #define _SYS_UIO_H
 
diff --git a/newlib/libc/machine/spu/sys/utime.h b/newlib/libc/machine/spu/sys/utime.h
index 18731a179..a56083853 100644
--- a/newlib/libc/machine/spu/sys/utime.h
+++ b/newlib/libc/machine/spu/sys/utime.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Patrick Mansfield <[hidden email]> */
 #ifndef _SYS_UTIME_H
 #define _SYS_UTIME_H
 
diff --git a/newlib/libc/machine/spu/usleep.c b/newlib/libc/machine/spu/usleep.c
index c587f3141..9bf2ce975 100644
--- a/newlib/libc/machine/spu/usleep.c
+++ b/newlib/libc/machine/spu/usleep.c
@@ -1,6 +1,6 @@
 /* Copied from libc/posix/usleep.c, removed the check for HAVE_NANOSLEEP */
 
-/* Written 2002 by Jeff Johnston */
+/* Copyright (c) 2002 by Jeff Johnston */
 
 #include <errno.h>
 #include <time.h>
diff --git a/newlib/libc/machine/spu/vfiprintf.c b/newlib/libc/machine/spu/vfiprintf.c
index 83394a6bc..2c8f37367 100644
--- a/newlib/libc/machine/spu/vfiprintf.c
+++ b/newlib/libc/machine/spu/vfiprintf.c
@@ -1,2 +1,5 @@
+/*
+Copyright (c) 2007 Kazunori Asayama <[hidden email]>
+ */
 #define INTEGER_ONLY
 #include "vfprintf.c"
diff --git a/newlib/libc/machine/spu/vfiscanf.c b/newlib/libc/machine/spu/vfiscanf.c
index 261122ed0..d5b99edf6 100644
--- a/newlib/libc/machine/spu/vfiscanf.c
+++ b/newlib/libc/machine/spu/vfiscanf.c
@@ -1,2 +1,5 @@
+/*
+Copyright (c) 2007 Kazunori Asayama <[hidden email]>
+ */
 #define INTEGER_ONLY
 #include "vfscanf.c"
diff --git a/newlib/libc/machine/spu/viprintf.c b/newlib/libc/machine/spu/viprintf.c
index f0753ff2f..c439c3dbc 100644
--- a/newlib/libc/machine/spu/viprintf.c
+++ b/newlib/libc/machine/spu/viprintf.c
@@ -1,2 +1,3 @@
+/* Copyright (c) 2007 Kazunori Asayama <[hidden email]> */
 #define INTEGER_ONLY
 #include "vprintf.c"
diff --git a/newlib/libc/machine/spu/viscanf.c b/newlib/libc/machine/spu/viscanf.c
index 4e239e319..df3b8401b 100644
--- a/newlib/libc/machine/spu/viscanf.c
+++ b/newlib/libc/machine/spu/viscanf.c
@@ -1,2 +1,5 @@
+/*
+Copyright (c) 2007 Kazunori Asayama <[hidden email]>
+ */
 #define INTEGER_ONLY
 #include "vscanf.c"
diff --git a/newlib/libc/machine/spu/vprintf.c b/newlib/libc/machine/spu/vprintf.c
index de98c0a33..40c4937aa 100644
--- a/newlib/libc/machine/spu/vprintf.c
+++ b/newlib/libc/machine/spu/vprintf.c
@@ -1,3 +1,32 @@
+/*
+Copyright IBM Corp. 2006
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+Neither the name of IBM nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 #include <_ansi.h>
 #include <stdio.h>
 
diff --git a/newlib/libc/machine/spu/vsiprintf.c b/newlib/libc/machine/spu/vsiprintf.c
index fbd64e4d7..70fb03e96 100644
--- a/newlib/libc/machine/spu/vsiprintf.c
+++ b/newlib/libc/machine/spu/vsiprintf.c
@@ -1,2 +1,5 @@
+/*
+Copyright (c) 2007 Kazunori Asayama <[hidden email]>
+ */
 #define INTEGER_ONLY
 #include "vsprintf.c"
diff --git a/newlib/libc/machine/spu/vsiscanf.c b/newlib/libc/machine/spu/vsiscanf.c
index 73a44cded..84abdb942 100644
--- a/newlib/libc/machine/spu/vsiscanf.c
+++ b/newlib/libc/machine/spu/vsiscanf.c
@@ -1,2 +1,5 @@
+/*
+Copyright (c) 2007 Kazunori Asayama <[hidden email]>
+ */
 #define INTEGER_ONLY
 #include "vsscanf.c"
diff --git a/newlib/libc/machine/spu/vsniprintf.c b/newlib/libc/machine/spu/vsniprintf.c
index fb6f641ad..e1c45333d 100644
--- a/newlib/libc/machine/spu/vsniprintf.c
+++ b/newlib/libc/machine/spu/vsniprintf.c
@@ -1,2 +1,5 @@
+/*
+Copyright (c) 2007 Kazunori Asayama <[hidden email]>
+ */
 #define INTEGER_ONLY
 #include "vsnprintf.c"
diff --git a/newlib/libc/machine/spu/vsnprintf.c b/newlib/libc/machine/spu/vsnprintf.c
index 298165f5a..d1315b45a 100644
--- a/newlib/libc/machine/spu/vsnprintf.c
+++ b/newlib/libc/machine/spu/vsnprintf.c
@@ -1,3 +1,32 @@
+/*
+Copyright IBM Corp. 2006
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+Neither the name of IBM nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 #include <_ansi.h>
 #include <stdio.h>
 
diff --git a/newlib/libc/machine/spu/vsprintf.c b/newlib/libc/machine/spu/vsprintf.c
index 8317a6636..0f9d3d076 100644
--- a/newlib/libc/machine/spu/vsprintf.c
+++ b/newlib/libc/machine/spu/vsprintf.c
@@ -1,3 +1,32 @@
+/*
+Copyright IBM Corp. 2006
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+Neither the name of IBM nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 
 #include <_ansi.h>
 #include <stdio.h>
diff --git a/newlib/libc/machine/tic4x/setjmp.S b/newlib/libc/machine/tic4x/setjmp.S
index d6e8d2573..f8b6911c8 100644
--- a/newlib/libc/machine/tic4x/setjmp.S
+++ b/newlib/libc/machine/tic4x/setjmp.S
@@ -1,6 +1,5 @@
-/* setjmp/longjmp routines.
- *
- * Written by Michael Hayes <[hidden email]>.
+/*
+ * Copyright (c) 2004 Michael Hayes <[hidden email]>.
  *
  * The author hereby grant permission to use, copy, modify, distribute,
  * and license this software and its documentation for any purpose, provided
@@ -12,6 +11,7 @@
  * the new terms are clearly indicated on the first page of each file where
  * they apply.
  */
+/* setjmp/longjmp routines. */
 
  .sect .text
  .global setjmp
diff --git a/newlib/libc/machine/tic6x/setjmp.S b/newlib/libc/machine/tic6x/setjmp.S
index cd40d5805..edf61b962 100644
--- a/newlib/libc/machine/tic6x/setjmp.S
+++ b/newlib/libc/machine/tic6x/setjmp.S
@@ -1,7 +1,7 @@
 ;******************************************************************************
 ;* SETJMP  v7.2.0I10181                                                       *
 ;*                                                                            *
-;* Copyright (c) 1996-2010 Texas Instruments Incorporated                     *
+;/* Copyright (c) 1996-2010 Texas Instruments Incorporated                    */
 ;* http://www.ti.com/                                                         *
 ;*                                                                            *
 ;*  Redistribution and  use in source  and binary forms, with  or without     *
diff --git a/newlib/libc/machine/tic80/setjmp.S b/newlib/libc/machine/tic80/setjmp.S
index 1946344a5..8be640039 100644
--- a/newlib/libc/machine/tic80/setjmp.S
+++ b/newlib/libc/machine/tic80/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* These are predefined by new versions of GNU cpp.  */
 
 #ifndef __USER_LABEL_PREFIX__
diff --git a/newlib/libc/machine/v850/setjmp.S b/newlib/libc/machine/v850/setjmp.S
index 4b0153749..2fdd3eee8 100644
--- a/newlib/libc/machine/v850/setjmp.S
+++ b/newlib/libc/machine/v850/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .file "setjmp.S"
 
  .section .text
diff --git a/newlib/libc/machine/w65/cmpsi.c b/newlib/libc/machine/w65/cmpsi.c
index 3773c9d2e..4e0e4c783 100644
--- a/newlib/libc/machine/w65/cmpsi.c
+++ b/newlib/libc/machine/w65/cmpsi.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 union u {
   struct {
diff --git a/newlib/libc/machine/w65/divsi3.c b/newlib/libc/machine/w65/divsi3.c
index bf749923c..b8357df5a 100644
--- a/newlib/libc/machine/w65/divsi3.c
+++ b/newlib/libc/machine/w65/divsi3.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 #define divnorm(num, den, sign) \
 { \
diff --git a/newlib/libc/machine/w65/lshrhi.S b/newlib/libc/machine/w65/lshrhi.S
index 564229f57..baa34fe7d 100755
--- a/newlib/libc/machine/w65/lshrhi.S
+++ b/newlib/libc/machine/w65/lshrhi.S
@@ -1,5 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
 
-
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .global ___lshrhi15
 ___lshrhi15:
  lsr a
diff --git a/newlib/libc/machine/w65/mulsi3.c b/newlib/libc/machine/w65/mulsi3.c
index b48fe97ac..19b9706de 100644
--- a/newlib/libc/machine/w65/mulsi3.c
+++ b/newlib/libc/machine/w65/mulsi3.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 
 
 long
diff --git a/newlib/libc/machine/w65/sdivhi3.S b/newlib/libc/machine/w65/sdivhi3.S
index 7958f11e7..cb5c7915f 100755
--- a/newlib/libc/machine/w65/sdivhi3.S
+++ b/newlib/libc/machine/w65/sdivhi3.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .global ___sdivhi3
 
 ___sdivhi3:
diff --git a/newlib/libc/machine/w65/smulhi3.S b/newlib/libc/machine/w65/smulhi3.S
index 6ccbfba01..f49f690b7 100755
--- a/newlib/libc/machine/w65/smulhi3.S
+++ b/newlib/libc/machine/w65/smulhi3.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .global ___smulhi3
 ___smulhi3:
 
diff --git a/newlib/libc/machine/w65/udivhi3.S b/newlib/libc/machine/w65/udivhi3.S
index 07d091e80..8a9fa3739 100755
--- a/newlib/libc/machine/w65/udivhi3.S
+++ b/newlib/libc/machine/w65/udivhi3.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .global ___udivhi3
 
 ___udivhi3:
diff --git a/newlib/libc/machine/w65/umodhi3.S b/newlib/libc/machine/w65/umodhi3.S
index 1d12df524..45287cb2b 100755
--- a/newlib/libc/machine/w65/umodhi3.S
+++ b/newlib/libc/machine/w65/umodhi3.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .global ___umodhi3
 
 ___umodhi3:
diff --git a/newlib/libc/machine/x86_64/x86_64mach.h b/newlib/libc/machine/x86_64/x86_64mach.h
index 05e639200..7206d3481 100644
--- a/newlib/libc/machine/x86_64/x86_64mach.h
+++ b/newlib/libc/machine/x86_64/x86_64mach.h
@@ -1,3 +1,10 @@
+/*
+Copyright (C) 2007 by Ellips BV. All rights reserved.
+
+Permission to use, copy, modify, and distribute this
+software is freely granted, provided that this notice
+is preserved.
+ */
 /*
  ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
  ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/newlib/libc/machine/xscale/memchr.c b/newlib/libc/machine/xscale/memchr.c
index 9bf18268b..92ffbb113 100644
--- a/newlib/libc/machine/xscale/memchr.c
+++ b/newlib/libc/machine/xscale/memchr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2000 Nick Clifton <[hidden email]> */
 #if defined __thumb__
 
 #include "../../string/memchr.c"
diff --git a/newlib/libc/machine/xscale/memcmp.c b/newlib/libc/machine/xscale/memcmp.c
index 1eba4b8dd..f5f2281ac 100644
--- a/newlib/libc/machine/xscale/memcmp.c
+++ b/newlib/libc/machine/xscale/memcmp.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2000 Nick Clifton <[hidden email]> */
 #if defined __thumb__
 
 #include "../../string/memcmp.c"
diff --git a/newlib/libc/machine/xscale/memcpy.c b/newlib/libc/machine/xscale/memcpy.c
index 20758e159..abbbc1e61 100644
--- a/newlib/libc/machine/xscale/memcpy.c
+++ b/newlib/libc/machine/xscale/memcpy.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2000 Nick Clifton <[hidden email]>
+ */
 #if defined __thumb__
 
 #include "../../string/memcpy.c"
diff --git a/newlib/libc/machine/xscale/memmove.c b/newlib/libc/machine/xscale/memmove.c
index 04d1a14d2..9ec6d75fc 100644
--- a/newlib/libc/machine/xscale/memmove.c
+++ b/newlib/libc/machine/xscale/memmove.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2000 Nick Clifton <[hidden email]>
+ */
 #if defined __thumb__
 
 #include "../../string/memmove.c"
diff --git a/newlib/libc/machine/xscale/memset.c b/newlib/libc/machine/xscale/memset.c
index 8fab2a7d1..619f8205f 100644
--- a/newlib/libc/machine/xscale/memset.c
+++ b/newlib/libc/machine/xscale/memset.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2000 Nick Clifton <[hidden email]>
+ */
 #if defined __thumb__
 
 #include "../../string/memset.c"
diff --git a/newlib/libc/machine/xscale/setjmp.S b/newlib/libc/machine/xscale/setjmp.S
index d37486090..2c23b6969 100644
--- a/newlib/libc/machine/xscale/setjmp.S
+++ b/newlib/libc/machine/xscale/setjmp.S
@@ -1,6 +1,6 @@
 /* This is a simple version of setjmp and longjmp.
 
-   Nick Clifton, Cygnus Solutions, 13 June 1997.  */
+   Copyright (c) 1997 Nick Clifton, Cygnus Solutions  */
 
 /* ANSI concatenation macros.  */
 #define CONCAT(a, b)  CONCAT2(a, b)
diff --git a/newlib/libc/machine/xscale/strchr.c b/newlib/libc/machine/xscale/strchr.c
index 3b736c53c..d37020f93 100644
--- a/newlib/libc/machine/xscale/strchr.c
+++ b/newlib/libc/machine/xscale/strchr.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2000 Nick Clifton <[hidden email]>
+ */
 #if defined __thumb__
 
 #include "../../string/strchr.c"
diff --git a/newlib/libc/machine/xscale/strcmp.c b/newlib/libc/machine/xscale/strcmp.c
index 6c94d126f..8abffb65b 100644
--- a/newlib/libc/machine/xscale/strcmp.c
+++ b/newlib/libc/machine/xscale/strcmp.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2000 Nick Clifton <[hidden email]>
+ */
 #if defined __thumb__
 
 #include "../../string/strcmp.c"
diff --git a/newlib/libc/machine/xscale/strcpy.c b/newlib/libc/machine/xscale/strcpy.c
index 46db2ba6a..a25f1a714 100644
--- a/newlib/libc/machine/xscale/strcpy.c
+++ b/newlib/libc/machine/xscale/strcpy.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2000 Nick Clifton <[hidden email]>
+ */
 #if defined __thumb__
 
 #include "../../string/strcpy.c"
diff --git a/newlib/libc/machine/xscale/strlen.c b/newlib/libc/machine/xscale/strlen.c
index 70c9a3b44..6d33bd5ed 100644
--- a/newlib/libc/machine/xscale/strlen.c
+++ b/newlib/libc/machine/xscale/strlen.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2000 Nick Clifton <[hidden email]>
+ */
 #if defined __thumb__ || defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
 
 #include "../../string/strlen.c"
diff --git a/newlib/libc/machine/xscale/xscale.h b/newlib/libc/machine/xscale/xscale.h
index c127e6653..7e75f0798 100644
--- a/newlib/libc/machine/xscale/xscale.h
+++ b/newlib/libc/machine/xscale/xscale.h
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2000 Nick Clifton <[hidden email]>
+ */
 #ifndef __XSCALE_MACH_H__
 #define __XSCALE_MACH_H__
 
diff --git a/newlib/libc/machine/xstormy16/mallocr.c b/newlib/libc/machine/xstormy16/mallocr.c
index 07be53039..f470bd610 100644
--- a/newlib/libc/machine/xstormy16/mallocr.c
+++ b/newlib/libc/machine/xstormy16/mallocr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Geoffrey Keating <[hidden email]> */
 #include <malloc.h>
 
 #ifdef DEFINE_MALLOC
diff --git a/newlib/libc/machine/xstormy16/tiny-malloc.c b/newlib/libc/machine/xstormy16/tiny-malloc.c
index 597e389dc..007e63178 100644
--- a/newlib/libc/machine/xstormy16/tiny-malloc.c
+++ b/newlib/libc/machine/xstormy16/tiny-malloc.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Geoffrey Keating <[hidden email]> */
 /* A replacement malloc with:
    - Much reduced code size;
    - Smaller RAM footprint;
diff --git a/newlib/libc/machine/z8k/args.h b/newlib/libc/machine/z8k/args.h
index 3f6062483..84a248c9a 100644
--- a/newlib/libc/machine/z8k/args.h
+++ b/newlib/libc/machine/z8k/args.h
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #ifdef __Z8001__
 
 segm
diff --git a/newlib/libc/machine/z8k/setjmp.S b/newlib/libc/machine/z8k/setjmp.S
index 30240e1e8..33fbeddf4 100644
--- a/newlib/libc/machine/z8k/setjmp.S
+++ b/newlib/libc/machine/z8k/setjmp.S
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
  .global _setjmp
  .global _longjmp
 
--
2.25.0


Reply | Threaded
Open this post in threaded view
|

[PATCH 10/27] Add missing copyrights in newlib/libc/misc

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/misc/__dprintf.c | 28 ++++++++++++++++++++++++++++
 newlib/libc/misc/ffs.c       | 28 ++++++++++++++++++++++++++++
 newlib/libc/misc/lock.c      |  1 +
 newlib/libc/misc/misc.tex    | 28 ++++++++++++++++++++++++++++
 4 files changed, 85 insertions(+)

diff --git a/newlib/libc/misc/__dprintf.c b/newlib/libc/misc/__dprintf.c
index 31454f4c2..2b5f442ea 100644
--- a/newlib/libc/misc/__dprintf.c
+++ b/newlib/libc/misc/__dprintf.c
@@ -1,3 +1,31 @@
+/*
+ * Copyright (c) 1990 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
 /* Debugging printf, for debugging the library itself.
 
    We don't assume stdio is working.
diff --git a/newlib/libc/misc/ffs.c b/newlib/libc/misc/ffs.c
index 068f25481..5abe0baf5 100644
--- a/newlib/libc/misc/ffs.c
+++ b/newlib/libc/misc/ffs.c
@@ -1,4 +1,32 @@
 /*
+Copyright (c) 1981, 1993
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<ffs>>---find first bit set in a word
 
diff --git a/newlib/libc/misc/lock.c b/newlib/libc/misc/lock.c
index 545511e78..5ee269b16 100644
--- a/newlib/libc/misc/lock.c
+++ b/newlib/libc/misc/lock.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Thomas Preud'homme <[hidden email]> */
 /*
 FUNCTION
 <<__retarget_lock_init>>, <<__retarget_lock_init_recursive>>, <<__retarget_lock_close>>, <<__retarget_lock_close_recursive>>, <<__retarget_lock_acquire>>, <<__retarget_lock_acquire_recursive>>, <<__retarget_lock_try_acquire>>, <<__retarget_lock_try_acquire_recursive>>, <<__retarget_lock_release>>, <<__retarget_lock_release_recursive>>---locking routines
diff --git a/newlib/libc/misc/misc.tex b/newlib/libc/misc/misc.tex
index 248243b53..f400d3faa 100644
--- a/newlib/libc/misc/misc.tex
+++ b/newlib/libc/misc/misc.tex
@@ -1,3 +1,31 @@
+#
+#Copyright (c) 1981, 1993
+#The Regents of the University of California.  All rights reserved.
+#
+#Redistribution and use in source and binary forms, with or without
+#modification, are permitted provided that the following conditions
+#are met:
+#1. Redistributions of source code must retain the above copyright
+#notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#notice, this list of conditions and the following disclaimer in the
+#documentation and/or other materials provided with the distribution.
+#3. Neither the name of the University nor the names of its contributors
+#may be used to endorse or promote products derived from this software
+#without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+#ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+#ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+#FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+#DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+#OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+#HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+#LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+#OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+#SUCH DAMAGE.
+#
 @node Misc
 @chapter Miscellaneous Macros and Functions
 This chapter describes miscellaneous routines not covered elsewhere.
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 11/27] Add missing copyrights to newlib/libc/reent

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/reent/closer.c        | 16 ++++++++++++++++
 newlib/libc/reent/execr.c         | 16 ++++++++++++++++
 newlib/libc/reent/fcntlr.c        |  1 +
 newlib/libc/reent/fstat64r.c      |  1 +
 newlib/libc/reent/fstatr.c        | 16 ++++++++++++++++
 newlib/libc/reent/getreent.c      |  1 +
 newlib/libc/reent/gettimeofdayr.c |  1 +
 newlib/libc/reent/impure.c        | 16 ++++++++++++++++
 newlib/libc/reent/isattyr.c       |  1 +
 newlib/libc/reent/linkr.c         | 16 ++++++++++++++++
 newlib/libc/reent/lseek64r.c      |  1 +
 newlib/libc/reent/lseekr.c        | 16 ++++++++++++++++
 newlib/libc/reent/mkdirr.c        |  1 +
 newlib/libc/reent/open64r.c       |  1 +
 newlib/libc/reent/openr.c         | 16 ++++++++++++++++
 newlib/libc/reent/readr.c         | 16 ++++++++++++++++
 newlib/libc/reent/reent.c         | 16 ++++++++++++++++
 newlib/libc/reent/reent.tex       | 16 ++++++++++++++++
 newlib/libc/reent/renamer.c       | 16 ++++++++++++++++
 newlib/libc/reent/sbrkr.c         | 16 ++++++++++++++++
 newlib/libc/reent/signalr.c       | 16 ++++++++++++++++
 newlib/libc/reent/signgam.c       |  1 +
 newlib/libc/reent/stat64r.c       |  1 +
 newlib/libc/reent/statr.c         | 16 ++++++++++++++++
 newlib/libc/reent/timesr.c        |  1 +
 newlib/libc/reent/unlinkr.c       |  1 +
 newlib/libc/reent/writer.c        | 16 ++++++++++++++++
 27 files changed, 252 insertions(+)

diff --git a/newlib/libc/reent/closer.c b/newlib/libc/reent/closer.c
index deb34b002..e4259ce65 100644
--- a/newlib/libc/reent/closer.c
+++ b/newlib/libc/reent/closer.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant version of close system call.  */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/execr.c b/newlib/libc/reent/execr.c
index 59b61223e..4619807c2 100644
--- a/newlib/libc/reent/execr.c
+++ b/newlib/libc/reent/execr.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant versions of execution system calls.  These
    implementations just call the usual system calls.  */
 
diff --git a/newlib/libc/reent/fcntlr.c b/newlib/libc/reent/fcntlr.c
index cd19d226f..95e39bc11 100644
--- a/newlib/libc/reent/fcntlr.c
+++ b/newlib/libc/reent/fcntlr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /* Reentrant versions of fcntl system call.  This implementation just
    calls the fcntl system call.  */
 
diff --git a/newlib/libc/reent/fstat64r.c b/newlib/libc/reent/fstat64r.c
index c546f5c1d..0c915c6ca 100644
--- a/newlib/libc/reent/fstat64r.c
+++ b/newlib/libc/reent/fstat64r.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /* Reentrant versions of fstat system call.  This implementation just
    calls the fstat system call.  */
 
diff --git a/newlib/libc/reent/fstatr.c b/newlib/libc/reent/fstatr.c
index ec906c98d..03659c635 100644
--- a/newlib/libc/reent/fstatr.c
+++ b/newlib/libc/reent/fstatr.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant versions of fstat system call.  This implementation just
    calls the fstat system call.  */
 
diff --git a/newlib/libc/reent/getreent.c b/newlib/libc/reent/getreent.c
index 5fa98e96b..e8a774d0f 100644
--- a/newlib/libc/reent/getreent.c
+++ b/newlib/libc/reent/getreent.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /* default reentrant pointer when multithread enabled */
 
 #ifdef GETREENT_PROVIDED
diff --git a/newlib/libc/reent/gettimeofdayr.c b/newlib/libc/reent/gettimeofdayr.c
index 9b982a993..5fa5345e5 100644
--- a/newlib/libc/reent/gettimeofdayr.c
+++ b/newlib/libc/reent/gettimeofdayr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Patrick Mansfield <[hidden email]> */
 /* Reentrant version of gettimeofday system call
    This implementation just calls the times/gettimeofday system calls.
    Gettimeofday may not be available on all targets.  It's presence
diff --git a/newlib/libc/reent/impure.c b/newlib/libc/reent/impure.c
index 76f67459e..26ed3cbcb 100644
--- a/newlib/libc/reent/impure.c
+++ b/newlib/libc/reent/impure.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include <reent.h>
 
 /* Note that there is a copy of this in sys/reent.h.  */
diff --git a/newlib/libc/reent/isattyr.c b/newlib/libc/reent/isattyr.c
index f21bf25b2..ebfcb6142 100644
--- a/newlib/libc/reent/isattyr.c
+++ b/newlib/libc/reent/isattyr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2008 Jeff Johnston <[hidden email]> */
 /* Reentrant versions of isatty system call.  */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/linkr.c b/newlib/libc/reent/linkr.c
index b22da5f94..503cee861 100644
--- a/newlib/libc/reent/linkr.c
+++ b/newlib/libc/reent/linkr.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant versions of file system calls.  These implementations
    just call the usual system calls.  */
 
diff --git a/newlib/libc/reent/lseek64r.c b/newlib/libc/reent/lseek64r.c
index 40769fb6d..978ba12e6 100644
--- a/newlib/libc/reent/lseek64r.c
+++ b/newlib/libc/reent/lseek64r.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /* Reentrant versions of lseek system call. */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/lseekr.c b/newlib/libc/reent/lseekr.c
index ac2daaab9..b99126af8 100644
--- a/newlib/libc/reent/lseekr.c
+++ b/newlib/libc/reent/lseekr.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant versions of lseek system call. */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/mkdirr.c b/newlib/libc/reent/mkdirr.c
index fd72df64c..447ea7818 100644
--- a/newlib/libc/reent/mkdirr.c
+++ b/newlib/libc/reent/mkdirr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Jeff Johnston <[hidden email]> */
 /* Reentrant versions of mkdir system call. */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/open64r.c b/newlib/libc/reent/open64r.c
index 84bd67e34..87591cecd 100644
--- a/newlib/libc/reent/open64r.c
+++ b/newlib/libc/reent/open64r.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /* Reentrant versions of open system call. */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/openr.c b/newlib/libc/reent/openr.c
index c6a7db5de..cecbbff9b 100644
--- a/newlib/libc/reent/openr.c
+++ b/newlib/libc/reent/openr.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant versions of open system call. */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/readr.c b/newlib/libc/reent/readr.c
index 7fccefd32..c194bcd61 100644
--- a/newlib/libc/reent/readr.c
+++ b/newlib/libc/reent/readr.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant versions of read system call. */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/reent.c b/newlib/libc/reent/reent.c
index 7c57e2019..8f6146770 100644
--- a/newlib/libc/reent/reent.c
+++ b/newlib/libc/reent/reent.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+*/
+/*
 FUNCTION
  <<reent>>---definition of impure data.
 
diff --git a/newlib/libc/reent/reent.tex b/newlib/libc/reent/reent.tex
index 881c572c6..15df8ff46 100644
--- a/newlib/libc/reent/reent.tex
+++ b/newlib/libc/reent/reent.tex
@@ -1,3 +1,19 @@
+#
+#Copyright (c) 1994 Cygnus Support.
+#All rights reserved.
+#
+#Redistribution and use in source and binary forms are permitted
+#provided that the above copyright notice and this paragraph are
+#duplicated in all such forms and that any documentation,
+#and/or other materials related to such
+#distribution and use acknowledge that the software was developed
+#at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+#endorse or promote products derived from this software without
+#specific prior written permission.
+#THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+#IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
 @node Reentrancy
 @chapter Reentrancy
 
diff --git a/newlib/libc/reent/renamer.c b/newlib/libc/reent/renamer.c
index 5420dc4a0..46e1a80a6 100644
--- a/newlib/libc/reent/renamer.c
+++ b/newlib/libc/reent/renamer.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 1990 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * and/or other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant version of rename system call.  */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/sbrkr.c b/newlib/libc/reent/sbrkr.c
index 21c4bd913..febb00607 100644
--- a/newlib/libc/reent/sbrkr.c
+++ b/newlib/libc/reent/sbrkr.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant version of sbrk system call. */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/signalr.c b/newlib/libc/reent/signalr.c
index 345910e4b..f6ff3c6a4 100644
--- a/newlib/libc/reent/signalr.c
+++ b/newlib/libc/reent/signalr.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant versions of syscalls need to support signal/raise.
    These implementations just call the usual system calls.  */
 
diff --git a/newlib/libc/reent/signgam.c b/newlib/libc/reent/signgam.c
index b1017d861..a790342b9 100644
--- a/newlib/libc/reent/signgam.c
+++ b/newlib/libc/reent/signgam.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2001 Jeff Johnston <[hidden email]> */
 /* The signgam variable is stored in the reentrancy structure.  This
    function returns its address for use by the macro signgam defined in
    math.h.  */
diff --git a/newlib/libc/reent/stat64r.c b/newlib/libc/reent/stat64r.c
index b64736ef2..9c84653b4 100644
--- a/newlib/libc/reent/stat64r.c
+++ b/newlib/libc/reent/stat64r.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2008 Jeff Johnston <[hidden email]> */
 /* Reentrant versions of stat64 system call.  This implementation just
    calls the stat64 system call.  */
 
diff --git a/newlib/libc/reent/statr.c b/newlib/libc/reent/statr.c
index 9388e0246..97fd8f99c 100644
--- a/newlib/libc/reent/statr.c
+++ b/newlib/libc/reent/statr.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant versions of stat system call.  This implementation just
    calls the stat system call.  */
 
diff --git a/newlib/libc/reent/timesr.c b/newlib/libc/reent/timesr.c
index bb890035a..a0ee05dd8 100644
--- a/newlib/libc/reent/timesr.c
+++ b/newlib/libc/reent/timesr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Patrick Mansfield <[hidden email]> */
 /* Reentrant versions of times system calls */
 
 #include <reent.h>
diff --git a/newlib/libc/reent/unlinkr.c b/newlib/libc/reent/unlinkr.c
index 41bac0194..62454a1db 100644
--- a/newlib/libc/reent/unlinkr.c
+++ b/newlib/libc/reent/unlinkr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2000 Alexandre Oliva <[hidden email]> */
 /* Reentrant versions of file system calls.  These implementations
    just call the usual system calls.  */
 
diff --git a/newlib/libc/reent/writer.c b/newlib/libc/reent/writer.c
index 704aba18b..656bb534a 100644
--- a/newlib/libc/reent/writer.c
+++ b/newlib/libc/reent/writer.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* Reentrant versions of write system call. */
 
 #include <reent.h>
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 12/27] Add missing copyrights to newlib/libc/search

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/search/bsd_qsort_r.c |  1 +
 newlib/libc/search/bsearch.c     | 28 ++++++++++++++++++++++++++++
 newlib/libc/search/hcreate.3     | 28 ++++++++++++++++++++++++++++
 newlib/libc/search/qsort_r.c     |  1 +
 newlib/libc/search/tdelete.c     | 28 ++++++++++++++++++++++++++++
 newlib/libc/search/tdestroy.c    | 28 ++++++++++++++++++++++++++++
 newlib/libc/search/tfind.c       | 28 ++++++++++++++++++++++++++++
 newlib/libc/search/tsearch.c     | 28 ++++++++++++++++++++++++++++
 newlib/libc/search/twalk.c       | 28 ++++++++++++++++++++++++++++
 9 files changed, 198 insertions(+)

diff --git a/newlib/libc/search/bsd_qsort_r.c b/newlib/libc/search/bsd_qsort_r.c
index f4a3757b0..3a6239faa 100644
--- a/newlib/libc/search/bsd_qsort_r.c
+++ b/newlib/libc/search/bsd_qsort_r.c
@@ -1,2 +1,3 @@
+/* Copyright (c) 2014 Yaakov Selkowitz <[hidden email]> */
 #define I_AM_QSORT_R
 #include "qsort.c"
diff --git a/newlib/libc/search/bsearch.c b/newlib/libc/search/bsearch.c
index 29b787425..54c281094 100644
--- a/newlib/libc/search/bsearch.c
+++ b/newlib/libc/search/bsearch.c
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1991, 1993, 1994
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /*
  * bsearch.c
  * Original Author: G. Haley
diff --git a/newlib/libc/search/hcreate.3 b/newlib/libc/search/hcreate.3
index 1619c9892..087f640c3 100644
--- a/newlib/libc/search/hcreate.3
+++ b/newlib/libc/search/hcreate.3
@@ -1,3 +1,31 @@
+.\"
+.\" Copyright (c) 1991, 1993, 1994
+.\" The Regents of the University of California.  All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. Neither the name of the University nor the names of its contributors
+.\" may be used to endorse or promote products derived from this software
+.\" without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
 .\" $FreeBSD: src/lib/libc/stdlib/hcreate.3,v 1.2 2001/07/09 15:54:36 ru Exp $
 .\"
 .Dd May 8, 2001
diff --git a/newlib/libc/search/qsort_r.c b/newlib/libc/search/qsort_r.c
index c4b6fb7e2..b265d88e6 100644
--- a/newlib/libc/search/qsort_r.c
+++ b/newlib/libc/search/qsort_r.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2014 Yaakov Selkowitz <[hidden email]> */
 /*
 FUNCTION
 <<qsort_r>>---sort an array
diff --git a/newlib/libc/search/tdelete.c b/newlib/libc/search/tdelete.c
index a595200db..311596511 100644
--- a/newlib/libc/search/tdelete.c
+++ b/newlib/libc/search/tdelete.c
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1991, 1993, 1994
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* $NetBSD: tdelete.c,v 1.2 1999/09/16 11:45:37 lukem Exp $ */
 
 /*
diff --git a/newlib/libc/search/tdestroy.c b/newlib/libc/search/tdestroy.c
index 04c6b7052..7e8585e66 100644
--- a/newlib/libc/search/tdestroy.c
+++ b/newlib/libc/search/tdestroy.c
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1991, 1993, 1994
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* $NetBSD: tdelete.c,v 1.2 1999/09/16 11:45:37 lukem Exp $ */
 
 /*
diff --git a/newlib/libc/search/tfind.c b/newlib/libc/search/tfind.c
index 670f41fca..f0e835800 100644
--- a/newlib/libc/search/tfind.c
+++ b/newlib/libc/search/tfind.c
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1991, 1993, 1994
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* $NetBSD: tfind.c,v 1.2 1999/09/16 11:45:37 lukem Exp $ */
 
 /*
diff --git a/newlib/libc/search/tsearch.c b/newlib/libc/search/tsearch.c
index 82d69447f..d7c869e4d 100644
--- a/newlib/libc/search/tsearch.c
+++ b/newlib/libc/search/tsearch.c
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1991, 1993, 1994
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* $NetBSD: tsearch.c,v 1.3 1999/09/16 11:45:37 lukem Exp $ */
 
 /*
diff --git a/newlib/libc/search/twalk.c b/newlib/libc/search/twalk.c
index 02ef52242..e7e179a46 100644
--- a/newlib/libc/search/twalk.c
+++ b/newlib/libc/search/twalk.c
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 1991, 1993, 1994
+The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* $NetBSD: twalk.c,v 1.1 1999/02/22 10:33:16 christos Exp $ */
 
 /*
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 13/27] Add missing copyrights in newlib/libc/signal

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/signal/raise.c    | 16 ++++++++++++++++
 newlib/libc/signal/signal.c   | 16 ++++++++++++++++
 newlib/libc/signal/signal.tex | 16 ++++++++++++++++
 3 files changed, 48 insertions(+)

diff --git a/newlib/libc/signal/raise.c b/newlib/libc/signal/raise.c
index c678c6e2d..0457b6144 100644
--- a/newlib/libc/signal/raise.c
+++ b/newlib/libc/signal/raise.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+*/
 /* Embedded systems may want the simulated signals if no other form exists,
    but UNIX versions will want to use the host facilities.
    Define SIMULATED_SIGNALS when you want to use the simulated versions.
diff --git a/newlib/libc/signal/signal.c b/newlib/libc/signal/signal.c
index 0110287d8..3df396629 100644
--- a/newlib/libc/signal/signal.c
+++ b/newlib/libc/signal/signal.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+*/
+/*
 FUNCTION
 <<signal>>---specify handler subroutine for a signal
 
diff --git a/newlib/libc/signal/signal.tex b/newlib/libc/signal/signal.tex
index c4d48308f..cb5626e66 100644
--- a/newlib/libc/signal/signal.tex
+++ b/newlib/libc/signal/signal.tex
@@ -1,3 +1,19 @@
+#
+#Copyright (c) 1994 Cygnus Support.
+#All rights reserved.
+#
+#Redistribution and use in source and binary forms are permitted
+#provided that the above copyright notice and this paragraph are
+#duplicated in all such forms and that any documentation,
+#and/or other materials related to such
+#distribution and use acknowledge that the software was developed
+#at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+#endorse or promote products derived from this software without
+#specific prior written permission.
+#THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+#IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
 @node Signals
 @chapter Signal Handling (@file{signal.h})
 
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 14/27] Add missing copyrights in newlib/libc/ssp

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/ssp/mempcpy_chk.c     | 25 +++++++++++++++++++++++++
 newlib/libc/ssp/stack_protector.c |  1 +
 2 files changed, 26 insertions(+)

diff --git a/newlib/libc/ssp/mempcpy_chk.c b/newlib/libc/ssp/mempcpy_chk.c
index fc2ccf894..d141acf33 100644
--- a/newlib/libc/ssp/mempcpy_chk.c
+++ b/newlib/libc/ssp/mempcpy_chk.c
@@ -1,3 +1,28 @@
+/*
+Copyright (c) 2006 The NetBSD Foundation, Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+ */
 #define _GNU_SOURCE
 #include <sys/cdefs.h>
 #include <ssp/ssp.h>
diff --git a/newlib/libc/ssp/stack_protector.c b/newlib/libc/ssp/stack_protector.c
index cd51543f0..a350d12a4 100644
--- a/newlib/libc/ssp/stack_protector.c
+++ b/newlib/libc/ssp/stack_protector.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2017 Yaakov Selkowitz <[hidden email]> */
 #include <sys/cdefs.h>
 #include <sys/param.h>
 #include <signal.h>
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 15/27] Add missing copyrights in newlib/libc/stdio

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/stdio/fwide.c     | 25 +++++++++++++++++++++++++
 newlib/libc/stdio/stdio.tex   | 16 ++++++++++++++++
 newlib/libc/stdio/stdio_ext.c |  1 +
 newlib/libc/stdio/tmpfile.c   | 16 ++++++++++++++++
 newlib/libc/stdio/tmpnam.c    | 16 ++++++++++++++++
 5 files changed, 74 insertions(+)

diff --git a/newlib/libc/stdio/fwide.c b/newlib/libc/stdio/fwide.c
index 9b5a3d12a..73605d868 100644
--- a/newlib/libc/stdio/fwide.c
+++ b/newlib/libc/stdio/fwide.c
@@ -1,4 +1,29 @@
 /*
+Copyright (c) 2002-2004 Tim J. Robbins.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
 <<fwide>>---set and determine the orientation of a FILE stream
 
diff --git a/newlib/libc/stdio/stdio.tex b/newlib/libc/stdio/stdio.tex
index 5352c5491..7bf8ba66d 100644
--- a/newlib/libc/stdio/stdio.tex
+++ b/newlib/libc/stdio/stdio.tex
@@ -1,3 +1,19 @@
+#
+#Copyright (c) 1990 The Regents of the University of California.
+#All rights reserved.
+#
+#Redistribution and use in source and binary forms are permitted
+#provided that the above copyright notice and this paragraph are
+#duplicated in all such forms and that any documentation,
+#and/or other materials related to such
+#distribution and use acknowledge that the software was developed
+#by the University of California, Berkeley.  The name of the
+#University may not be used to endorse or promote products derived
+#from this software without specific prior written permission.
+#THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+#IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
 @node Stdio
 @chapter Input and Output (@file{stdio.h})
 
diff --git a/newlib/libc/stdio/stdio_ext.c b/newlib/libc/stdio/stdio_ext.c
index 857091fd7..065e8b8a1 100644
--- a/newlib/libc/stdio/stdio_ext.c
+++ b/newlib/libc/stdio/stdio_ext.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2014 Yaakov Selkowitz <[hidden email]> */
 /*
 FUNCTION
 <<stdio_ext>>,<<__fbufsize>>,<<__fpending>>,<<__flbf>>,<<__freadable>>,<<__fwritable>>,<<__freading>>,<<__fwriting>>---access internals of FILE structure
diff --git a/newlib/libc/stdio/tmpfile.c b/newlib/libc/stdio/tmpfile.c
index f209a3edf..9c142a847 100644
--- a/newlib/libc/stdio/tmpfile.c
+++ b/newlib/libc/stdio/tmpfile.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
 <<tmpfile>>---create a temporary file
 
diff --git a/newlib/libc/stdio/tmpnam.c b/newlib/libc/stdio/tmpnam.c
index 3bd5b6a58..8a06a3cc3 100644
--- a/newlib/libc/stdio/tmpnam.c
+++ b/newlib/libc/stdio/tmpnam.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * tmpname.c
  * Original Author: G. Haley
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 16/27] Add missing copyrights in newlib/libc/stdio64

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/stdio64/fdopen64.c  |  1 +
 newlib/libc/stdio64/fgetpos64.c | 16 ++++++++++++++++
 newlib/libc/stdio64/fsetpos64.c | 16 ++++++++++++++++
 newlib/libc/stdio64/stdio64.tex | 16 ++++++++++++++++
 newlib/libc/stdio64/tmpfile64.c | 16 ++++++++++++++++
 5 files changed, 65 insertions(+)

diff --git a/newlib/libc/stdio64/fdopen64.c b/newlib/libc/stdio64/fdopen64.c
index 9d9645b36..dc941a271 100644
--- a/newlib/libc/stdio64/fdopen64.c
+++ b/newlib/libc/stdio64/fdopen64.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2003 Christopher Faylor <[hidden email]> */
 /*
 FUNCTION
 <<fdopen64>>---turn open large file into a stream
diff --git a/newlib/libc/stdio64/fgetpos64.c b/newlib/libc/stdio64/fgetpos64.c
index 52ead9d0d..7d5ad59d9 100644
--- a/newlib/libc/stdio64/fgetpos64.c
+++ b/newlib/libc/stdio64/fgetpos64.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
 <<fgetpos64>>---record position in a large stream or file
 
diff --git a/newlib/libc/stdio64/fsetpos64.c b/newlib/libc/stdio64/fsetpos64.c
index 254eb53d7..e704cb0ae 100644
--- a/newlib/libc/stdio64/fsetpos64.c
+++ b/newlib/libc/stdio64/fsetpos64.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
 <<fsetpos64>>---restore position of a large stream or file
 
diff --git a/newlib/libc/stdio64/stdio64.tex b/newlib/libc/stdio64/stdio64.tex
index 95f898f3d..8b503e134 100644
--- a/newlib/libc/stdio64/stdio64.tex
+++ b/newlib/libc/stdio64/stdio64.tex
@@ -1,3 +1,19 @@
+#
+#Copyright (c) 1990 The Regents of the University of California.
+#All rights reserved.
+#
+#Redistribution and use in source and binary forms are permitted
+#provided that the above copyright notice and this paragraph are
+#duplicated in all such forms and that any documentation,
+#and/or other materials related to such
+#distribution and use acknowledge that the software was developed
+#by the University of California, Berkeley.  The name of the
+#University may not be used to endorse or promote products derived
+#from this software without specific prior written permission.
+#THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+#IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
 @node Stdio64
 @chapter Large File Input and Output (@file{stdio.h})
 
diff --git a/newlib/libc/stdio64/tmpfile64.c b/newlib/libc/stdio64/tmpfile64.c
index 18a38d65c..12f97f4c7 100644
--- a/newlib/libc/stdio64/tmpfile64.c
+++ b/newlib/libc/stdio64/tmpfile64.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+by the University of California, Berkeley.  The name of the
+University may not be used to endorse or promote products derived
+from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
 <<tmpfile64>>---create a large temporary file
 
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 17/27] Add missing copyrights in newlib/libc/stdlib

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/stdlib/_Exit.c          |  1 +
 newlib/libc/stdlib/__adjust.c       |  4 ++++
 newlib/libc/stdlib/__atexit.c       |  1 +
 newlib/libc/stdlib/__call_atexit.c  | 35 +++++++++++++++++++++++++++++
 newlib/libc/stdlib/__exp10.c        |  4 ++++
 newlib/libc/stdlib/__ten_mu.c       |  4 ++++
 newlib/libc/stdlib/a64l.c           |  1 +
 newlib/libc/stdlib/abort.c          |  4 ++++
 newlib/libc/stdlib/abs.c            |  4 ++++
 newlib/libc/stdlib/assert.c         |  4 ++++
 newlib/libc/stdlib/atexit.h         |  4 ++++
 newlib/libc/stdlib/atof.c           |  4 ++++
 newlib/libc/stdlib/atoff.c          |  4 ++++
 newlib/libc/stdlib/atoi.c           |  4 ++++
 newlib/libc/stdlib/atol.c           |  4 ++++
 newlib/libc/stdlib/btowc.c          |  1 +
 newlib/libc/stdlib/calloc.c         |  4 ++++
 newlib/libc/stdlib/chacha_private.h | 18 +++++++++++++++
 newlib/libc/stdlib/cxa_atexit.c     | 35 +++++++++++++++++++++++++++++
 newlib/libc/stdlib/cxa_finalize.c   | 35 +++++++++++++++++++++++++++++
 newlib/libc/stdlib/dtoastub.c       |  4 ++++
 newlib/libc/stdlib/ecvtbuf.c        |  4 ++++
 newlib/libc/stdlib/efgcvt.c         |  4 ++++
 newlib/libc/stdlib/envlock.c        |  4 ++++
 newlib/libc/stdlib/eprintf.c        |  4 ++++
 newlib/libc/stdlib/itoa.c           |  1 +
 newlib/libc/stdlib/l64a.c           |  1 +
 newlib/libc/stdlib/labs.c           |  4 ++++
 newlib/libc/stdlib/local.h          |  4 ++++
 newlib/libc/stdlib/malign.c         |  4 ++++
 newlib/libc/stdlib/malloc.c         |  4 ++++
 newlib/libc/stdlib/mallocr.c        |  4 ++++
 newlib/libc/stdlib/mbctype.h        |  4 ++++
 newlib/libc/stdlib/mblen.c          |  4 ++++
 newlib/libc/stdlib/mbrlen.c         |  3 +++
 newlib/libc/stdlib/mbrtowc.c        |  3 +++
 newlib/libc/stdlib/mbsinit.c        |  3 +++
 newlib/libc/stdlib/mbsnrtowcs.c     |  1 +
 newlib/libc/stdlib/mbsrtowcs.c      |  3 +++
 newlib/libc/stdlib/mbstowcs.c       |  4 ++++
 newlib/libc/stdlib/mbtowc.c         |  4 ++++
 newlib/libc/stdlib/mbtowc_r.c       |  4 ++++
 newlib/libc/stdlib/mlock.c          |  4 ++++
 newlib/libc/stdlib/msize.c          |  4 ++++
 newlib/libc/stdlib/mstats.c         |  4 ++++
 newlib/libc/stdlib/mtrim.c          |  4 ++++
 newlib/libc/stdlib/on_exit_args.c   |  1 +
 newlib/libc/stdlib/on_exit_args.h   |  1 +
 newlib/libc/stdlib/rand.c           |  4 ++++
 newlib/libc/stdlib/rand_r.c         |  4 ++++
 newlib/libc/stdlib/random.c         |  1 +
 newlib/libc/stdlib/realloc.c        |  4 ++++
 newlib/libc/stdlib/sb_charsets.c    |  1 +
 newlib/libc/stdlib/std.h            |  4 ++++
 newlib/libc/stdlib/stdlib.tex       |  4 ++++
 newlib/libc/stdlib/system.c         |  4 ++++
 newlib/libc/stdlib/utoa.c           |  1 +
 newlib/libc/stdlib/valloc.c         |  4 ++++
 newlib/libc/stdlib/wcrtomb.c        |  3 +++
 newlib/libc/stdlib/wcsnrtombs.c     |  1 +
 newlib/libc/stdlib/wcsrtombs.c      |  3 +++
 newlib/libc/stdlib/wcstoll_r.c      | 28 +++++++++++++++++++++++
 newlib/libc/stdlib/wcstombs.c       |  4 ++++
 newlib/libc/stdlib/wcstoull_r.c     | 28 +++++++++++++++++++++++
 newlib/libc/stdlib/wctob.c          |  3 +++
 newlib/libc/stdlib/wctomb.c         |  4 ++++
 newlib/libc/stdlib/wctomb_r.c       |  4 ++++
 67 files changed, 377 insertions(+)

diff --git a/newlib/libc/stdlib/_Exit.c b/newlib/libc/stdlib/_Exit.c
index 8e205a0c3..554f699b8 100644
--- a/newlib/libc/stdlib/_Exit.c
+++ b/newlib/libc/stdlib/_Exit.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /*
 FUNCTION
 <<_Exit>>---end program execution with no cleanup processing
diff --git a/newlib/libc/stdlib/__adjust.c b/newlib/libc/stdlib/__adjust.c
index 4c478f30b..56c21edbe 100644
--- a/newlib/libc/stdlib/__adjust.c
+++ b/newlib/libc/stdlib/__adjust.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 /*
  * return (*acc) scaled by 10**dexp.
  */
diff --git a/newlib/libc/stdlib/__atexit.c b/newlib/libc/stdlib/__atexit.c
index 97ce053bf..400448523 100644
--- a/newlib/libc/stdlib/__atexit.c
+++ b/newlib/libc/stdlib/__atexit.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2004 Paul Brook <[hidden email]> */
 /*
  *  Common routine to implement atexit-like functionality.
  *
diff --git a/newlib/libc/stdlib/__call_atexit.c b/newlib/libc/stdlib/__call_atexit.c
index 3eec11214..d059c291d 100644
--- a/newlib/libc/stdlib/__call_atexit.c
+++ b/newlib/libc/stdlib/__call_atexit.c
@@ -1,3 +1,38 @@
+/*
+Copyright (c) 2004 Paul Brook <[hidden email]>
+
+Common routine to implement atexit-like functionality.
+
+This is also the key function to be configured as lite exit, a size-reduced
+implementation of exit that doesn't invoke clean-up functions such as _fini
+or global destructors.
+
+Default (without lite exit) call graph is like:
+start -> atexit -> __register_exitproc
+start -> __libc_init_array -> __cxa_atexit -> __register_exitproc
+on_exit -> __register_exitproc
+start -> exit -> __call_exitprocs
+
+Here an -> means arrow tail invokes arrow head. All invocations here
+are non-weak reference in current newlib.
+
+Lite exit makes some of above calls as weak reference, so that size expansive
+functions __register_exitproc and __call_exitprocs may not be linked. These
+calls are:
+start w-> atexit
+cxa_atexit w-> __register_exitproc
+exit w-> __call_exitprocs
+
+Lite exit also makes sure that __call_exitprocs will be referenced as non-weak
+whenever __register_exitproc is referenced as non-weak.
+
+Thus with lite exit libs, a program not explicitly calling atexit or on_exit
+will escape from the burden of cleaning up code. A program with atexit or on_exit
+will work consistently to normal libs.
+
+Lite exit is enabled with --enable-lite-exit, and is controlled with macro
+LITE_EXIT.
+ */
 /*
  * COmmon routine to call call registered atexit-like routines.
  */
diff --git a/newlib/libc/stdlib/__exp10.c b/newlib/libc/stdlib/__exp10.c
index cf223742b..f95b82d40 100644
--- a/newlib/libc/stdlib/__exp10.c
+++ b/newlib/libc/stdlib/__exp10.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 /*
  * compute 10**x by successive squaring.
  */
diff --git a/newlib/libc/stdlib/__ten_mu.c b/newlib/libc/stdlib/__ten_mu.c
index 25af8d0c7..72ac33250 100644
--- a/newlib/libc/stdlib/__ten_mu.c
+++ b/newlib/libc/stdlib/__ten_mu.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 /*
  * [atw] multiply 64 bit accumulator by 10 and add digit.
  * The KA/CA way to do this should be to use
diff --git a/newlib/libc/stdlib/a64l.c b/newlib/libc/stdlib/a64l.c
index dcac2e050..c8abb3a9c 100644
--- a/newlib/libc/stdlib/a64l.c
+++ b/newlib/libc/stdlib/a64l.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /*
 FUNCTION
 <<a64l>>, <<l64a>>---convert between radix-64 ASCII string and long
diff --git a/newlib/libc/stdlib/abort.c b/newlib/libc/stdlib/abort.c
index 065dee5b6..3b49cc565 100644
--- a/newlib/libc/stdlib/abort.c
+++ b/newlib/libc/stdlib/abort.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 /* NetWare can not use this implementation of abort.  It provides its
    own version of abort in clib.nlm.  If we can not use clib.nlm, then
    we must write abort in sys/netware.  */
diff --git a/newlib/libc/stdlib/abs.c b/newlib/libc/stdlib/abs.c
index 85a3fecd8..c6bb56f74 100644
--- a/newlib/libc/stdlib/abs.c
+++ b/newlib/libc/stdlib/abs.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<abs>>---integer absolute value (magnitude)
 
diff --git a/newlib/libc/stdlib/assert.c b/newlib/libc/stdlib/assert.c
index 46ac92b8c..7eb557eb1 100644
--- a/newlib/libc/stdlib/assert.c
+++ b/newlib/libc/stdlib/assert.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<assert>>---macro for debugging diagnostics
 
diff --git a/newlib/libc/stdlib/atexit.h b/newlib/libc/stdlib/atexit.h
index df99963d5..8a8641f74 100644
--- a/newlib/libc/stdlib/atexit.h
+++ b/newlib/libc/stdlib/atexit.h
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 /*
  * Common definitions for atexit-like routines
  */
diff --git a/newlib/libc/stdlib/atof.c b/newlib/libc/stdlib/atof.c
index 17ba0fa52..0fbc581c6 100644
--- a/newlib/libc/stdlib/atof.c
+++ b/newlib/libc/stdlib/atof.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
    <<atof>>, <<atoff>>---string to double or float
 
diff --git a/newlib/libc/stdlib/atoff.c b/newlib/libc/stdlib/atoff.c
index e25ff2917..5dcf99ea5 100644
--- a/newlib/libc/stdlib/atoff.c
+++ b/newlib/libc/stdlib/atoff.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #include <stdlib.h>
 #include <_ansi.h>
 
diff --git a/newlib/libc/stdlib/atoi.c b/newlib/libc/stdlib/atoi.c
index 4da53e80a..409d60f65 100644
--- a/newlib/libc/stdlib/atoi.c
+++ b/newlib/libc/stdlib/atoi.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
    <<atoi>>, <<atol>>---string to integer
 
diff --git a/newlib/libc/stdlib/atol.c b/newlib/libc/stdlib/atol.c
index a5c8ee9f4..743117582 100644
--- a/newlib/libc/stdlib/atol.c
+++ b/newlib/libc/stdlib/atol.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 /*
  * Andy Wilson, 2-Oct-89.
  */
diff --git a/newlib/libc/stdlib/btowc.c b/newlib/libc/stdlib/btowc.c
index 7605ce6b6..524d2d804 100644
--- a/newlib/libc/stdlib/btowc.c
+++ b/newlib/libc/stdlib/btowc.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Thomas Fitzsimmons <[hidden email]> */
 #include <wchar.h>
 #include <stdlib.h>
 #include <stdio.h>
diff --git a/newlib/libc/stdlib/calloc.c b/newlib/libc/stdlib/calloc.c
index 208e27eb1..e027bab6c 100644
--- a/newlib/libc/stdlib/calloc.c
+++ b/newlib/libc/stdlib/calloc.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #ifdef MALLOC_PROVIDED
 int _dummy_calloc = 1;
 #else
diff --git a/newlib/libc/stdlib/chacha_private.h b/newlib/libc/stdlib/chacha_private.h
index 0a3e38c10..2df187b0a 100644
--- a/newlib/libc/stdlib/chacha_private.h
+++ b/newlib/libc/stdlib/chacha_private.h
@@ -1,4 +1,22 @@
 /*
+Copyright (c) 1996, David Mazieres <[hidden email]>
+Copyright (c) 2008, Damien Miller <[hidden email]>
+Copyright (c) 2013, Markus Friedl <[hidden email]>
+Copyright (c) 2014, Theo de Raadt <[hidden email]>
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+/*
 chacha-merged.c version 20080118
 D. J. Bernstein
 Public domain.
diff --git a/newlib/libc/stdlib/cxa_atexit.c b/newlib/libc/stdlib/cxa_atexit.c
index ae2d21a60..71e73d536 100644
--- a/newlib/libc/stdlib/cxa_atexit.c
+++ b/newlib/libc/stdlib/cxa_atexit.c
@@ -1,3 +1,38 @@
+/*
+Copyright (c) 2004 Paul Brook <[hidden email]>
+
+Common routine to implement atexit-like functionality.
+
+This is also the key function to be configured as lite exit, a size-reduced
+implementation of exit that doesn't invoke clean-up functions such as _fini
+or global destructors.
+
+Default (without lite exit) call graph is like:
+start -> atexit -> __register_exitproc
+start -> __libc_init_array -> __cxa_atexit -> __register_exitproc
+on_exit -> __register_exitproc
+start -> exit -> __call_exitprocs
+
+Here an -> means arrow tail invokes arrow head. All invocations here
+are non-weak reference in current newlib.
+
+Lite exit makes some of above calls as weak reference, so that size expansive
+functions __register_exitproc and __call_exitprocs may not be linked. These
+calls are:
+start w-> atexit
+cxa_atexit w-> __register_exitproc
+exit w-> __call_exitprocs
+
+Lite exit also makes sure that __call_exitprocs will be referenced as non-weak
+whenever __register_exitproc is referenced as non-weak.
+
+Thus with lite exit libs, a program not explicitly calling atexit or on_exit
+will escape from the burden of cleaning up code. A program with atexit or on_exit
+will work consistently to normal libs.
+
+Lite exit is enabled with --enable-lite-exit, and is controlled with macro
+LITE_EXIT.
+ */
 /*
  * Implementation of __cxa_atexit.
  */
diff --git a/newlib/libc/stdlib/cxa_finalize.c b/newlib/libc/stdlib/cxa_finalize.c
index 467532881..9bf346f25 100644
--- a/newlib/libc/stdlib/cxa_finalize.c
+++ b/newlib/libc/stdlib/cxa_finalize.c
@@ -1,3 +1,38 @@
+/*
+Copyright (c) 2004 Paul Brook <[hidden email]>
+
+Common routine to implement atexit-like functionality.
+
+This is also the key function to be configured as lite exit, a size-reduced
+implementation of exit that doesn't invoke clean-up functions such as _fini
+or global destructors.
+
+Default (without lite exit) call graph is like:
+start -> atexit -> __register_exitproc
+start -> __libc_init_array -> __cxa_atexit -> __register_exitproc
+on_exit -> __register_exitproc
+start -> exit -> __call_exitprocs
+
+Here an -> means arrow tail invokes arrow head. All invocations here
+are non-weak reference in current newlib.
+
+Lite exit makes some of above calls as weak reference, so that size expansive
+functions __register_exitproc and __call_exitprocs may not be linked. These
+calls are:
+start w-> atexit
+cxa_atexit w-> __register_exitproc
+exit w-> __call_exitprocs
+
+Lite exit also makes sure that __call_exitprocs will be referenced as non-weak
+whenever __register_exitproc is referenced as non-weak.
+
+Thus with lite exit libs, a program not explicitly calling atexit or on_exit
+will escape from the burden of cleaning up code. A program with atexit or on_exit
+will work consistently to normal libs.
+
+Lite exit is enabled with --enable-lite-exit, and is controlled with macro
+LITE_EXIT.
+ */
 /*
  * Implementation if __cxa_finalize.
  */
diff --git a/newlib/libc/stdlib/dtoastub.c b/newlib/libc/stdlib/dtoastub.c
index d1c8a6756..3eb23b873 100644
--- a/newlib/libc/stdlib/dtoastub.c
+++ b/newlib/libc/stdlib/dtoastub.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #include <_ansi.h>
 #include <stdlib.h>
 #include <reent.h>
diff --git a/newlib/libc/stdlib/ecvtbuf.c b/newlib/libc/stdlib/ecvtbuf.c
index 0cb11f889..7347b9746 100644
--- a/newlib/libc/stdlib/ecvtbuf.c
+++ b/newlib/libc/stdlib/ecvtbuf.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<ecvtbuf>>, <<fcvtbuf>>---double or float to string
 
diff --git a/newlib/libc/stdlib/efgcvt.c b/newlib/libc/stdlib/efgcvt.c
index 3cdb9c420..a351fb39c 100644
--- a/newlib/libc/stdlib/efgcvt.c
+++ b/newlib/libc/stdlib/efgcvt.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<ecvt>>, <<ecvtf>>, <<fcvt>>, <<fcvtf>>---double or float to string
 
diff --git a/newlib/libc/stdlib/envlock.c b/newlib/libc/stdlib/envlock.c
index 3afe30ee9..d0dbf5c27 100644
--- a/newlib/libc/stdlib/envlock.c
+++ b/newlib/libc/stdlib/envlock.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<__env_lock>>, <<__env_unlock>>---lock environ variable
 
diff --git a/newlib/libc/stdlib/eprintf.c b/newlib/libc/stdlib/eprintf.c
index 46cf8104b..14d5abd54 100644
--- a/newlib/libc/stdlib/eprintf.c
+++ b/newlib/libc/stdlib/eprintf.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 /* This is an implementation of the __eprintf function which is
    compatible with the assert.h which is distributed with gcc.
 
diff --git a/newlib/libc/stdlib/itoa.c b/newlib/libc/stdlib/itoa.c
index 7a7daf0ce..14400eb8b 100644
--- a/newlib/libc/stdlib/itoa.c
+++ b/newlib/libc/stdlib/itoa.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2014 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
 <<itoa>>---integer to string
diff --git a/newlib/libc/stdlib/l64a.c b/newlib/libc/stdlib/l64a.c
index 45282e32d..2ef2bde0c 100644
--- a/newlib/libc/stdlib/l64a.c
+++ b/newlib/libc/stdlib/l64a.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /* l64a - convert long to radix-64 ascii string
  *          
  * Conversion is performed on at most 32-bits of input value starting
diff --git a/newlib/libc/stdlib/labs.c b/newlib/libc/stdlib/labs.c
index f6761d0cc..9ef265fba 100644
--- a/newlib/libc/stdlib/labs.c
+++ b/newlib/libc/stdlib/labs.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<labs>>---long integer absolute value
 
diff --git a/newlib/libc/stdlib/local.h b/newlib/libc/stdlib/local.h
index a96ed2cc4..e81b33e72 100644
--- a/newlib/libc/stdlib/local.h
+++ b/newlib/libc/stdlib/local.h
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 /* Misc. local definitions for libc/stdlib */
 
 #ifndef _LOCAL_H_
diff --git a/newlib/libc/stdlib/malign.c b/newlib/libc/stdlib/malign.c
index 480060c43..3dc854f4b 100644
--- a/newlib/libc/stdlib/malign.c
+++ b/newlib/libc/stdlib/malign.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #ifndef MALLOC_PROVIDED
 /* malign.c -- a wrapper for memalign_r.  */
 
diff --git a/newlib/libc/stdlib/malloc.c b/newlib/libc/stdlib/malloc.c
index f5ac29208..33a04a81a 100644
--- a/newlib/libc/stdlib/malloc.c
+++ b/newlib/libc/stdlib/malloc.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 /* VxWorks provides its own version of malloc, and we can't use this
    one because VxWorks does not provide sbrk.  So we have a hook to
    not compile this code.  */
diff --git a/newlib/libc/stdlib/mallocr.c b/newlib/libc/stdlib/mallocr.c
index 26d1c89cc..a6788e619 100644
--- a/newlib/libc/stdlib/mallocr.c
+++ b/newlib/libc/stdlib/mallocr.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #ifdef MALLOC_PROVIDED
 int _dummy_mallocr = 1;
 #else
diff --git a/newlib/libc/stdlib/mbctype.h b/newlib/libc/stdlib/mbctype.h
index 359c83c77..b0890b3da 100644
--- a/newlib/libc/stdlib/mbctype.h
+++ b/newlib/libc/stdlib/mbctype.h
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #ifndef _MBCTYPE_H_
 
 #define _MBCTYPE_H_
diff --git a/newlib/libc/stdlib/mblen.c b/newlib/libc/stdlib/mblen.c
index 3753d3673..f8d1ae70d 100644
--- a/newlib/libc/stdlib/mblen.c
+++ b/newlib/libc/stdlib/mblen.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<mblen>>---minimal multibyte length function
 
diff --git a/newlib/libc/stdlib/mbrlen.c b/newlib/libc/stdlib/mbrlen.c
index 57a733fed..bc8065ade 100644
--- a/newlib/libc/stdlib/mbrlen.c
+++ b/newlib/libc/stdlib/mbrlen.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <[hidden email]>
+ */
 #include <reent.h>
 #include <newlib.h>
 #include <wchar.h>
diff --git a/newlib/libc/stdlib/mbrtowc.c b/newlib/libc/stdlib/mbrtowc.c
index 65284a0eb..12f3bd060 100644
--- a/newlib/libc/stdlib/mbrtowc.c
+++ b/newlib/libc/stdlib/mbrtowc.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <[hidden email]>
+ */
 #include <reent.h>
 #include <newlib.h>
 #include <wchar.h>
diff --git a/newlib/libc/stdlib/mbsinit.c b/newlib/libc/stdlib/mbsinit.c
index e32369ae1..4966b7e23 100644
--- a/newlib/libc/stdlib/mbsinit.c
+++ b/newlib/libc/stdlib/mbsinit.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <[hidden email]>
+ */
 #include <reent.h>
 #include <wchar.h>
 #include <stdlib.h>
diff --git a/newlib/libc/stdlib/mbsnrtowcs.c b/newlib/libc/stdlib/mbsnrtowcs.c
index d3ce25084..194c48d9f 100644
--- a/newlib/libc/stdlib/mbsnrtowcs.c
+++ b/newlib/libc/stdlib/mbsnrtowcs.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
 <<mbsrtowcs>>, <<mbsnrtowcs>>---convert a character string to a wide-character string
diff --git a/newlib/libc/stdlib/mbsrtowcs.c b/newlib/libc/stdlib/mbsrtowcs.c
index 82589c606..346daa393 100644
--- a/newlib/libc/stdlib/mbsrtowcs.c
+++ b/newlib/libc/stdlib/mbsrtowcs.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <[hidden email]>
+ */
 /* doc in mbsnrtowcs.c */
 
 #include <reent.h>
diff --git a/newlib/libc/stdlib/mbstowcs.c b/newlib/libc/stdlib/mbstowcs.c
index 253059cf8..f54be8ff9 100644
--- a/newlib/libc/stdlib/mbstowcs.c
+++ b/newlib/libc/stdlib/mbstowcs.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<mbstowcs>>---minimal multibyte string to wide char converter
 
diff --git a/newlib/libc/stdlib/mbtowc.c b/newlib/libc/stdlib/mbtowc.c
index 2dc413f2d..930eba97f 100644
--- a/newlib/libc/stdlib/mbtowc.c
+++ b/newlib/libc/stdlib/mbtowc.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<mbtowc>>---minimal multibyte to wide char converter
 
diff --git a/newlib/libc/stdlib/mbtowc_r.c b/newlib/libc/stdlib/mbtowc_r.c
index 920a7ea3c..8c2f2c35d 100644
--- a/newlib/libc/stdlib/mbtowc_r.c
+++ b/newlib/libc/stdlib/mbtowc_r.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #include <newlib.h>
 #include <stdlib.h>
 #include <locale.h>
diff --git a/newlib/libc/stdlib/mlock.c b/newlib/libc/stdlib/mlock.c
index 23aa10173..56ee2cc00 100644
--- a/newlib/libc/stdlib/mlock.c
+++ b/newlib/libc/stdlib/mlock.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #ifndef MALLOC_PROVIDED
 /*
 FUNCTION
diff --git a/newlib/libc/stdlib/msize.c b/newlib/libc/stdlib/msize.c
index 108550dcd..231872ac6 100644
--- a/newlib/libc/stdlib/msize.c
+++ b/newlib/libc/stdlib/msize.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #ifndef MALLOC_PROVIDED
 /* msize.c -- a wrapper for malloc_usable_size.  */
 
diff --git a/newlib/libc/stdlib/mstats.c b/newlib/libc/stdlib/mstats.c
index 85c20f1bc..3a2e65dd1 100644
--- a/newlib/libc/stdlib/mstats.c
+++ b/newlib/libc/stdlib/mstats.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 /* VxWorks provides its own version of malloc, and we can't use this
    one because VxWorks does not provide sbrk.  So we have a hook to
    not compile this code.  */
diff --git a/newlib/libc/stdlib/mtrim.c b/newlib/libc/stdlib/mtrim.c
index bf927fa84..0f6772bf1 100644
--- a/newlib/libc/stdlib/mtrim.c
+++ b/newlib/libc/stdlib/mtrim.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #ifndef MALLOC_PROVIDED
 /* mtrim.c -- a wrapper for malloc_trim.  */
 
diff --git a/newlib/libc/stdlib/on_exit_args.c b/newlib/libc/stdlib/on_exit_args.c
index 88f9ffdbd..809aaa426 100644
--- a/newlib/libc/stdlib/on_exit_args.c
+++ b/newlib/libc/stdlib/on_exit_args.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2015 Freddie Chopin <[hidden email]> */
 /*
  * Static instance of _on_exit_args struct.
  *
diff --git a/newlib/libc/stdlib/on_exit_args.h b/newlib/libc/stdlib/on_exit_args.h
index c54ad1ef2..21d05d8ce 100644
--- a/newlib/libc/stdlib/on_exit_args.h
+++ b/newlib/libc/stdlib/on_exit_args.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2015 Freddie Chopin <[hidden email]> */
 #ifndef NEWLIB_CYGWIN_NEWLIB_LIBC_STDLIB_ON_EXIT_ARGS_H_
 #define NEWLIB_CYGWIN_NEWLIB_LIBC_STDLIB_ON_EXIT_ARGS_H_
 
diff --git a/newlib/libc/stdlib/rand.c b/newlib/libc/stdlib/rand.c
index 209cb32ff..27654303a 100644
--- a/newlib/libc/stdlib/rand.c
+++ b/newlib/libc/stdlib/rand.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<rand>>, <<srand>>---pseudo-random numbers
 
diff --git a/newlib/libc/stdlib/rand_r.c b/newlib/libc/stdlib/rand_r.c
index 0670285a0..4127c1b2f 100644
--- a/newlib/libc/stdlib/rand_r.c
+++ b/newlib/libc/stdlib/rand_r.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #include <stdlib.h>
 
 /* Pseudo-random generator based on Minimal Standard by
diff --git a/newlib/libc/stdlib/random.c b/newlib/libc/stdlib/random.c
index 131dc056c..ae443b2ea 100644
--- a/newlib/libc/stdlib/random.c
+++ b/newlib/libc/stdlib/random.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Joel Sherrill <[hidden email]> */
 /*
 FUNCTION
 <<random>>, <<srandom>>---pseudo-random numbers
diff --git a/newlib/libc/stdlib/realloc.c b/newlib/libc/stdlib/realloc.c
index 999e8e00b..3fc8687ea 100644
--- a/newlib/libc/stdlib/realloc.c
+++ b/newlib/libc/stdlib/realloc.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #ifdef MALLOC_PROVIDED
 int _dummy_realloc = 1;
 #else
diff --git a/newlib/libc/stdlib/sb_charsets.c b/newlib/libc/stdlib/sb_charsets.c
index 961eb1573..26f06c8be 100644
--- a/newlib/libc/stdlib/sb_charsets.c
+++ b/newlib/libc/stdlib/sb_charsets.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Corinna Vinschen <[hidden email]> */
 #include <newlib.h>
 #include <wchar.h>
 
diff --git a/newlib/libc/stdlib/std.h b/newlib/libc/stdlib/std.h
index c000a67c6..7cf569e45 100644
--- a/newlib/libc/stdlib/std.h
+++ b/newlib/libc/stdlib/std.h
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex
index 75d80f4d6..e05b6e75c 100644
--- a/newlib/libc/stdlib/stdlib.tex
+++ b/newlib/libc/stdlib/stdlib.tex
@@ -1,3 +1,7 @@
+#
+#Copyright (c) 1990 Regents of the University of California.
+#All rights reserved.
+#
 @node Stdlib
 @chapter Standard Utility Functions (@file{stdlib.h})
 
diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c
index f30b7df80..73b8cf697 100644
--- a/newlib/libc/stdlib/system.c
+++ b/newlib/libc/stdlib/system.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<system>>---execute command string
 
diff --git a/newlib/libc/stdlib/utoa.c b/newlib/libc/stdlib/utoa.c
index 5ef304ce4..45c385adc 100644
--- a/newlib/libc/stdlib/utoa.c
+++ b/newlib/libc/stdlib/utoa.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2014 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
 <<utoa>>---unsigned integer to string
diff --git a/newlib/libc/stdlib/valloc.c b/newlib/libc/stdlib/valloc.c
index 025386663..98b34d905 100644
--- a/newlib/libc/stdlib/valloc.c
+++ b/newlib/libc/stdlib/valloc.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #ifndef MALLOC_PROVIDED
 /* valloc.c -- a wrapper for valloc_r and pvalloc_r.  */
 
diff --git a/newlib/libc/stdlib/wcrtomb.c b/newlib/libc/stdlib/wcrtomb.c
index 97436cb74..2a672bbf2 100644
--- a/newlib/libc/stdlib/wcrtomb.c
+++ b/newlib/libc/stdlib/wcrtomb.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <[hidden email]>
+ */
 #include <reent.h>
 #include <newlib.h>
 #include <wchar.h>
diff --git a/newlib/libc/stdlib/wcsnrtombs.c b/newlib/libc/stdlib/wcsnrtombs.c
index 43dd2f3e6..21229575b 100644
--- a/newlib/libc/stdlib/wcsnrtombs.c
+++ b/newlib/libc/stdlib/wcsnrtombs.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
 <<wcsrtombs>>, <<wcsnrtombs>>---convert a wide-character string to a character string
diff --git a/newlib/libc/stdlib/wcsrtombs.c b/newlib/libc/stdlib/wcsrtombs.c
index dc4807d2a..1cd94454f 100644
--- a/newlib/libc/stdlib/wcsrtombs.c
+++ b/newlib/libc/stdlib/wcsrtombs.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <[hidden email]>
+ */
 /* Doc in wcsnrtombs.c */
 
 #include <reent.h>
diff --git a/newlib/libc/stdlib/wcstoll_r.c b/newlib/libc/stdlib/wcstoll_r.c
index 2997587d8..d5f70a931 100644
--- a/newlib/libc/stdlib/wcstoll_r.c
+++ b/newlib/libc/stdlib/wcstoll_r.c
@@ -1 +1,29 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* dummy */
diff --git a/newlib/libc/stdlib/wcstombs.c b/newlib/libc/stdlib/wcstombs.c
index 42be54055..180eabb40 100644
--- a/newlib/libc/stdlib/wcstombs.c
+++ b/newlib/libc/stdlib/wcstombs.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<wcstombs>>---minimal wide char string to multibyte string converter
 
diff --git a/newlib/libc/stdlib/wcstoull_r.c b/newlib/libc/stdlib/wcstoull_r.c
index 2997587d8..d5f70a931 100644
--- a/newlib/libc/stdlib/wcstoull_r.c
+++ b/newlib/libc/stdlib/wcstoull_r.c
@@ -1 +1,29 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
 /* dummy */
diff --git a/newlib/libc/stdlib/wctob.c b/newlib/libc/stdlib/wctob.c
index 61365a178..7cdfe47aa 100644
--- a/newlib/libc/stdlib/wctob.c
+++ b/newlib/libc/stdlib/wctob.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <[hidden email]>
+ */
 #include <reent.h>
 #include <wchar.h>
 #include <stdio.h>
diff --git a/newlib/libc/stdlib/wctomb.c b/newlib/libc/stdlib/wctomb.c
index e908d22c2..b0e74eb7d 100644
--- a/newlib/libc/stdlib/wctomb.c
+++ b/newlib/libc/stdlib/wctomb.c
@@ -1,4 +1,8 @@
 /*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
 FUNCTION
 <<wctomb>>---minimal wide char to multibyte converter
 
diff --git a/newlib/libc/stdlib/wctomb_r.c b/newlib/libc/stdlib/wctomb_r.c
index b4799341e..1fdca1b44 100644
--- a/newlib/libc/stdlib/wctomb_r.c
+++ b/newlib/libc/stdlib/wctomb_r.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
 #include <errno.h>
 #include <stdlib.h>
 #include <string.h>
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 18/27] Add missing copyrights in newlib/libc/string

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/string/WIDTH-A          |  1 +
 newlib/libc/string/ambiguous.t      |  1 +
 newlib/libc/string/bcmp.c           | 16 ++++++++++++++++
 newlib/libc/string/bcopy.c          | 16 ++++++++++++++++
 newlib/libc/string/bzero.c          | 16 ++++++++++++++++
 newlib/libc/string/combining.t      |  1 +
 newlib/libc/string/explicit_bzero.c |  2 +-
 newlib/libc/string/index.c          | 16 ++++++++++++++++
 newlib/libc/string/local.h          |  1 +
 newlib/libc/string/memccpy.c        |  1 +
 newlib/libc/string/memchr.c         | 16 ++++++++++++++++
 newlib/libc/string/memcmp.c         | 16 ++++++++++++++++
 newlib/libc/string/memcpy.c         | 16 ++++++++++++++++
 newlib/libc/string/memmove.c        | 16 ++++++++++++++++
 newlib/libc/string/mempcpy.c        |  3 +++
 newlib/libc/string/memrchr.c        |  1 +
 newlib/libc/string/memset.c         | 16 ++++++++++++++++
 newlib/libc/string/mkunidata        |  1 +
 newlib/libc/string/mkwide           |  1 +
 newlib/libc/string/mkwidthA         |  1 +
 newlib/libc/string/rawmemchr.c      |  1 +
 newlib/libc/string/rindex.c         | 16 ++++++++++++++++
 newlib/libc/string/stpcpy.c         |  1 +
 newlib/libc/string/stpncpy.c        |  3 +++
 newlib/libc/string/strcasecmp.c     | 16 ++++++++++++++++
 newlib/libc/string/strcasecmp_l.c   |  1 +
 newlib/libc/string/strcat.c         | 16 ++++++++++++++++
 newlib/libc/string/strchr.c         | 16 ++++++++++++++++
 newlib/libc/string/strchrnul.c      |  1 +
 newlib/libc/string/strcmp.c         | 16 ++++++++++++++++
 newlib/libc/string/strcoll.c        | 16 ++++++++++++++++
 newlib/libc/string/strcoll_l.c      |  3 +++
 newlib/libc/string/strcpy.c         | 16 ++++++++++++++++
 newlib/libc/string/strcspn.c        | 16 ++++++++++++++++
 newlib/libc/string/strdup.c         |  3 +++
 newlib/libc/string/strdup_r.c       |  3 +++
 newlib/libc/string/strerror.c       | 16 ++++++++++++++++
 newlib/libc/string/strerror_r.c     |  1 +
 newlib/libc/string/strings.tex      | 16 ++++++++++++++++
 newlib/libc/string/strlen.c         | 16 ++++++++++++++++
 newlib/libc/string/strlwr.c         | 16 ++++++++++++++++
 newlib/libc/string/strncasecmp.c    | 16 ++++++++++++++++
 newlib/libc/string/strncasecmp_l.c  |  3 +++
 newlib/libc/string/strncat.c        | 16 ++++++++++++++++
 newlib/libc/string/strncmp.c        | 16 ++++++++++++++++
 newlib/libc/string/strncpy.c        | 16 ++++++++++++++++
 newlib/libc/string/strndup.c        |  3 +++
 newlib/libc/string/strndup_r.c      |  3 +++
 newlib/libc/string/strnlen.c        |  1 +
 newlib/libc/string/strnstr.c        |  1 +
 newlib/libc/string/strpbrk.c        | 16 ++++++++++++++++
 newlib/libc/string/strrchr.c        | 16 ++++++++++++++++
 newlib/libc/string/strspn.c         | 16 ++++++++++++++++
 newlib/libc/string/strstr.c         | 16 ++++++++++++++++
 newlib/libc/string/strtok.c         | 16 ++++++++++++++++
 newlib/libc/string/strupr.c         | 16 ++++++++++++++++
 newlib/libc/string/strxfrm.c        | 16 ++++++++++++++++
 newlib/libc/string/strxfrm_l.c      |  3 +++
 newlib/libc/string/swab.c           |  1 +
 newlib/libc/string/u_strerr.c       | 16 ++++++++++++++++
 newlib/libc/string/uniset           |  1 +
 newlib/libc/string/wcpcpy.c         |  1 +
 newlib/libc/string/wcpncpy.c        |  1 +
 newlib/libc/string/wcscasecmp.c     |  1 +
 newlib/libc/string/wcscasecmp_l.c   |  3 +++
 newlib/libc/string/wcscoll.c        |  1 +
 newlib/libc/string/wcscoll_l.c      |  3 +++
 newlib/libc/string/wcsdup.c         |  1 +
 newlib/libc/string/wcsncasecmp.c    |  1 +
 newlib/libc/string/wcsncasecmp_l.c  |  3 +++
 newlib/libc/string/wcsncpy.c        | 25 +++++++++++++++++++++++++
 newlib/libc/string/wcswidth.c       |  3 +++
 newlib/libc/string/wcsxfrm.c        |  1 +
 newlib/libc/string/wcsxfrm_l.c      |  3 +++
 newlib/libc/string/wcwidth.c        |  1 +
 newlib/libc/string/wide.t           |  1 +
 newlib/libc/string/wmempcpy.c       |  1 +
 newlib/libc/string/xpg_strerror_r.c |  1 +
 78 files changed, 625 insertions(+), 1 deletion(-)

diff --git a/newlib/libc/string/WIDTH-A b/newlib/libc/string/WIDTH-A
index 51e8f2339..593b2b262 100644
--- a/newlib/libc/string/WIDTH-A
+++ b/newlib/libc/string/WIDTH-A
@@ -1,3 +1,4 @@
+# This file is automatically generated
 # UAX #11: East Asian Ambiguous
 
 # Plane 00
diff --git a/newlib/libc/string/ambiguous.t b/newlib/libc/string/ambiguous.t
index f8b78428e..52d1a406b 100644
--- a/newlib/libc/string/ambiguous.t
+++ b/newlib/libc/string/ambiguous.t
@@ -1,3 +1,4 @@
+/* This file is automatically generated */
 {
   { 0x00A1, 0x00A1 }, { 0x00A4, 0x00A4 }, { 0x00A7, 0x00A8 },
   { 0x00AA, 0x00AA }, { 0x00AE, 0x00AE }, { 0x00B0, 0x00B4 },
diff --git a/newlib/libc/string/bcmp.c b/newlib/libc/string/bcmp.c
index 747f8af51..44e5fc47b 100644
--- a/newlib/libc/string/bcmp.c
+++ b/newlib/libc/string/bcmp.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<bcmp>>---compare two memory areas
 
diff --git a/newlib/libc/string/bcopy.c b/newlib/libc/string/bcopy.c
index d8bdeb57f..412faef43 100644
--- a/newlib/libc/string/bcopy.c
+++ b/newlib/libc/string/bcopy.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+*/
+/*
 FUNCTION
  <<bcopy>>---copy memory regions
 
diff --git a/newlib/libc/string/bzero.c b/newlib/libc/string/bzero.c
index dc52170c5..fba7ea0a7 100644
--- a/newlib/libc/string/bzero.c
+++ b/newlib/libc/string/bzero.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
 <<bzero>>---initialize memory to zero
 
diff --git a/newlib/libc/string/combining.t b/newlib/libc/string/combining.t
index 105cacbdf..f473d0142 100644
--- a/newlib/libc/string/combining.t
+++ b/newlib/libc/string/combining.t
@@ -1,3 +1,4 @@
+/* This file is automatically generated */
 {
   { 0x0300, 0x036F }, { 0x0483, 0x0489 }, { 0x0591, 0x05BD },
   { 0x05BF, 0x05BF }, { 0x05C1, 0x05C2 }, { 0x05C4, 0x05C5 },
diff --git a/newlib/libc/string/explicit_bzero.c b/newlib/libc/string/explicit_bzero.c
index 5124df23c..b3fa78ae8 100644
--- a/newlib/libc/string/explicit_bzero.c
+++ b/newlib/libc/string/explicit_bzero.c
@@ -1,7 +1,7 @@
 /* $OpenBSD: explicit_bzero.c,v 1.2 2014/06/10 04:17:37 deraadt Exp $ */
 /*
+ * Copyright (c) 2014 Ted Unangst
  * Public domain.
- * Written by Ted Unangst
  */
 
 #include <string.h>
diff --git a/newlib/libc/string/index.c b/newlib/libc/string/index.c
index 4a6788512..8c34158d6 100644
--- a/newlib/libc/string/index.c
+++ b/newlib/libc/string/index.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<index>>---search for character in string
 
diff --git a/newlib/libc/string/local.h b/newlib/libc/string/local.h
index 8d364fdaa..1073c9e19 100644
--- a/newlib/libc/string/local.h
+++ b/newlib/libc/string/local.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Corinna Vinschen <[hidden email]> */
 #include <_ansi.h>
 #include <../ctype/local.h>
 
diff --git a/newlib/libc/string/memccpy.c b/newlib/libc/string/memccpy.c
index 1f5f55c50..75e15ed28 100644
--- a/newlib/libc/string/memccpy.c
+++ b/newlib/libc/string/memccpy.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /*
 FUNCTION
         <<memccpy>>---copy memory regions with end-token check
diff --git a/newlib/libc/string/memchr.c b/newlib/libc/string/memchr.c
index 21bc4d879..b17ef4b70 100644
--- a/newlib/libc/string/memchr.c
+++ b/newlib/libc/string/memchr.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<memchr>>---find character in memory
 
diff --git a/newlib/libc/string/memcmp.c b/newlib/libc/string/memcmp.c
index 342fb9fbc..a61646d32 100644
--- a/newlib/libc/string/memcmp.c
+++ b/newlib/libc/string/memcmp.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<memcmp>>---compare two memory areas
 
diff --git a/newlib/libc/string/memcpy.c b/newlib/libc/string/memcpy.c
index 52f716b92..be71e7e75 100644
--- a/newlib/libc/string/memcpy.c
+++ b/newlib/libc/string/memcpy.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
         <<memcpy>>---copy memory regions
 
diff --git a/newlib/libc/string/memmove.c b/newlib/libc/string/memmove.c
index da5dfdbdd..87d26034a 100644
--- a/newlib/libc/string/memmove.c
+++ b/newlib/libc/string/memmove.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<memmove>>---move possibly overlapping memory
 
diff --git a/newlib/libc/string/mempcpy.c b/newlib/libc/string/mempcpy.c
index 129165603..96e7173eb 100644
--- a/newlib/libc/string/mempcpy.c
+++ b/newlib/libc/string/mempcpy.c
@@ -1,4 +1,7 @@
 /*
+Copyright (c) 2002 Jeff Johnston <[hidden email]>
+ */
+/*
 FUNCTION
         <<mempcpy>>---copy memory regions and return end pointer
 
diff --git a/newlib/libc/string/memrchr.c b/newlib/libc/string/memrchr.c
index 652efb359..05f686455 100644
--- a/newlib/libc/string/memrchr.c
+++ b/newlib/libc/string/memrchr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2012 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<memrchr>>---reverse search for character in memory
diff --git a/newlib/libc/string/memset.c b/newlib/libc/string/memset.c
index e8e667a24..8c95d40bc 100644
--- a/newlib/libc/string/memset.c
+++ b/newlib/libc/string/memset.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<memset>>---set an area of memory
 
diff --git a/newlib/libc/string/mkunidata b/newlib/libc/string/mkunidata
index 7ebebeb07..745f01e6d 100755
--- a/newlib/libc/string/mkunidata
+++ b/newlib/libc/string/mkunidata
@@ -1,4 +1,5 @@
 #! /bin/sh
+# Copyright(c) 2018 Thomas Wolff <[hidden email]>
 
 echo Generating Unicode width data for newlib/libc/string/wcwidth.c
 
diff --git a/newlib/libc/string/mkwide b/newlib/libc/string/mkwide
index 55a0bab43..1a285f34f 100755
--- a/newlib/libc/string/mkwide
+++ b/newlib/libc/string/mkwide
@@ -1,4 +1,5 @@
 #! /bin/sh
+# Copyright(c) 2018 Thomas Wolff <[hidden email]>
 
 # generate list of wide characters, with convex closure
 
diff --git a/newlib/libc/string/mkwidthA b/newlib/libc/string/mkwidthA
index 343ab4016..9caa0ab10 100755
--- a/newlib/libc/string/mkwidthA
+++ b/newlib/libc/string/mkwidthA
@@ -1,4 +1,5 @@
 #! /bin/sh
+# Copyright(c) 2018 Thomas Wolff <[hidden email]>
 
 # generate WIDTH-A file, listing Unicode characters with width property
 # Ambiguous, from EastAsianWidth.txt
diff --git a/newlib/libc/string/rawmemchr.c b/newlib/libc/string/rawmemchr.c
index 56e2b5e2d..2546d219f 100644
--- a/newlib/libc/string/rawmemchr.c
+++ b/newlib/libc/string/rawmemchr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2013 Yaakov Selkowitz <[hidden email]> */
 /*
 FUNCTION
  <<rawmemchr>>---find character in memory
diff --git a/newlib/libc/string/rindex.c b/newlib/libc/string/rindex.c
index 39e5aa2da..c44e67e49 100644
--- a/newlib/libc/string/rindex.c
+++ b/newlib/libc/string/rindex.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<rindex>>---reverse search for character in string
 
diff --git a/newlib/libc/string/stpcpy.c b/newlib/libc/string/stpcpy.c
index 4e2ae9fe0..f4ef5cda3 100644
--- a/newlib/libc/string/stpcpy.c
+++ b/newlib/libc/string/stpcpy.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<stpcpy>>---copy string returning a pointer to its end
diff --git a/newlib/libc/string/stpncpy.c b/newlib/libc/string/stpncpy.c
index 87fe268cf..ec5ff74df 100644
--- a/newlib/libc/string/stpncpy.c
+++ b/newlib/libc/string/stpncpy.c
@@ -1,4 +1,7 @@
 /*
+Copyright (c) 2007 Corinna Vinschen <[hidden email]>
+ */
+/*
 FUNCTION
  <<stpncpy>>---counted copy string returning a pointer to its end
 
diff --git a/newlib/libc/string/strcasecmp.c b/newlib/libc/string/strcasecmp.c
index c75a3e20d..f6b1281a4 100644
--- a/newlib/libc/string/strcasecmp.c
+++ b/newlib/libc/string/strcasecmp.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strcasecmp>>---case-insensitive character string compare
 
diff --git a/newlib/libc/string/strcasecmp_l.c b/newlib/libc/string/strcasecmp_l.c
index 587f56ee1..85504c8f8 100644
--- a/newlib/libc/string/strcasecmp_l.c
+++ b/newlib/libc/string/strcasecmp_l.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<strcasecmp_l>>---case-insensitive character string compare
diff --git a/newlib/libc/string/strcat.c b/newlib/libc/string/strcat.c
index 92313c492..cecb05622 100644
--- a/newlib/libc/string/strcat.c
+++ b/newlib/libc/string/strcat.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strcat>>---concatenate strings
 
diff --git a/newlib/libc/string/strchr.c b/newlib/libc/string/strchr.c
index 96f30be04..b88eb8fc4 100644
--- a/newlib/libc/string/strchr.c
+++ b/newlib/libc/string/strchr.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strchr>>---search for character in string
 
diff --git a/newlib/libc/string/strchrnul.c b/newlib/libc/string/strchrnul.c
index f5c3eb25d..51555acb6 100644
--- a/newlib/libc/string/strchrnul.c
+++ b/newlib/libc/string/strchrnul.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2011 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<strchrnul>>---search for character in string
diff --git a/newlib/libc/string/strcmp.c b/newlib/libc/string/strcmp.c
index 894424a69..bd9321518 100644
--- a/newlib/libc/string/strcmp.c
+++ b/newlib/libc/string/strcmp.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strcmp>>---character string compare
 
diff --git a/newlib/libc/string/strcoll.c b/newlib/libc/string/strcoll.c
index 7fa8d1373..4f39df823 100644
--- a/newlib/libc/string/strcoll.c
+++ b/newlib/libc/string/strcoll.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strcoll>>---locale-specific character string compare
 
diff --git a/newlib/libc/string/strcoll_l.c b/newlib/libc/string/strcoll_l.c
index 89a7d0535..20939fe4b 100644
--- a/newlib/libc/string/strcoll_l.c
+++ b/newlib/libc/string/strcoll_l.c
@@ -1,4 +1,7 @@
 /*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+ */
+/*
 FUNCTION
  <<strcoll_l>>---locale-specific character string compare
 
diff --git a/newlib/libc/string/strcpy.c b/newlib/libc/string/strcpy.c
index 94e16b512..d466c0cf7 100644
--- a/newlib/libc/string/strcpy.c
+++ b/newlib/libc/string/strcpy.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strcpy>>---copy string
 
diff --git a/newlib/libc/string/strcspn.c b/newlib/libc/string/strcspn.c
index abaa93ad6..4056bf7b8 100644
--- a/newlib/libc/string/strcspn.c
+++ b/newlib/libc/string/strcspn.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strcspn>>---count characters not in string
 
diff --git a/newlib/libc/string/strdup.c b/newlib/libc/string/strdup.c
index 3f2a0264c..2746fdbb0 100644
--- a/newlib/libc/string/strdup.c
+++ b/newlib/libc/string/strdup.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Jeff Johnston <[hidden email]>
+ */
 #ifndef _REENT_ONLY
 
 #include <reent.h>
diff --git a/newlib/libc/string/strdup_r.c b/newlib/libc/string/strdup_r.c
index 14c80f73f..dd40bd34f 100644
--- a/newlib/libc/string/strdup_r.c
+++ b/newlib/libc/string/strdup_r.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Jeff Johnston <[hidden email]>
+ */
 #include <reent.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/newlib/libc/string/strerror.c b/newlib/libc/string/strerror.c
index c1b934696..9b1e1daae 100644
--- a/newlib/libc/string/strerror.c
+++ b/newlib/libc/string/strerror.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /***
 **** CAUTION!!! KEEP DOC CONSISTENT---if you change text of a message
 ****            here, change two places:
diff --git a/newlib/libc/string/strerror_r.c b/newlib/libc/string/strerror_r.c
index 660fee869..96d90d25b 100644
--- a/newlib/libc/string/strerror_r.c
+++ b/newlib/libc/string/strerror_r.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /* GNU variant of strerror_r. */
 /*
 FUNCTION
diff --git a/newlib/libc/string/strings.tex b/newlib/libc/string/strings.tex
index 6aec5fe0e..7d297fbea 100644
--- a/newlib/libc/string/strings.tex
+++ b/newlib/libc/string/strings.tex
@@ -1,3 +1,19 @@
+#
+#Copyright (c) 1994 Cygnus Support.
+#All rights reserved.
+#
+#Redistribution and use in source and binary forms are permitted
+#provided that the above copyright notice and this paragraph are
+#duplicated in all such forms and that any documentation,
+#and/or other materials related to such
+#distribution and use acknowledge that the software was developed
+#at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+#endorse or promote products derived from this software without
+#specific prior written permission.
+#THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+#IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
 @node Strings
 @chapter Strings and Memory (@file{string.h})
 
diff --git a/newlib/libc/string/strlen.c b/newlib/libc/string/strlen.c
index acffa49e1..31bf20922 100644
--- a/newlib/libc/string/strlen.c
+++ b/newlib/libc/string/strlen.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strlen>>---character string length
 
diff --git a/newlib/libc/string/strlwr.c b/newlib/libc/string/strlwr.c
index 7211c5917..507b80c25 100644
--- a/newlib/libc/string/strlwr.c
+++ b/newlib/libc/string/strlwr.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strlwr>>---force string to lowercase
 
diff --git a/newlib/libc/string/strncasecmp.c b/newlib/libc/string/strncasecmp.c
index 09dd98bf5..b0f4c534c 100644
--- a/newlib/libc/string/strncasecmp.c
+++ b/newlib/libc/string/strncasecmp.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strncasecmp>>---case-insensitive character string compare
 
diff --git a/newlib/libc/string/strncasecmp_l.c b/newlib/libc/string/strncasecmp_l.c
index b15c6c545..38f594c8e 100644
--- a/newlib/libc/string/strncasecmp_l.c
+++ b/newlib/libc/string/strncasecmp_l.c
@@ -1,4 +1,7 @@
 /*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+ */
+/*
 FUNCTION
  <<strncasecmp_l>>---case-insensitive character string compare
 
diff --git a/newlib/libc/string/strncat.c b/newlib/libc/string/strncat.c
index 7351913f9..dd5ffda80 100644
--- a/newlib/libc/string/strncat.c
+++ b/newlib/libc/string/strncat.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strncat>>---concatenate strings
 
diff --git a/newlib/libc/string/strncmp.c b/newlib/libc/string/strncmp.c
index 16f8a7729..fb3bd177f 100644
--- a/newlib/libc/string/strncmp.c
+++ b/newlib/libc/string/strncmp.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strncmp>>---character string compare
 
diff --git a/newlib/libc/string/strncpy.c b/newlib/libc/string/strncpy.c
index e7eb34d72..1745c5220 100644
--- a/newlib/libc/string/strncpy.c
+++ b/newlib/libc/string/strncpy.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strncpy>>---counted copy string
 
diff --git a/newlib/libc/string/strndup.c b/newlib/libc/string/strndup.c
index 3ac890a8c..28671a58c 100644
--- a/newlib/libc/string/strndup.c
+++ b/newlib/libc/string/strndup.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Jeff Johnston <[hidden email]>
+ */
 #ifndef _REENT_ONLY
 
 #include <_ansi.h>
diff --git a/newlib/libc/string/strndup_r.c b/newlib/libc/string/strndup_r.c
index 1b6cf84e5..96faa296f 100644
--- a/newlib/libc/string/strndup_r.c
+++ b/newlib/libc/string/strndup_r.c
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Jeff Johnston <[hidden email]>
+ */
 #include <reent.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/newlib/libc/string/strnlen.c b/newlib/libc/string/strnlen.c
index 3ee18d1c0..aa294c4cf 100644
--- a/newlib/libc/string/strnlen.c
+++ b/newlib/libc/string/strnlen.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /*
 FUNCTION
  <<strnlen>>---character string length
diff --git a/newlib/libc/string/strnstr.c b/newlib/libc/string/strnstr.c
index cb5f71914..629cb2106 100644
--- a/newlib/libc/string/strnstr.c
+++ b/newlib/libc/string/strnstr.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2017 Sichen Zhao <[hidden email]> */
 /*
 FUNCTION
  <<strnstr>>---find string segment
diff --git a/newlib/libc/string/strpbrk.c b/newlib/libc/string/strpbrk.c
index 774db1e6d..e04bea81f 100644
--- a/newlib/libc/string/strpbrk.c
+++ b/newlib/libc/string/strpbrk.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strpbrk>>---find characters in string
 
diff --git a/newlib/libc/string/strrchr.c b/newlib/libc/string/strrchr.c
index 04897e162..95662e35e 100644
--- a/newlib/libc/string/strrchr.c
+++ b/newlib/libc/string/strrchr.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strrchr>>---reverse search for character in string
 
diff --git a/newlib/libc/string/strspn.c b/newlib/libc/string/strspn.c
index baf239947..5446838e4 100644
--- a/newlib/libc/string/strspn.c
+++ b/newlib/libc/string/strspn.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strspn>>---find initial match
 
diff --git a/newlib/libc/string/strstr.c b/newlib/libc/string/strstr.c
index 00fe060e9..3ce792892 100644
--- a/newlib/libc/string/strstr.c
+++ b/newlib/libc/string/strstr.c
@@ -27,6 +27,22 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
 
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strstr>>---find string segment
 
diff --git a/newlib/libc/string/strtok.c b/newlib/libc/string/strtok.c
index 801f51aca..7f12678dc 100644
--- a/newlib/libc/string/strtok.c
+++ b/newlib/libc/string/strtok.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strtok>>, <<strtok_r>>, <<strsep>>---get next token from a string
 
diff --git a/newlib/libc/string/strupr.c b/newlib/libc/string/strupr.c
index a175d5c57..f324cd82a 100644
--- a/newlib/libc/string/strupr.c
+++ b/newlib/libc/string/strupr.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strupr>>---force string to uppercase
 
diff --git a/newlib/libc/string/strxfrm.c b/newlib/libc/string/strxfrm.c
index c5df0bcd5..7af4b8bde 100644
--- a/newlib/libc/string/strxfrm.c
+++ b/newlib/libc/string/strxfrm.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
  <<strxfrm>>---transform string
 
diff --git a/newlib/libc/string/strxfrm_l.c b/newlib/libc/string/strxfrm_l.c
index 0ac52432c..08229e78b 100644
--- a/newlib/libc/string/strxfrm_l.c
+++ b/newlib/libc/string/strxfrm_l.c
@@ -1,4 +1,7 @@
 /*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+ */
+/*
 FUNCTION
  <<strxfrm_l>>---transform string
 
diff --git a/newlib/libc/string/swab.c b/newlib/libc/string/swab.c
index 28ab978bd..c9f9b2e4e 100644
--- a/newlib/libc/string/swab.c
+++ b/newlib/libc/string/swab.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2000 Alexandre Oliva <[hidden email]> */
 /*
 FUNCTION
  <<swab>>---swap adjacent bytes
diff --git a/newlib/libc/string/u_strerr.c b/newlib/libc/string/u_strerr.c
index cde05adb2..e7e832ce5 100644
--- a/newlib/libc/string/u_strerr.c
+++ b/newlib/libc/string/u_strerr.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 #include <_ansi.h>
 
 char *
diff --git a/newlib/libc/string/uniset b/newlib/libc/string/uniset
index 85d3b2a6f..d6660a46f 100755
--- a/newlib/libc/string/uniset
+++ b/newlib/libc/string/uniset
@@ -1,4 +1,5 @@
 #!/usr/bin/perl
+# Copyright (c) 2018 Markus Kuhn
 # Uniset -- Unicode subset manager -- Markus Kuhn
 # http://www.cl.cam.ac.uk/~mgk25/download/uniset.tar.gz
 
diff --git a/newlib/libc/string/wcpcpy.c b/newlib/libc/string/wcpcpy.c
index 76c5311f1..bd05751d9 100644
--- a/newlib/libc/string/wcpcpy.c
+++ b/newlib/libc/string/wcpcpy.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<wcpcpy>>---copy a wide-character string returning a pointer to its end
diff --git a/newlib/libc/string/wcpncpy.c b/newlib/libc/string/wcpncpy.c
index d4e8bcfcd..59fc9c1d5 100644
--- a/newlib/libc/string/wcpncpy.c
+++ b/newlib/libc/string/wcpncpy.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<wcpncpy>>---copy part of a wide-character string returning a pointer to its end
diff --git a/newlib/libc/string/wcscasecmp.c b/newlib/libc/string/wcscasecmp.c
index b8623ba06..2c80e304c 100644
--- a/newlib/libc/string/wcscasecmp.c
+++ b/newlib/libc/string/wcscasecmp.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<wcscasecmp>>---case-insensitive wide character string compare
diff --git a/newlib/libc/string/wcscasecmp_l.c b/newlib/libc/string/wcscasecmp_l.c
index 3c58d8f50..6e3c0b2ff 100644
--- a/newlib/libc/string/wcscasecmp_l.c
+++ b/newlib/libc/string/wcscasecmp_l.c
@@ -1,4 +1,7 @@
 /*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+ */
+/*
 FUNCTION
  <<wcscasecmp_l>>---case-insensitive wide character string compare
 
diff --git a/newlib/libc/string/wcscoll.c b/newlib/libc/string/wcscoll.c
index 4bbf39c9a..6fce232f8 100644
--- a/newlib/libc/string/wcscoll.c
+++ b/newlib/libc/string/wcscoll.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2003 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<wcscoll>>---locale-specific wide-character string compare
diff --git a/newlib/libc/string/wcscoll_l.c b/newlib/libc/string/wcscoll_l.c
index 2c9df5244..3db07b5a5 100644
--- a/newlib/libc/string/wcscoll_l.c
+++ b/newlib/libc/string/wcscoll_l.c
@@ -1,4 +1,7 @@
 /*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+ */
+/*
 FUNCTION
  <<wcscoll_l>>---locale-specific wide-character string compare
 
diff --git a/newlib/libc/string/wcsdup.c b/newlib/libc/string/wcsdup.c
index e0e97c0bd..40659333c 100644
--- a/newlib/libc/string/wcsdup.c
+++ b/newlib/libc/string/wcsdup.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<wcsdup>>---wide character string duplicate
diff --git a/newlib/libc/string/wcsncasecmp.c b/newlib/libc/string/wcsncasecmp.c
index b77952ac3..5cd32a707 100644
--- a/newlib/libc/string/wcsncasecmp.c
+++ b/newlib/libc/string/wcsncasecmp.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<wcsncasecmp>>---case-insensitive wide character string compare
diff --git a/newlib/libc/string/wcsncasecmp_l.c b/newlib/libc/string/wcsncasecmp_l.c
index f276635d7..fe27551b0 100644
--- a/newlib/libc/string/wcsncasecmp_l.c
+++ b/newlib/libc/string/wcsncasecmp_l.c
@@ -1,4 +1,7 @@
 /*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+ */
+/*
 FUNCTION
  <<wcsncasecmp_l>>---case-insensitive wide character string compare
 
diff --git a/newlib/libc/string/wcsncpy.c b/newlib/libc/string/wcsncpy.c
index 9b103b1bd..20f4321b5 100644
--- a/newlib/libc/string/wcsncpy.c
+++ b/newlib/libc/string/wcsncpy.c
@@ -1,4 +1,29 @@
 /*
+Copyright (c)1999 Citrus Project,
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
+/*
 FUNCTION
  <<wcsncpy>>---copy part of a wide-character string
 
diff --git a/newlib/libc/string/wcswidth.c b/newlib/libc/string/wcswidth.c
index 4be7b8ae8..f4dc9e29d 100644
--- a/newlib/libc/string/wcswidth.c
+++ b/newlib/libc/string/wcswidth.c
@@ -1,4 +1,7 @@
 /*
+Copyright (c) 2003 Corinna Vinschen <[hidden email]>
+ */
+/*
 FUNCTION
  <<wcswidth>>---number of column positions of a wide-character string
 
diff --git a/newlib/libc/string/wcsxfrm.c b/newlib/libc/string/wcsxfrm.c
index 72b3c5bd0..837f921ce 100644
--- a/newlib/libc/string/wcsxfrm.c
+++ b/newlib/libc/string/wcsxfrm.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2007 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<wcsxfrm>>---locale-specific wide-character string transformation
diff --git a/newlib/libc/string/wcsxfrm_l.c b/newlib/libc/string/wcsxfrm_l.c
index bfc4ae56b..d09a9ab43 100644
--- a/newlib/libc/string/wcsxfrm_l.c
+++ b/newlib/libc/string/wcsxfrm_l.c
@@ -1,4 +1,7 @@
 /*
+Copyright (c) 2016 Corinna Vinschen <[hidden email]>
+ */
+/*
 FUNCTION
  <<wcsxfrm_l>>---locale-specific wide-character string transformation
 
diff --git a/newlib/libc/string/wcwidth.c b/newlib/libc/string/wcwidth.c
index 62e76edc3..40c014344 100644
--- a/newlib/libc/string/wcwidth.c
+++ b/newlib/libc/string/wcwidth.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2003 Corinna Vinschen <[hidden email]> */
 /*
 FUNCTION
  <<wcwidth>>---number of column positions of a wide-character code
diff --git a/newlib/libc/string/wide.t b/newlib/libc/string/wide.t
index d33a5954e..1e6d85696 100644
--- a/newlib/libc/string/wide.t
+++ b/newlib/libc/string/wide.t
@@ -1,3 +1,4 @@
+/* This file is automatically generated */
 //# EastAsianWidth-11.0.0.txt
 //# Blocks-11.0.0.txt
 {
diff --git a/newlib/libc/string/wmempcpy.c b/newlib/libc/string/wmempcpy.c
index 98983f968..9f3e01e0c 100644
--- a/newlib/libc/string/wmempcpy.c
+++ b/newlib/libc/string/wmempcpy.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2017 Yaakov Selkowitz <[hidden email]> */
 /*
 FUNCTION
  <<wmempcpy>>---copy wide characters in memory and return end pointer
diff --git a/newlib/libc/string/xpg_strerror_r.c b/newlib/libc/string/xpg_strerror_r.c
index 66e693611..f678dc34d 100644
--- a/newlib/libc/string/xpg_strerror_r.c
+++ b/newlib/libc/string/xpg_strerror_r.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2011 Eric Blake <[hidden email]> */
 /* POSIX variant of strerror_r. */
 #undef __STRICT_ANSI__
 #include <errno.h>
--
2.25.0

Reply | Threaded
Open this post in threaded view
|

[PATCH 19/27] Add missing copyright information to newlib/libc/time

Keith Packard
In reply to this post by Keith Packard
Signed-off-by: Keith Packard <[hidden email]>
---
 newlib/libc/time/asctime.c       | 16 ++++++++++++++++
 newlib/libc/time/asctime_r.c     | 16 ++++++++++++++++
 newlib/libc/time/clock.c         | 16 ++++++++++++++++
 newlib/libc/time/ctime.c         | 16 ++++++++++++++++
 newlib/libc/time/ctime_r.c       | 16 ++++++++++++++++
 newlib/libc/time/difftime.c      | 16 ++++++++++++++++
 newlib/libc/time/gettzinfo.c     |  1 +
 newlib/libc/time/gmtime.c        | 16 ++++++++++++++++
 newlib/libc/time/gmtime_r.c      | 16 ++++++++++++++++
 newlib/libc/time/lcltime.c       | 16 ++++++++++++++++
 newlib/libc/time/lcltime_r.c     | 16 ++++++++++++++++
 newlib/libc/time/local.h         |  1 +
 newlib/libc/time/mktime.c        | 16 ++++++++++++++++
 newlib/libc/time/month_lengths.c |  1 +
 newlib/libc/time/time.c          | 16 ++++++++++++++++
 newlib/libc/time/time.tex        | 16 ++++++++++++++++
 newlib/libc/time/tzcalc_limits.c |  1 +
 newlib/libc/time/tzlock.c        |  1 +
 newlib/libc/time/tzset.c         |  1 +
 newlib/libc/time/tzset_r.c       |  4 ++++
 newlib/libc/time/wcsftime.c      |  1 +
 21 files changed, 219 insertions(+)

diff --git a/newlib/libc/time/asctime.c b/newlib/libc/time/asctime.c
index 9aa26c3dc..94cef355e 100644
--- a/newlib/libc/time/asctime.c
+++ b/newlib/libc/time/asctime.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+*/
 /*
  * asctime.c
  * Original Author: G. Haley
diff --git a/newlib/libc/time/asctime_r.c b/newlib/libc/time/asctime_r.c
index 3e0864fc8..fd055cd47 100644
--- a/newlib/libc/time/asctime_r.c
+++ b/newlib/libc/time/asctime_r.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * asctime_r.c
  */
diff --git a/newlib/libc/time/clock.c b/newlib/libc/time/clock.c
index 53ca208ee..8e19a4e24 100644
--- a/newlib/libc/time/clock.c
+++ b/newlib/libc/time/clock.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /* NetWare can not use this implementation of clock, since it does not
    have times or any similar function.  It provides its own version of
    clock in clib.nlm.  If we can not use clib.nlm, then we must write
diff --git a/newlib/libc/time/ctime.c b/newlib/libc/time/ctime.c
index 58826a6d8..447675e9a 100644
--- a/newlib/libc/time/ctime.c
+++ b/newlib/libc/time/ctime.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * ctime.c
  * Original Author: G. Haley
diff --git a/newlib/libc/time/ctime_r.c b/newlib/libc/time/ctime_r.c
index 63aee3890..47a12165d 100644
--- a/newlib/libc/time/ctime_r.c
+++ b/newlib/libc/time/ctime_r.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * ctime_r.c
  */
diff --git a/newlib/libc/time/difftime.c b/newlib/libc/time/difftime.c
index 52ab9d84f..941159b23 100644
--- a/newlib/libc/time/difftime.c
+++ b/newlib/libc/time/difftime.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * difftime.c
  * Original Author: G. Haley
diff --git a/newlib/libc/time/gettzinfo.c b/newlib/libc/time/gettzinfo.c
index 54c9bc2f0..fbbdd0e84 100644
--- a/newlib/libc/time/gettzinfo.c
+++ b/newlib/libc/time/gettzinfo.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2005 Jeff Johnston <[hidden email]> */
 #include <sys/types.h>
 #include <local.h>
 
diff --git a/newlib/libc/time/gmtime.c b/newlib/libc/time/gmtime.c
index 08e011129..98580821b 100644
--- a/newlib/libc/time/gmtime.c
+++ b/newlib/libc/time/gmtime.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * gmtime.c
  * Original Author: G. Haley
diff --git a/newlib/libc/time/gmtime_r.c b/newlib/libc/time/gmtime_r.c
index 8bf9ee52d..662dc7f8a 100644
--- a/newlib/libc/time/gmtime_r.c
+++ b/newlib/libc/time/gmtime_r.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * gmtime_r.c
  * Original Author: Adapted from tzcode maintained by Arthur David Olson.
diff --git a/newlib/libc/time/lcltime.c b/newlib/libc/time/lcltime.c
index ded98c57a..792c8c208 100644
--- a/newlib/libc/time/lcltime.c
+++ b/newlib/libc/time/lcltime.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * localtime.c
  */
diff --git a/newlib/libc/time/lcltime_r.c b/newlib/libc/time/lcltime_r.c
index 9b9126bcc..0908c9872 100644
--- a/newlib/libc/time/lcltime_r.c
+++ b/newlib/libc/time/lcltime_r.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * localtime_r.c
  * Original Author: Adapted from tzcode maintained by Arthur David Olson.
diff --git a/newlib/libc/time/local.h b/newlib/libc/time/local.h
index dce51cda2..d17cc0c71 100644
--- a/newlib/libc/time/local.h
+++ b/newlib/libc/time/local.h
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /* local header used by libc/time routines */
 #include <_ansi.h>
 #include <time.h>
diff --git a/newlib/libc/time/mktime.c b/newlib/libc/time/mktime.c
index 02032599a..d0da622dd 100644
--- a/newlib/libc/time/mktime.c
+++ b/newlib/libc/time/mktime.c
@@ -1,3 +1,19 @@
+/*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * mktime.c
  * Original Author: G. Haley
diff --git a/newlib/libc/time/month_lengths.c b/newlib/libc/time/month_lengths.c
index 03fac2f07..a4f1a79f1 100644
--- a/newlib/libc/time/month_lengths.c
+++ b/newlib/libc/time/month_lengths.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Arthur David Olson */
 /*
  * month_lengths.c
  *
diff --git a/newlib/libc/time/time.c b/newlib/libc/time/time.c
index 93e061b83..a7601e6d7 100644
--- a/newlib/libc/time/time.c
+++ b/newlib/libc/time/time.c
@@ -1,4 +1,20 @@
 /*
+Copyright (c) 1994 Cygnus Support.
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation,
+and/or other materials related to such
+distribution and use acknowledge that the software was developed
+at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+endorse or promote products derived from this software without
+specific prior written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+/*
 FUNCTION
 <<time>>---get current calendar time (as single number)
 
diff --git a/newlib/libc/time/time.tex b/newlib/libc/time/time.tex
index cecd0f5f5..34e722e51 100644
--- a/newlib/libc/time/time.tex
+++ b/newlib/libc/time/time.tex
@@ -1,3 +1,19 @@
+#
+#Copyright (c) 1994 Cygnus Support.
+#All rights reserved.
+#
+#Redistribution and use in source and binary forms are permitted
+#provided that the above copyright notice and this paragraph are
+#duplicated in all such forms and that any documentation,
+#and/or other materials related to such
+#distribution and use acknowledge that the software was developed
+#at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
+#endorse or promote products derived from this software without
+#specific prior written permission.
+#THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+#IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
 @node Timefns
 @chapter Time Functions (@file{time.h})
 
diff --git a/newlib/libc/time/tzcalc_limits.c b/newlib/libc/time/tzcalc_limits.c
index e0ea6549c..43e81e5fd 100644
--- a/newlib/libc/time/tzcalc_limits.c
+++ b/newlib/libc/time/tzcalc_limits.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Arthur David Olson */
 /*
  * tzcalc_limits.c
  * Original Author: Adapted from tzcode maintained by Arthur David Olson.
diff --git a/newlib/libc/time/tzlock.c b/newlib/libc/time/tzlock.c
index 4a3ee016f..0cc9f0497 100644
--- a/newlib/libc/time/tzlock.c
+++ b/newlib/libc/time/tzlock.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /*
 FUNCTION
 <<__tz_lock>>, <<__tz_unlock>>---lock time zone global variables
diff --git a/newlib/libc/time/tzset.c b/newlib/libc/time/tzset.c
index 3b4c01c66..a41b1da23 100644
--- a/newlib/libc/time/tzset.c
+++ b/newlib/libc/time/tzset.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <[hidden email]> */
 /*
 FUNCTION
 <<tzset>>---set timezone characteristics from TZ environment variable
diff --git a/newlib/libc/time/tzset_r.c b/newlib/libc/time/tzset_r.c
index 9e0cf834b..3a5da1907 100644
--- a/newlib/libc/time/tzset_r.c
+++ b/newlib/libc/time/tzset_r.c
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 2002 Jeff Johnston <[hidden email]>
+local header used by libc/time routines
+ */
 #include <_ansi.h>
 #include <reent.h>
 #include <stdio.h>
diff --git a/newlib/libc/time/wcsftime.c b/newlib/libc/time/wcsftime.c
index 5dde21300..9e871509e 100644
--- a/newlib/libc/time/wcsftime.c
+++ b/newlib/libc/time/wcsftime.c
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Craig Howland */
 /*
  * wcsftime.c
  * Original Author: Craig Howland, for Newlib
--
2.25.0

12