summaryrefslogtreecommitdiff
path: root/linux/tile
diff options
context:
space:
mode:
Diffstat (limited to 'linux/tile')
-rw-r--r--linux/tile/arch_defs_.h7
-rw-r--r--linux/tile/arch_regs.c7
-rw-r--r--linux/tile/arch_sigreturn.c7
-rw-r--r--linux/tile/get_error.c7
-rw-r--r--linux/tile/get_scno.c7
-rw-r--r--linux/tile/get_syscall_args.c7
-rw-r--r--linux/tile/set_error.c7
-rw-r--r--linux/tile/set_scno.c7
-rw-r--r--linux/tile/syscallent.h7
-rw-r--r--linux/tile/syscallent1.h7
-rw-r--r--linux/tile/userent.h7
11 files changed, 77 insertions, 0 deletions
diff --git a/linux/tile/arch_defs_.h b/linux/tile/arch_defs_.h
index b92659794..a781208c2 100644
--- a/linux/tile/arch_defs_.h
+++ b/linux/tile/arch_defs_.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
#define SUPPORTED_PERSONALITIES 2
#define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1
diff --git a/linux/tile/arch_regs.c b/linux/tile/arch_regs.c
index cd048baad..f792e7734 100644
--- a/linux/tile/arch_regs.c
+++ b/linux/tile/arch_regs.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
static struct pt_regs tile_regs;
#define ARCH_REGS_FOR_GETREGS tile_regs
#define ARCH_PC_REG tile_regs.pc
diff --git a/linux/tile/arch_sigreturn.c b/linux/tile/arch_sigreturn.c
index 92631f4d5..43b27b5d0 100644
--- a/linux/tile/arch_sigreturn.c
+++ b/linux/tile/arch_sigreturn.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
static void
arch_sigreturn(struct tcb *tcp)
{
diff --git a/linux/tile/get_error.c b/linux/tile/get_error.c
index ae8ecbd37..c6b6c807e 100644
--- a/linux/tile/get_error.c
+++ b/linux/tile/get_error.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
#include "negated_errno.h"
static void
diff --git a/linux/tile/get_scno.c b/linux/tile/get_scno.c
index e8403d9b2..9be1ea76a 100644
--- a/linux/tile/get_scno.c
+++ b/linux/tile/get_scno.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static int
arch_get_scno(struct tcb *tcp)
diff --git a/linux/tile/get_syscall_args.c b/linux/tile/get_syscall_args.c
index c27339bd5..34d596ab5 100644
--- a/linux/tile/get_syscall_args.c
+++ b/linux/tile/get_syscall_args.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
/* Return -1 on error or 1 on success (never 0!). */
static int
arch_get_syscall_args(struct tcb *tcp)
diff --git a/linux/tile/set_error.c b/linux/tile/set_error.c
index 16d9b956a..78e476cfe 100644
--- a/linux/tile/set_error.c
+++ b/linux/tile/set_error.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2016-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
static int
arch_set_error(struct tcb *tcp)
{
diff --git a/linux/tile/set_scno.c b/linux/tile/set_scno.c
index c28d88c3d..c1ab0d55c 100644
--- a/linux/tile/set_scno.c
+++ b/linux/tile/set_scno.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2016-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
static int
arch_set_scno(struct tcb *tcp, kernel_ulong_t scno)
{
diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h
index eb518fb9e..50b60a4ff 100644
--- a/linux/tile/syscallent.h
+++ b/linux/tile/syscallent.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2009-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
#include "64/syscallent.h"
/* [244 ... 259] are arch specific */
[244] = { 1, 0, SEN(printargs), "cmpxchg_badaddr" },
diff --git a/linux/tile/syscallent1.h b/linux/tile/syscallent1.h
index b305f067f..19941c294 100644
--- a/linux/tile/syscallent1.h
+++ b/linux/tile/syscallent1.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2013-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
#define sys_ARCH_mmap sys_mmap_4koff
#define ARCH_WANT_SYNC_FILE_RANGE2 1
#include "32/syscallent.h"
diff --git a/linux/tile/userent.h b/linux/tile/userent.h
index 915f4a509..167e97296 100644
--- a/linux/tile/userent.h
+++ b/linux/tile/userent.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2014-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
{ PTREGS_OFFSET_REG(0), "r0" },
{ PTREGS_OFFSET_REG(1), "r1" },
{ PTREGS_OFFSET_REG(2), "r2" },