Index: COFF/Driver.cpp =================================================================== --- COFF/Driver.cpp +++ COFF/Driver.cpp @@ -245,6 +245,9 @@ if (Optional Path = findLib(Arg->getValue())) enqueuePath(*Path, false); break; + case OPT_entry: + Config->Entry = addUndefined(mangle(Arg->getValue())); + break; case OPT_export: { Export E = parseExport(Arg->getValue()); if (Config->Machine == I386 && Config->MinGW) { @@ -272,6 +275,10 @@ case OPT_section: parseSection(Arg->getValue()); break; + case OPT_subsystem: + parseSubsystem(Arg->getValue(), &Config->Subsystem, + &Config->MajorOSVersion, &Config->MinorOSVersion); + break; case OPT_editandcontinue: case OPT_fastfail: case OPT_guardsym: