summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2020-08-11 17:04:33 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-09-02 04:00:22 +0300
commit3745ae63b405b09c86718f95d96c4b2d2827b087 (patch)
tree8348cb18c51c487e5e22cdcdb6b996414ce16cb5
parentb84eaab6ede6477484edc043456cf7d7cfc7f8b3 (diff)
downloadlinux-3745ae63b405b09c86718f95d96c4b2d2827b087.tar.xz
powerpc: unrel_branch_check.sh: fix up the file header
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200811140435.20957-7-sfr@canb.auug.org.au
-rwxr-xr-xarch/powerpc/tools/unrel_branch_check.sh15
1 files changed, 4 insertions, 11 deletions
diff --git a/arch/powerpc/tools/unrel_branch_check.sh b/arch/powerpc/tools/unrel_branch_check.sh
index 54ebd05615d4..4489f16a443c 100755
--- a/arch/powerpc/tools/unrel_branch_check.sh
+++ b/arch/powerpc/tools/unrel_branch_check.sh
@@ -1,16 +1,9 @@
#!/bin/bash
-# Copyright © 2016 IBM Corporation
+# SPDX-License-Identifier: GPL-2.0+
+# Copyright © 2016,2020 IBM Corporation
#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version
-# 2 of the License, or (at your option) any later version.
-#
-# This script checks the relocations of a vmlinux for "suspicious"
-# branches from unrelocated code (head_64.S code).
-
-# Turn this on if you want more debug output:
-# set -x
+# This script checks the unrelocated code of a vmlinux for "suspicious"
+# branches to relocated code (head_64.S code).
# Have Kbuild supply the path to objdump so we handle cross compilation.
objdump="$1"