提交 8b05537e 编写于 作者: P Paul Bolle 提交者: Jiri Kosina

Fix warning typo "CONFIG_RELCOATABLE"

Fix typo "CONFIG_RELCOATABLE" in a warning message. While we're at it,
also make that warning an actual sentence and fix comparable typos in
some comments.
Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 360603a1
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# as published by the Free Software Foundation; either version # as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version. # 2 of the License, or (at your option) any later version.
# This script checks the relcoations of a vmlinux for "suspicious" # This script checks the relocations of a vmlinux for "suspicious"
# relocations. # relocations.
use strict; use strict;
...@@ -28,7 +28,7 @@ open(FD, "$objdump -R $vmlinux|") or die; ...@@ -28,7 +28,7 @@ open(FD, "$objdump -R $vmlinux|") or die;
while (<FD>) { while (<FD>) {
study $_; study $_;
# Only look at relcoation lines. # Only look at relocation lines.
next if (!/\s+R_/); next if (!/\s+R_/);
# These relocations are okay # These relocations are okay
...@@ -45,7 +45,7 @@ while (<FD>) { ...@@ -45,7 +45,7 @@ while (<FD>) {
/\bR_PPC_ADDR16_HA\b/ or /\bR_PPC_RELATIVE\b/ or /\bR_PPC_ADDR16_HA\b/ or /\bR_PPC_RELATIVE\b/ or
/\bR_PPC_NONE\b/); /\bR_PPC_NONE\b/);
# If we see this type of relcoation it's an idication that # If we see this type of relocation it's an idication that
# we /may/ be using an old version of binutils. # we /may/ be using an old version of binutils.
if (/R_PPC64_UADDR64/) { if (/R_PPC64_UADDR64/) {
$old_binutils++; $old_binutils++;
...@@ -61,6 +61,6 @@ if ($bad_relocs_count) { ...@@ -61,6 +61,6 @@ if ($bad_relocs_count) {
} }
if ($old_binutils) { if ($old_binutils) {
print "WARNING: You need at binutils >= 2.19 to build a ". print "WARNING: You need at least binutils >= 2.19 to build a ".
"CONFIG_RELCOATABLE kernel\n"; "CONFIG_RELOCATABLE kernel\n";
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册