tests/tcg: update licenses to GPLv2 as intended

My default header template is GPLv3 but for QEMU code we really should
stick to GPLv2-or-later (allowing others to up-license it if they
wish). While this is test code we should still be consistent on the
source distribution.

I wrote all of this code so its not a problem. However there remains
one GPLv3 file left which is the crt0-tc2x.S for TriCore.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240227144335.1196131-2-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2024-02-27 14:43:07 +00:00
parent 158a054c4d
commit 542b10bd14
12 changed files with 26 additions and 26 deletions

View file

@ -1,10 +1,10 @@
/* /*
* Semihosting Tests - AArch64 helper * Semihosting Tests - AArch64 helper
* *
* Copyright (c) 2019 * Copyright (c) 2019, 2024
* Written by Alex Bennée <alex.bennee@linaro.org> * Written by Alex Bennée <alex.bennee@linaro.org>
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) uintptr_t __semi_call(uintptr_t type, uintptr_t arg0)

View file

@ -1,10 +1,10 @@
/* /*
* Semihosting Tests - ARM Helper * Semihosting Tests - ARM Helper
* *
* Copyright (c) 2019 * Copyright (c) 2019, 2024
* Written by Alex Bennée <alex.bennee@linaro.org> * Written by Alex Bennée <alex.bennee@linaro.org>
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) uintptr_t __semi_call(uintptr_t type, uintptr_t arg0)

View file

@ -2,12 +2,12 @@
* i386 boot code, based on qemu-bmibug. * i386 boot code, based on qemu-bmibug.
* *
* Copyright 2019 Doug Gale * Copyright 2019 Doug Gale
* Copyright 2019 Linaro * Copyright 2019, 2024 Linaro
* *
* This work is licensed under the terms of the GNU GPL, version 3 or later. * This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
.section .head .section .head

View file

@ -1,10 +1,10 @@
/* /*
* linux-user semihosting console * linux-user semihosting console
* *
* Copyright (c) 2019 * Copyright (c) 2024
* Written by Alex Bennée <alex.bennee@linaro.org> * Written by Alex Bennée <alex.bennee@linaro.org>
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
#define SYS_READC 0x07 #define SYS_READC 0x07

View file

@ -1,10 +1,10 @@
/* /*
* linux-user semihosting checks * linux-user semihosting checks
* *
* Copyright (c) 2019 * Copyright (c) 2019, 2024
* Written by Alex Bennée <alex.bennee@linaro.org> * Written by Alex Bennée <alex.bennee@linaro.org>
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
#define SYS_WRITE0 0x04 #define SYS_WRITE0 0x04

View file

@ -1,9 +1,9 @@
/* /*
* Floating Point Convert Doubles to Various * Floating Point Convert Doubles to Various
* *
* Copyright (c) 2019 Linaro * Copyright (c) 2019, 2024 Linaro
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
#include <stdio.h> #include <stdio.h>

View file

@ -1,9 +1,9 @@
/* /*
* Floating Point Convert Single to Various * Floating Point Convert Single to Various
* *
* Copyright (c) 2019 Linaro * Copyright (c) 2019, 2024 Linaro
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
#include <stdio.h> #include <stdio.h>

View file

@ -1,9 +1,9 @@
/* /*
* Common Float Helpers * Common Float Helpers
* *
* Copyright (c) 2019 Linaro * Copyright (c) 2019, 2024 Linaro
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
#include <inttypes.h> #include <inttypes.h>

View file

@ -1,9 +1,9 @@
/* /*
* Fused Multiply Add (Single) * Fused Multiply Add (Single)
* *
* Copyright (c) 2019 Linaro * Copyright (c) 2019, 2024 Linaro
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
#include <stdio.h> #include <stdio.h>

View file

@ -5,9 +5,9 @@
* floating point constants useful for exercising the edge cases in * floating point constants useful for exercising the edge cases in
* floating point tests. * floating point tests.
* *
* Copyright (c) 2019 Linaro * Copyright (c) 2019, 2024 Linaro
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
/* we want additional float type definitions */ /* we want additional float type definitions */

View file

@ -1,10 +1,10 @@
/* /*
* Semihosting Tests - RiscV64 Helper * Semihosting Tests - RiscV64 Helper
* *
* Copyright (c) 2021 * Copyright (c) 2021, 2024
* Written by Alex Bennée <alex.bennee@linaro.org> * Written by Alex Bennée <alex.bennee@linaro.org>
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) uintptr_t __semi_call(uintptr_t type, uintptr_t arg0)

View file

@ -1,16 +1,16 @@
/* /*
* x86_64 boot and support code * x86_64 boot and support code
* *
* Copyright 2019 Linaro * Copyright 2019, 2024 Linaro
* *
* This work is licensed under the terms of the GNU GPL, version 3 or later. * This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
* *
* Unlike the i386 version we instead use Xen's PVHVM booting header * Unlike the i386 version we instead use Xen's PVHVM booting header
* which should drop us automatically into 32 bit mode ready to go. I've * which should drop us automatically into 32 bit mode ready to go. I've
* nabbed bits of the Linux kernel setup to achieve this. * nabbed bits of the Linux kernel setup to achieve this.
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
.section .head .section .head