@@ -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__ (
@@ -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 */
@@ -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
@@ -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
@@ -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
@@ -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.
*
@@ -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
@@ -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>
@@ -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>
@@ -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
@@ -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"
@@ -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"
@@ -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
@@ -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__
@@ -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__
@@ -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__
@@ -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)
@@ -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>
@@ -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_
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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
*/
@@ -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
@@ -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)
@@ -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>
@@ -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
@@ -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"
@@ -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
@@ -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)
@@ -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>
@@ -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>
@@ -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)
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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
@@ -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)
@@ -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
{
@@ -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>
@@ -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
@@ -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>
@@ -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)
@@ -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
@@ -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)
@@ -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__
Signed-off-by: Guo Ren <ren_guo@c-sky.com> --- ldso/ldso/csky/dl-startup.h | 7 +++++++ ldso/ldso/csky/dl-syscalls.h | 7 +++++++ ldso/ldso/csky/dl-sysdep.h | 7 +++++++ ldso/ldso/csky/elfinterp.c | 7 +++++++ ldso/ldso/csky/read_tp.S | 7 +++++++ ldso/ldso/csky/resolve.S | 7 +++++++ libc/string/csky/cskyv1/memcpy.S | 7 +++++++ libc/string/csky/cskyv1/strcmp.S | 7 +++++++ libc/string/csky/cskyv1/strcpy.S | 7 +++++++ libc/string/csky/cskyv2/abiv2_memcpy.S | 7 +++++++ libc/string/csky/cskyv2/abiv2_strcmp.S | 7 +++++++ libc/string/csky/cskyv2/abiv2_strcpy.S | 7 +++++++ libc/string/csky/cskyv2/macro.S | 7 +++++++ libc/string/csky/memcpy.S | 7 +++++++ libc/string/csky/strcmp.S | 7 +++++++ libc/string/csky/strcpy.S | 7 +++++++ libc/sysdeps/linux/csky/__longjmp.S | 7 +++++++ libc/sysdeps/linux/csky/__syscall_error.c | 7 +++++++ libc/sysdeps/linux/csky/bits/atomic.h | 7 +++++++ libc/sysdeps/linux/csky/bits/endian.h | 7 +++++++ libc/sysdeps/linux/csky/bits/fcntl.h | 7 +++++++ libc/sysdeps/linux/csky/bits/fenv.h | 7 +++++++ libc/sysdeps/linux/csky/bits/kernel_stat.h | 7 +++++++ libc/sysdeps/linux/csky/bits/kernel_types.h | 7 +++++++ libc/sysdeps/linux/csky/bits/mathinline.h | 7 +++++++ libc/sysdeps/linux/csky/bits/setjmp.h | 7 +++++++ libc/sysdeps/linux/csky/bits/shm.h | 7 +++++++ libc/sysdeps/linux/csky/bits/sigcontextinfo.h | 7 +++++++ libc/sysdeps/linux/csky/bits/stackinfo.h | 7 +++++++ libc/sysdeps/linux/csky/bits/syscalls.h | 7 +++++++ libc/sysdeps/linux/csky/bits/uClibc_arch_features.h | 7 +++++++ libc/sysdeps/linux/csky/bits/wordsize.h | 7 +++++++ libc/sysdeps/linux/csky/cacheflush.c | 7 +++++++ libc/sysdeps/linux/csky/clone.c | 7 +++++++ libc/sysdeps/linux/csky/crt1.S | 7 +++++++ libc/sysdeps/linux/csky/crti.S | 7 +++++++ libc/sysdeps/linux/csky/crtn.S | 7 +++++++ libc/sysdeps/linux/csky/csky_clone.S | 7 +++++++ libc/sysdeps/linux/csky/jmpbuf-unwind.h | 7 +++++++ libc/sysdeps/linux/csky/libc-read_tp.S | 7 +++++++ libc/sysdeps/linux/csky/setjmp.S | 7 +++++++ libc/sysdeps/linux/csky/sys/cachectl.h | 7 +++++++ libc/sysdeps/linux/csky/sys/procfs.h | 7 +++++++ libc/sysdeps/linux/csky/sys/ucontext.h | 7 +++++++ libc/sysdeps/linux/csky/sys/user.h | 7 +++++++ libc/sysdeps/linux/csky/sysdep.h | 7 +++++++ libc/sysdeps/linux/csky/vfork.S | 7 +++++++ libpthread/nptl/sysdeps/csky/dl-tls.h | 7 +++++++ libpthread/nptl/sysdeps/csky/libc-tls.c | 7 +++++++ libpthread/nptl/sysdeps/csky/pthread_spin_lock.S | 7 +++++++ libpthread/nptl/sysdeps/csky/pthread_spin_trylock.S | 7 +++++++ libpthread/nptl/sysdeps/csky/pthreaddef.h | 7 +++++++ libpthread/nptl/sysdeps/csky/tls.h | 7 +++++++ libpthread/nptl/sysdeps/unix/sysv/linux/csky/createthread.c | 7 +++++++ libpthread/nptl/sysdeps/unix/sysv/linux/csky/sysdep-cancel.h | 7 +++++++ 55 files changed, 385 insertions(+)