summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/ldso/csky/dl-startup.h7
-rw-r--r--ldso/ldso/csky/dl-syscalls.h7
-rw-r--r--ldso/ldso/csky/dl-sysdep.h7
-rw-r--r--ldso/ldso/csky/elfinterp.c7
-rw-r--r--ldso/ldso/csky/read_tp.S7
-rw-r--r--ldso/ldso/csky/resolve.S7
-rw-r--r--libc/string/csky/cskyv1/memcpy.S7
-rw-r--r--libc/string/csky/cskyv1/strcmp.S7
-rw-r--r--libc/string/csky/cskyv1/strcpy.S7
-rw-r--r--libc/string/csky/cskyv2/abiv2_memcpy.S7
-rw-r--r--libc/string/csky/cskyv2/abiv2_strcmp.S7
-rw-r--r--libc/string/csky/cskyv2/abiv2_strcpy.S7
-rw-r--r--libc/string/csky/cskyv2/macro.S7
-rw-r--r--libc/string/csky/memcpy.S7
-rw-r--r--libc/string/csky/strcmp.S7
-rw-r--r--libc/string/csky/strcpy.S7
-rw-r--r--libc/sysdeps/linux/csky/__longjmp.S7
-rw-r--r--libc/sysdeps/linux/csky/__syscall_error.c7
-rw-r--r--libc/sysdeps/linux/csky/bits/atomic.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/endian.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/fcntl.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/fenv.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/kernel_stat.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/kernel_types.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/mathinline.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/setjmp.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/shm.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/sigcontextinfo.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/stackinfo.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/syscalls.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/uClibc_arch_features.h7
-rw-r--r--libc/sysdeps/linux/csky/bits/wordsize.h7
-rw-r--r--libc/sysdeps/linux/csky/cacheflush.c7
-rw-r--r--libc/sysdeps/linux/csky/clone.c7
-rw-r--r--libc/sysdeps/linux/csky/crt1.S7
-rw-r--r--libc/sysdeps/linux/csky/crti.S7
-rw-r--r--libc/sysdeps/linux/csky/crtn.S7
-rw-r--r--libc/sysdeps/linux/csky/csky_clone.S7
-rw-r--r--libc/sysdeps/linux/csky/jmpbuf-unwind.h7
-rw-r--r--libc/sysdeps/linux/csky/libc-read_tp.S7
-rw-r--r--libc/sysdeps/linux/csky/setjmp.S7
-rw-r--r--libc/sysdeps/linux/csky/sys/cachectl.h7
-rw-r--r--libc/sysdeps/linux/csky/sys/procfs.h7
-rw-r--r--libc/sysdeps/linux/csky/sys/ucontext.h7
-rw-r--r--libc/sysdeps/linux/csky/sys/user.h7
-rw-r--r--libc/sysdeps/linux/csky/sysdep.h7
-rw-r--r--libc/sysdeps/linux/csky/vfork.S7
-rw-r--r--libpthread/nptl/sysdeps/csky/dl-tls.h7
-rw-r--r--libpthread/nptl/sysdeps/csky/libc-tls.c7
-rw-r--r--libpthread/nptl/sysdeps/csky/pthread_spin_lock.S7
-rw-r--r--libpthread/nptl/sysdeps/csky/pthread_spin_trylock.S7
-rw-r--r--libpthread/nptl/sysdeps/csky/pthreaddef.h7
-rw-r--r--libpthread/nptl/sysdeps/csky/tls.h7
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/csky/createthread.c7
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/csky/sysdep-cancel.h7
55 files changed, 385 insertions, 0 deletions
diff --git a/ldso/ldso/csky/dl-startup.h b/ldso/ldso/csky/dl-startup.h
index 0a74ab69f..a5bcd9d8c 100644
--- a/ldso/ldso/csky/dl-startup.h
+++ b/ldso/ldso/csky/dl-startup.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifdef __CSKYABIV2__
__asm__ (
diff --git a/ldso/ldso/csky/dl-syscalls.h b/ldso/ldso/csky/dl-syscalls.h
index f40c4fd31..703732b6b 100644
--- a/ldso/ldso/csky/dl-syscalls.h
+++ b/ldso/ldso/csky/dl-syscalls.h
@@ -1 +1,8 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
/* stub for arch-specific syscall issues */
diff --git a/ldso/ldso/csky/dl-sysdep.h b/ldso/ldso/csky/dl-sysdep.h
index c78dd81bc..04aae68f6 100644
--- a/ldso/ldso/csky/dl-sysdep.h
+++ b/ldso/ldso/csky/dl-sysdep.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
/* Define this if the system uses RELOCA. */
#define ELF_USES_RELOCA
diff --git a/ldso/ldso/csky/elfinterp.c b/ldso/ldso/csky/elfinterp.c
index 1469c28f1..9dba2a041 100644
--- a/ldso/ldso/csky/elfinterp.c
+++ b/ldso/ldso/csky/elfinterp.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include "ldso.h"
unsigned long
diff --git a/ldso/ldso/csky/read_tp.S b/ldso/ldso/csky/read_tp.S
index ef8d509d5..d9be32580 100644
--- a/ldso/ldso/csky/read_tp.S
+++ b/ldso/ldso/csky/read_tp.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sysdep.h>
#ifndef NOT_IN_libc
diff --git a/ldso/ldso/csky/resolve.S b/ldso/ldso/csky/resolve.S
index 46a436345..7db74d65f 100644
--- a/ldso/ldso/csky/resolve.S
+++ b/ldso/ldso/csky/resolve.S
@@ -1,4 +1,11 @@
/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
+/*
* This function is not called directly. It is jumped when attempting to use a
* symbol that has not yet been resolved.
*
diff --git a/libc/string/csky/cskyv1/memcpy.S b/libc/string/csky/cskyv1/memcpy.S
index dfa7f64a4..1b332581f 100644
--- a/libc/string/csky/cskyv1/memcpy.S
+++ b/libc/string/csky/cskyv1/memcpy.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
.macro GET_FRONT_BITS rx ry
#ifdef __cskyLE__
lsr \rx, \ry
diff --git a/libc/string/csky/cskyv1/strcmp.S b/libc/string/csky/cskyv1/strcmp.S
index e22f29ebd..e16c28a57 100644
--- a/libc/string/csky/cskyv1/strcmp.S
+++ b/libc/string/csky/cskyv1/strcmp.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <features.h>
#include <endian.h>
diff --git a/libc/string/csky/cskyv1/strcpy.S b/libc/string/csky/cskyv1/strcpy.S
index c2f1e7a0f..8518d7fcf 100644
--- a/libc/string/csky/cskyv1/strcpy.S
+++ b/libc/string/csky/cskyv1/strcpy.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <features.h>
#include <endian.h>
diff --git a/libc/string/csky/cskyv2/abiv2_memcpy.S b/libc/string/csky/cskyv2/abiv2_memcpy.S
index c112ec01b..4bbb7a37d 100644
--- a/libc/string/csky/cskyv2/abiv2_memcpy.S
+++ b/libc/string/csky/cskyv2/abiv2_memcpy.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
.macro GET_FRONT_BITS rx ry
#ifdef __cskyLE__
lsr \rx, \ry
diff --git a/libc/string/csky/cskyv2/abiv2_strcmp.S b/libc/string/csky/cskyv2/abiv2_strcmp.S
index 202da7c8a..8d7fa042b 100644
--- a/libc/string/csky/cskyv2/abiv2_strcmp.S
+++ b/libc/string/csky/cskyv2/abiv2_strcmp.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <endian.h>
#include "macro.S"
diff --git a/libc/string/csky/cskyv2/abiv2_strcpy.S b/libc/string/csky/cskyv2/abiv2_strcpy.S
index 20262feae..cc6cafe50 100644
--- a/libc/string/csky/cskyv2/abiv2_strcpy.S
+++ b/libc/string/csky/cskyv2/abiv2_strcpy.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <endian.h>
#include "macro.S"
diff --git a/libc/string/csky/cskyv2/macro.S b/libc/string/csky/cskyv2/macro.S
index 047645c21..1b78ce8db 100644
--- a/libc/string/csky/cskyv2/macro.S
+++ b/libc/string/csky/cskyv2/macro.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
.macro M_BEZ rx, label
bez \rx, \label
.endm
diff --git a/libc/string/csky/memcpy.S b/libc/string/csky/memcpy.S
index 51d258a11..5646c2607 100644
--- a/libc/string/csky/memcpy.S
+++ b/libc/string/csky/memcpy.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <features.h>
#ifdef __CSKYABIV2__
diff --git a/libc/string/csky/strcmp.S b/libc/string/csky/strcmp.S
index 05a88c912..c05a10812 100644
--- a/libc/string/csky/strcmp.S
+++ b/libc/string/csky/strcmp.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <features.h>
#ifdef __CSKYABIV2__
diff --git a/libc/string/csky/strcpy.S b/libc/string/csky/strcpy.S
index dd3be04b5..a4bdf5c5d 100644
--- a/libc/string/csky/strcpy.S
+++ b/libc/string/csky/strcpy.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <features.h>
#ifdef __CSKYABIV2__
diff --git a/libc/sysdeps/linux/csky/__longjmp.S b/libc/sysdeps/linux/csky/__longjmp.S
index 66ad62617..8dbd3d6d6 100644
--- a/libc/sysdeps/linux/csky/__longjmp.S
+++ b/libc/sysdeps/linux/csky/__longjmp.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sysdep.h>
ENTRY(__longjmp)
diff --git a/libc/sysdeps/linux/csky/__syscall_error.c b/libc/sysdeps/linux/csky/__syscall_error.c
index 346ce8a92..cc1fb5977 100644
--- a/libc/sysdeps/linux/csky/__syscall_error.c
+++ b/libc/sysdeps/linux/csky/__syscall_error.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <errno.h>
#include <features.h>
diff --git a/libc/sysdeps/linux/csky/bits/atomic.h b/libc/sysdeps/linux/csky/bits/atomic.h
index 231d58f30..591381304 100644
--- a/libc/sysdeps/linux/csky/bits/atomic.h
+++ b/libc/sysdeps/linux/csky/bits/atomic.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef __CSKY_ATOMIC_H_
#define __CSKY_ATOMIC_H_
diff --git a/libc/sysdeps/linux/csky/bits/endian.h b/libc/sysdeps/linux/csky/bits/endian.h
index 09af89cd7..80b77f041 100644
--- a/libc/sysdeps/linux/csky/bits/endian.h
+++ b/libc/sysdeps/linux/csky/bits/endian.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _ENDIAN_H
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
#endif
diff --git a/libc/sysdeps/linux/csky/bits/fcntl.h b/libc/sysdeps/linux/csky/bits/fcntl.h
index feacdaded..859b42f98 100644
--- a/libc/sysdeps/linux/csky/bits/fcntl.h
+++ b/libc/sysdeps/linux/csky/bits/fcntl.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _FCNTL_H
# error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
#endif
diff --git a/libc/sysdeps/linux/csky/bits/fenv.h b/libc/sysdeps/linux/csky/bits/fenv.h
index 606fe793d..3359e1f8e 100644
--- a/libc/sysdeps/linux/csky/bits/fenv.h
+++ b/libc/sysdeps/linux/csky/bits/fenv.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _FENV_H
# error "Never use <bits/fenv.h> directly; include <fenv.h> instead."
#endif
diff --git a/libc/sysdeps/linux/csky/bits/kernel_stat.h b/libc/sysdeps/linux/csky/bits/kernel_stat.h
index 079a01ace..dae77fd02 100644
--- a/libc/sysdeps/linux/csky/bits/kernel_stat.h
+++ b/libc/sysdeps/linux/csky/bits/kernel_stat.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _BITS_STAT_STRUCT_H
#define _BITS_STAT_STRUCT_H
diff --git a/libc/sysdeps/linux/csky/bits/kernel_types.h b/libc/sysdeps/linux/csky/bits/kernel_types.h
index 80c9d599e..6c6fe745c 100644
--- a/libc/sysdeps/linux/csky/bits/kernel_types.h
+++ b/libc/sysdeps/linux/csky/bits/kernel_types.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
/* Note that we use the exact same include guard #define names
* as asm/posix_types.h. This will avoid gratuitous conflicts
* with the posix_types.h kernel header, and will ensure that
diff --git a/libc/sysdeps/linux/csky/bits/mathinline.h b/libc/sysdeps/linux/csky/bits/mathinline.h
index d6ab1a22c..b1a633070 100644
--- a/libc/sysdeps/linux/csky/bits/mathinline.h
+++ b/libc/sysdeps/linux/csky/bits/mathinline.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifdef __GNUC__
#ifdef __USE_ISOC99
diff --git a/libc/sysdeps/linux/csky/bits/setjmp.h b/libc/sysdeps/linux/csky/bits/setjmp.h
index c818ec9dc..8753bbc95 100644
--- a/libc/sysdeps/linux/csky/bits/setjmp.h
+++ b/libc/sysdeps/linux/csky/bits/setjmp.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _BITS_SETJMP_H
#define _BITS_SETJMP_H 1
diff --git a/libc/sysdeps/linux/csky/bits/shm.h b/libc/sysdeps/linux/csky/bits/shm.h
index bfb44bb4c..dced1321e 100644
--- a/libc/sysdeps/linux/csky/bits/shm.h
+++ b/libc/sysdeps/linux/csky/bits/shm.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _SYS_SHM_H
# error "Never include <bits/shm.h> directly; use <sys/shm.h> instead."
#endif
diff --git a/libc/sysdeps/linux/csky/bits/sigcontextinfo.h b/libc/sysdeps/linux/csky/bits/sigcontextinfo.h
index b7e08cfc9..283b49211 100644
--- a/libc/sysdeps/linux/csky/bits/sigcontextinfo.h
+++ b/libc/sysdeps/linux/csky/bits/sigcontextinfo.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
/* Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>, 1998.
diff --git a/libc/sysdeps/linux/csky/bits/stackinfo.h b/libc/sysdeps/linux/csky/bits/stackinfo.h
index aaf980752..c0bb2dd1c 100644
--- a/libc/sysdeps/linux/csky/bits/stackinfo.h
+++ b/libc/sysdeps/linux/csky/bits/stackinfo.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _STACKINFO_H
#define _STACKINFO_H 1
diff --git a/libc/sysdeps/linux/csky/bits/syscalls.h b/libc/sysdeps/linux/csky/bits/syscalls.h
index 04d01f4ca..e997de929 100644
--- a/libc/sysdeps/linux/csky/bits/syscalls.h
+++ b/libc/sysdeps/linux/csky/bits/syscalls.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
diff --git a/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h b/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h
index ca898ee18..1b866cb90 100644
--- a/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
+/*
* Track misc arch-specific features that aren't config options
*/
diff --git a/libc/sysdeps/linux/csky/bits/wordsize.h b/libc/sysdeps/linux/csky/bits/wordsize.h
index 1b5842adb..a0b76b30a 100644
--- a/libc/sysdeps/linux/csky/bits/wordsize.h
+++ b/libc/sysdeps/linux/csky/bits/wordsize.h
@@ -1 +1,8 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#define __WORDSIZE 32
diff --git a/libc/sysdeps/linux/csky/cacheflush.c b/libc/sysdeps/linux/csky/cacheflush.c
index 7762c7332..37b356aeb 100644
--- a/libc/sysdeps/linux/csky/cacheflush.c
+++ b/libc/sysdeps/linux/csky/cacheflush.c
@@ -1,2 +1,9 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sys/syscall.h>
_syscall3(int, cacheflush, void *, addr, int, nbytes, int, op)
diff --git a/libc/sysdeps/linux/csky/clone.c b/libc/sysdeps/linux/csky/clone.c
index 97c30d027..991cb8962 100644
--- a/libc/sysdeps/linux/csky/clone.c
+++ b/libc/sysdeps/linux/csky/clone.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <stdarg.h>
#include <sysdep.h>
#include <unistd.h>
diff --git a/libc/sysdeps/linux/csky/crt1.S b/libc/sysdeps/linux/csky/crt1.S
index ae73843fb..48651d97f 100644
--- a/libc/sysdeps/linux/csky/crt1.S
+++ b/libc/sysdeps/linux/csky/crt1.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sysdep.h>
.text
diff --git a/libc/sysdeps/linux/csky/crti.S b/libc/sysdeps/linux/csky/crti.S
index e85a81cb1..e7b045f38 100644
--- a/libc/sysdeps/linux/csky/crti.S
+++ b/libc/sysdeps/linux/csky/crti.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sysdep.h>
.file "initfini.c"
diff --git a/libc/sysdeps/linux/csky/crtn.S b/libc/sysdeps/linux/csky/crtn.S
index 3814f307e..c1c989f0b 100644
--- a/libc/sysdeps/linux/csky/crtn.S
+++ b/libc/sysdeps/linux/csky/crtn.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
.file "initfini.c"
.section .init
diff --git a/libc/sysdeps/linux/csky/csky_clone.S b/libc/sysdeps/linux/csky/csky_clone.S
index 83604691f..edd63aca1 100644
--- a/libc/sysdeps/linux/csky/csky_clone.S
+++ b/libc/sysdeps/linux/csky/csky_clone.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sysdep.h>
PSEUDO_ERRVAL(__csky_clone, clone, 5)
diff --git a/libc/sysdeps/linux/csky/jmpbuf-unwind.h b/libc/sysdeps/linux/csky/jmpbuf-unwind.h
index 30e39f451..15144fe82 100644
--- a/libc/sysdeps/linux/csky/jmpbuf-unwind.h
+++ b/libc/sysdeps/linux/csky/jmpbuf-unwind.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <setjmp.h>
#include <stdint.h>
#include <unwind.h>
diff --git a/libc/sysdeps/linux/csky/libc-read_tp.S b/libc/sysdeps/linux/csky/libc-read_tp.S
index 1974cba25..7d1a059bd 100644
--- a/libc/sysdeps/linux/csky/libc-read_tp.S
+++ b/libc/sysdeps/linux/csky/libc-read_tp.S
@@ -1 +1,8 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <ldso/ldso/csky/read_tp.S>
diff --git a/libc/sysdeps/linux/csky/setjmp.S b/libc/sysdeps/linux/csky/setjmp.S
index daadcb318..03b402b2d 100644
--- a/libc/sysdeps/linux/csky/setjmp.S
+++ b/libc/sysdeps/linux/csky/setjmp.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sysdep.h>
ENTRY(setjmp)
diff --git a/libc/sysdeps/linux/csky/sys/cachectl.h b/libc/sysdeps/linux/csky/sys/cachectl.h
index 0d45bf07f..ad7211d7d 100644
--- a/libc/sysdeps/linux/csky/sys/cachectl.h
+++ b/libc/sysdeps/linux/csky/sys/cachectl.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _SYS_CACHECTL_H
#define _SYS_CACHECTL_H 1
diff --git a/libc/sysdeps/linux/csky/sys/procfs.h b/libc/sysdeps/linux/csky/sys/procfs.h
index 91c1388d7..8ee99312e 100644
--- a/libc/sysdeps/linux/csky/sys/procfs.h
+++ b/libc/sysdeps/linux/csky/sys/procfs.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
/* Copyright (C) 1996, 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
diff --git a/libc/sysdeps/linux/csky/sys/ucontext.h b/libc/sysdeps/linux/csky/sys/ucontext.h
index 59176882c..97e9e5e2e 100644
--- a/libc/sysdeps/linux/csky/sys/ucontext.h
+++ b/libc/sysdeps/linux/csky/sys/ucontext.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _SYS_UCONTEXT_H
#define _SYS_UCONTEXT_H 1
diff --git a/libc/sysdeps/linux/csky/sys/user.h b/libc/sysdeps/linux/csky/sys/user.h
index 4ab1972a0..010e548b1 100644
--- a/libc/sysdeps/linux/csky/sys/user.h
+++ b/libc/sysdeps/linux/csky/sys/user.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _SYS_USER_H
#define _SYS_USER_H 1
diff --git a/libc/sysdeps/linux/csky/sysdep.h b/libc/sysdeps/linux/csky/sysdep.h
index 2fcff684e..a44f3cec3 100644
--- a/libc/sysdeps/linux/csky/sysdep.h
+++ b/libc/sysdeps/linux/csky/sysdep.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _LINUX_CSKY_SYSDEP_H
#define _LINUX_CSKY_SYSDEP_H 1
diff --git a/libc/sysdeps/linux/csky/vfork.S b/libc/sysdeps/linux/csky/vfork.S
index a28bb32fa..bca8bb891 100644
--- a/libc/sysdeps/linux/csky/vfork.S
+++ b/libc/sysdeps/linux/csky/vfork.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sysdep.h>
PSEUDO_ERRVAL(__vfork, vfork, 0)
PSEUDO_END_ERRVAL(__vfork)
diff --git a/libpthread/nptl/sysdeps/csky/dl-tls.h b/libpthread/nptl/sysdeps/csky/dl-tls.h
index 70f7e9681..ebf1a7dc3 100644
--- a/libpthread/nptl/sysdeps/csky/dl-tls.h
+++ b/libpthread/nptl/sysdeps/csky/dl-tls.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
/* Type used for the representation of TLS information in the GOT. */
typedef struct
{
diff --git a/libpthread/nptl/sysdeps/csky/libc-tls.c b/libpthread/nptl/sysdeps/csky/libc-tls.c
index ceb61f848..21aacec90 100644
--- a/libpthread/nptl/sysdeps/csky/libc-tls.c
+++ b/libpthread/nptl/sysdeps/csky/libc-tls.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sysdeps/generic/libc-tls.c>
#include <dl-tls.h>
diff --git a/libpthread/nptl/sysdeps/csky/pthread_spin_lock.S b/libpthread/nptl/sysdeps/csky/pthread_spin_lock.S
index da6e234eb..e24cac2a4 100644
--- a/libpthread/nptl/sysdeps/csky/pthread_spin_lock.S
+++ b/libpthread/nptl/sysdeps/csky/pthread_spin_lock.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sysdep.h>
.text
diff --git a/libpthread/nptl/sysdeps/csky/pthread_spin_trylock.S b/libpthread/nptl/sysdeps/csky/pthread_spin_trylock.S
index 113e94d51..2682e4cb9 100644
--- a/libpthread/nptl/sysdeps/csky/pthread_spin_trylock.S
+++ b/libpthread/nptl/sysdeps/csky/pthread_spin_trylock.S
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#define _ERRNO_H 1
#include <bits/errno.h>
#include <sysdep.h>
diff --git a/libpthread/nptl/sysdeps/csky/pthreaddef.h b/libpthread/nptl/sysdeps/csky/pthreaddef.h
index da6a0fac8..992fced01 100644
--- a/libpthread/nptl/sysdeps/csky/pthreaddef.h
+++ b/libpthread/nptl/sysdeps/csky/pthreaddef.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
/* Default stack size. */
#define ARCH_STACK_DEFAULT_SIZE (2 * 1024 * 1024)
diff --git a/libpthread/nptl/sysdeps/csky/tls.h b/libpthread/nptl/sysdeps/csky/tls.h
index 721551c8d..6a07401c2 100644
--- a/libpthread/nptl/sysdeps/csky/tls.h
+++ b/libpthread/nptl/sysdeps/csky/tls.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#ifndef _TLS_H
#define _TLS_H 1
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/csky/createthread.c b/libpthread/nptl/sysdeps/unix/sysv/linux/csky/createthread.c
index bad8b0578..9980cc05c 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/csky/createthread.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/csky/createthread.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
/* Value passed to 'clone' for initialization of the thread register. */
#define TLS_VALUE (pd + 1)
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/csky/sysdep-cancel.h b/libpthread/nptl/sysdeps/unix/sysv/linux/csky/sysdep-cancel.h
index 34c43b06d..d8ec5bf6e 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/csky/sysdep-cancel.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/csky/sysdep-cancel.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
+ * in this tarball.
+ */
+
#include <sysdep.h>
#include <tls.h>
#ifndef __ASSEMBLER__