public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Keith Packard <keithp@keithp.com>
To: newlib@sourceware.org
Cc: Keith Packard <keithp@keithp.com>
Subject: [PATCH 09/27] Add missing copyrights to newlib/libc/machine
Date: Wed, 05 Feb 2020 06:49:00 -0000	[thread overview]
Message-ID: <20200205064844.929131-10-keithp@keithp.com> (raw)
In-Reply-To: <20200205064844.929131-1-keithp@keithp.com>

Signed-off-by: Keith Packard <keithp@keithp.com>
---
 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  <jjohnstn@redhat.com> */
 /* 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  <brolley@redhat.com> */
 # 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  <rsandifo@redhat.com> */
 ; 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  <kazu@cs.umass.edu> */
 #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 (joel@OARcorp.com) 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  <jjohnstn@redhat.com> */
 #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 <green@moxielogic.com> */
 /* 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 <jon@beniston.com>
+ * Copyright (c) 2008 Jon Beniston <jon@beniston.com>
  *
  * 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  <jjohnstn@redhat.com> */
 /* 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 <corinna@vinschen.de> */
 #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 <aldyh@redhat.com> */
 # 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 <nickc@redhat.com> */
 	.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 <nickc@redhat.com>
+ */
 	.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 <nickc@redhat.com>
+ */
 	.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 <nickc@redhat.com>
+ */
 	.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 <nickc@redhat.com>
+ */
 	.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 <nickc@redhat.com>
+ */
 # 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 <nickc@redhat.com>
+ */
 	.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 <nickc@redhat.com>
+ */
 	.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 <nickc@redhat.com>
+ */
 	.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 <nickc@redhat.com>
+ */
 	.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 <nickc@redhat.com>
+ */
 	.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 <nickc@redhat.com>
+ */
 	.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 <nickc@redhat.com>
+ */
 	.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 (tm@netcom.com)
 ! hacked by J"orn Rernnecke (joern.rennecke@superh.com) ("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 (tm@netcom.com)
 !
 ! SH5 code by J"orn Rennecke (joern.rennecke@superh.com)
-! 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 <patmans@us.ibm.com> */
 #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 <patmans@us.ibm.com> */
 /* 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 <patmans@us.ibm.com> */
 #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 <patmans@us.ibm.com> */
 /* 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 <patmans@us.ibm.com> */
 /*
  * 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 <patmans@us.ibm.com> */
 #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 <patmans@us.ibm.com> */
 #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 <patmans@us.ibm.com> */
 #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 <patmans@us.ibm.com> */
 #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 <asayama@sm.sony.co.jp>
+ */
 #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 <asayama@sm.sony.co.jp>
+ */
 #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 <asayama@sm.sony.co.jp> */
 #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 <asayama@sm.sony.co.jp>
+ */
 #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 <asayama@sm.sony.co.jp>
+ */
 #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 <asayama@sm.sony.co.jp>
+ */
 #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 <asayama@sm.sony.co.jp>
+ */
 #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 <m.hayes@elec.canterbury.ac.nz>.
+/*
+ * Copyright (c) 2004 Michael Hayes <m.hayes@elec.canterbury.ac.nz>.
  *
  * 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 <nickc@redhat.com> */
 #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 <nickc@redhat.com> */
 #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 <nickc@redhat.com>
+ */
 #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 <nickc@redhat.com>
+ */
 #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 <nickc@redhat.com>
+ */
 #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 <nickc@redhat.com>
+ */
 #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 <nickc@redhat.com>
+ */
 #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 <nickc@redhat.com>
+ */
 #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 <nickc@redhat.com>
+ */
 #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 <nickc@redhat.com>
+ */
 #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 <geoffk@geoffk.org> */
 #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 <geoffk@geoffk.org> */
 /* 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


  parent reply	other threads:[~2020-02-05  6:49 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-05  6:48 [PATCH 00/27] Add missing copyright information to many files Keith Packard
2020-02-05  6:48 ` [PATCH 06/27] Add copyrights in newlib/libc/iconv/lib Keith Packard
2020-02-05  6:48 ` [PATCH 02/27] Typo in license for newlib/libc/stdio/flags.c Keith Packard
2020-02-06 10:59   ` Corinna Vinschen
2020-02-05  6:48 ` [PATCH 01/27] Typo in license terms for newlib/libm/common/log2.c Keith Packard
2020-02-06 10:59   ` Corinna Vinschen
2020-02-05  6:49 ` [PATCH 27/27] Add missing copyrights in newlib/libm/machine/i386 Keith Packard
2020-02-05  6:49 ` [PATCH 12/27] Add missing copyrights to newlib/libc/search Keith Packard
2020-02-05  6:49 ` [PATCH 20/27] Add missing copyrights in newlib/libm/common Keith Packard
2020-02-05  6:49 ` [PATCH 03/27] Add copyright and license to newlib/libm/test/*.c Keith Packard
2020-02-05  6:49 ` [PATCH 21/27] Add missing copyrights in newlib/libm/complex Keith Packard
2020-02-05  6:49 ` Keith Packard [this message]
2020-02-05  6:49 ` [PATCH 04/27] Add copyright attribution for files in newlib/libc/ctype Keith Packard
2020-02-05  6:49 ` [PATCH 15/27] Add missing copyrights in newlib/libc/stdio Keith Packard
2020-02-05  6:49 ` [PATCH 16/27] Add missing copyrights in newlib/libc/stdio64 Keith Packard
2020-02-05  6:49 ` [PATCH 13/27] Add missing copyrights in newlib/libc/signal Keith Packard
2020-02-05  6:49 ` [PATCH 23/27] Add missing copyrights to newlib/libm/machine/i386 Keith Packard
2020-02-05  6:49 ` [PATCH 26/27] Add missing copyrights in newlib/doc Keith Packard
2020-02-05  6:49 ` [PATCH 25/27] Add missing copyrights in newlib/testsuite Keith Packard
2020-02-05  6:49 ` [PATCH 24/27] Add missing copyrights in newlib/libm/math Keith Packard
2020-02-05  6:49 ` [PATCH 08/27] Add missing copyrights for newlib/libc/locale Keith Packard
2020-02-06 10:58   ` Corinna Vinschen
2020-02-05  6:49 ` [PATCH 05/27] Add Copyright where missing to newlib/libc/include files Keith Packard
2020-02-05  6:49 ` [PATCH 18/27] Add missing copyrights in newlib/libc/string Keith Packard
2020-02-05  6:54 ` [PATCH 07/27] Transfer copyright from locale.c to derived files Keith Packard
2020-02-06 10:56   ` Corinna Vinschen
2020-02-05  6:54 ` [PATCH 11/27] Add missing copyrights to newlib/libc/reent Keith Packard
2020-02-05  6:59 ` [PATCH 14/27] Add missing copyrights in newlib/libc/ssp Keith Packard
2020-02-05  6:59 ` [PATCH 17/27] Add missing copyrights in newlib/libc/stdlib Keith Packard
2020-02-05  6:59 ` [PATCH 10/27] Add missing copyrights in newlib/libc/misc Keith Packard
2020-02-05  6:59 ` [PATCH 22/27] Add missing copyrights in newlib/libm/machine/spu Keith Packard
2020-02-05  7:09 ` [PATCH 19/27] Add missing copyright information to newlib/libc/time Keith Packard
2020-02-06 11:01 ` [PATCH 00/27] Add missing copyright information to many files Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200205064844.929131-10-keithp@keithp.com \
    --to=keithp@keithp.com \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).