[lld] r263358 - Fix spelling.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 12 19:17:44 PST 2016


Author: ruiu
Date: Sat Mar 12 21:17:44 2016
New Revision: 263358

URL: http://llvm.org/viewvc/llvm-project?rev=263358&view=rev
Log:
Fix spelling.

Modified:
    lld/trunk/ELF/LinkerScript.cpp
    lld/trunk/test/ELF/linkerscript-sections-padding.s

Modified: lld/trunk/ELF/LinkerScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.cpp?rev=263358&r1=263357&r2=263358&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Sat Mar 12 21:17:44 2016
@@ -419,7 +419,7 @@ std::vector<uint8_t> ScriptParser::parse
     S = S.substr(2);
     uint8_t H;
     if (B.getAsInteger(16, H)) {
-      setError("not a HEX value: " + B);
+      setError("not a hexadecimal value: " + B);
       return {};
     }
     Hex.push_back(H);
@@ -448,7 +448,7 @@ void ScriptParser::readOutputSectionDesc
   StringRef Tok = peek();
   if (Tok.startswith("=")) {
     if (!Tok.startswith("=0x")) {
-      setError("filler should be a HEX value");
+      setError("filler should be a hexadecimal value");
       return;
     }
     Tok = Tok.substr(3);

Modified: lld/trunk/test/ELF/linkerscript-sections-padding.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-sections-padding.s?rev=263358&r1=263357&r2=263358&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript-sections-padding.s (original)
+++ lld/trunk/test/ELF/linkerscript-sections-padding.s Sat Mar 12 21:17:44 2016
@@ -23,13 +23,13 @@
 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =99 }" > %t.script
 # RUN: not ld.lld -o %t.out --script %t.script %t 2>&1 \
 # RUN:   | FileCheck --check-prefix=ERR %s
-# ERR: filler should be a HEX value
+# ERR: filler should be a hexadecimal value
 
 ## Filler should be a hex value (2):
 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =0x99XX }" > %t.script
 # RUN: not ld.lld -o %t.out --script %t.script %t 2>&1 \
 # RUN:   | FileCheck --check-prefix=ERR2 %s
-# ERR2: not a HEX value: XX
+# ERR2: not a hexadecimal value: XX
 
 .section        .mysec.1,"a"
 .align  16




More information about the llvm-commits mailing list