ELF: ignored option -G may be joined with its argument
authorEd Maste <emaste@freebsd.org>
Tue, 16 Aug 2016 16:26:46 +0000 (16:26 +0000)
committerEd Maste <emaste@freebsd.org>
Tue, 16 Aug 2016 16:26:46 +0000 (16:26 +0000)
llvm-svn: 278819

lld/ELF/Options.td

index 66ff278..efed378 100644 (file)
@@ -262,7 +262,7 @@ def rpath_link_eq: J<"rpath-link=">;
 def sort_common: F<"sort-common">;
 def warn_execstack: F<"warn-execstack">;
 def warn_shared_textrel: F<"warn-shared-textrel">;
-def G: Separate<["-"], "G">;
+def G: JoinedOrSeparate<["-"], "G">;
 
 // Aliases for ignored options
 def alias_define_common_d: Flag<["-"], "d">, Alias<define_common>;