summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps')
-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__