diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-03-13 03:17:44 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-03-13 03:17:44 +0000 |
| commit | 3ed2f06913c505f31247ccf6431bbf4f74fe5a4a (patch) | |
| tree | 7893c87acbe3db7c4cf25710f6b66d0dd08628f7 | |
| parent | 7f4a492f983db9dec437d2d5261849c819ccd898 (diff) | |
| download | bcm5719-llvm-3ed2f06913c505f31247ccf6431bbf4f74fe5a4a.tar.gz bcm5719-llvm-3ed2f06913c505f31247ccf6431bbf4f74fe5a4a.zip | |
Fix spelling.
llvm-svn: 263358
| -rw-r--r-- | lld/ELF/LinkerScript.cpp | 4 | ||||
| -rw-r--r-- | lld/test/ELF/linkerscript-sections-padding.s | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 677abb116b5..d75ebb0ed4d 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -419,7 +419,7 @@ std::vector<uint8_t> ScriptParser::parseHex(StringRef S) { 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::readOutputSectionDescription() { 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); diff --git a/lld/test/ELF/linkerscript-sections-padding.s b/lld/test/ELF/linkerscript-sections-padding.s index c6f43336664..545739efe5a 100644 --- a/lld/test/ELF/linkerscript-sections-padding.s +++ b/lld/test/ELF/linkerscript-sections-padding.s @@ -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 |

