diff options
| -rw-r--r-- | lld/ELF/Options.td | 1 | ||||
| -rw-r--r-- | lld/lib/Driver/GnuLdOptions.td | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index 4cac5b65fee..655c932241b 100644 --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -144,3 +144,4 @@ def start_group_paren: Flag<["-"], "(">; def version_script : Separate<["--"], "version-script">; def warn_common : Flag<["--"], "warn-common">; def warn_shared_textrel : Flag<["--"], "warn-shared-textrel">; +def G : Separate<["-"], "G">; diff --git a/lld/lib/Driver/GnuLdOptions.td b/lld/lib/Driver/GnuLdOptions.td index 02a4d1ad9a3..7d850d4d002 100644 --- a/lld/lib/Driver/GnuLdOptions.td +++ b/lld/lib/Driver/GnuLdOptions.td @@ -367,6 +367,9 @@ def Qy : Flag<["-"], "Qy">, def qmagic : Flag<["-"], "qmagic">, HelpText<"Ignored for Linux Compatibility">, Group<grp_ignored>; +def G : Separate<["-"], "G">, + HelpText<"Ignored for MIPS GNU Linker Compatibility">, + Group<grp_ignored>; //===----------------------------------------------------------------------===// /// Help |

