summaryrefslogtreecommitdiff
path: root/libpthread/nptl
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2017-12-26 21:52:35 +0800
committerWaldemar Brodkorb <wbx@openadk.org>2017-12-28 20:46:54 +0100
commit604781391549faafc59516700d9439ab1a7ec19b (patch)
tree524d48e447279556b298db68b0794b11e610e162 /libpthread/nptl
parenta3f6c0c83611f6e56b50b9bf5d18654689e6bcec (diff)
csky: add Copyright.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'libpthread/nptl')
-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
8 files changed, 56 insertions, 0 deletions
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__