summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/csky
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/csky')
-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
31 files changed, 217 insertions, 0 deletions
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)