diff options
-rw-r--r-- | lld/ELF/Options.td | 6 | ||||
-rw-r--r-- | lld/test/ELF/sectionstart.s | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index b6db388552f..4446600dc18 100644 --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -27,11 +27,11 @@ def L: JoinedOrSeparate<["-"], "L">, MetaVarName<"<dir>">, def O: Joined<["-"], "O">, HelpText<"Optimize output file size">; -def Tbss: Separate<["-"], "Tbss">, HelpText<"Same as --section-start with .bss as the sectionname">; +def Tbss: S<"Tbss">, HelpText<"Same as --section-start with .bss as the sectionname">; -def Tdata: Separate<["-"], "Tdata">, HelpText<"Same as --section-start with .data as the sectionname">; +def Tdata: S<"Tdata">, HelpText<"Same as --section-start with .data as the sectionname">; -def Ttext: Separate<["-"], "Ttext">, HelpText<"Same as --section-start with .text as the sectionname">; +def Ttext: S<"Ttext">, HelpText<"Same as --section-start with .text as the sectionname">; def allow_multiple_definition: F<"allow-multiple-definition">, HelpText<"Allow multiple definitions">; diff --git a/lld/test/ELF/sectionstart.s b/lld/test/ELF/sectionstart.s index d0f5293dd9e..31cfbbb3b8d 100644 --- a/lld/test/ELF/sectionstart.s +++ b/lld/test/ELF/sectionstart.s @@ -39,15 +39,15 @@ # RUN: not ld.lld %t.o -Ttext=1w0000 -o %t6 2>&1 \ # RUN: | FileCheck -check-prefix=ERR3 %s -# ERR3: invalid argument: -Ttext 1w0000 +# ERR3: invalid argument: --Ttext 1w0000 # RUN: not ld.lld %t.o -Tbss=1w0000 -o %t6 2>&1 \ # RUN: | FileCheck -check-prefix=ERR4 %s -# ERR4: invalid argument: -Tbss 1w0000 +# ERR4: invalid argument: --Tbss 1w0000 # RUN: not ld.lld %t.o -Tdata=1w0000 -o %t6 2>&1 \ # RUN: | FileCheck -check-prefix=ERR5 %s -# ERR5: invalid argument: -Tdata 1w0000 +# ERR5: invalid argument: --Tdata 1w0000 .text .globl _start |