File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1507,6 +1507,9 @@ static void readConfigs(Ctx &ctx, opt::InputArgList &args) {
1507
1507
setUnresolvedSymbolPolicy (ctx, args);
1508
1508
ctx.arg .power10Stubs = args.getLastArgValue (OPT_power10_stubs_eq) != " no" ;
1509
1509
1510
+ if (ctx.arg .osabi == ELFOSABI_OPENBSD)
1511
+ ctx.arg .zNoBtCfi = hasZOption (args, " nobtcfi" );
1512
+
1510
1513
if (opt::Arg *arg = args.getLastArg (OPT_eb, OPT_el)) {
1511
1514
if (arg->getOption ().matches (OPT_eb))
1512
1515
ctx.arg .optEB = true ;
@@ -1897,9 +1900,6 @@ static void setConfigs(Ctx &ctx, opt::InputArgList &args) {
1897
1900
ErrAlways (ctx) << " cannot open --why-extract= file " << ctx.arg .whyExtract
1898
1901
<< " : " << e.message ();
1899
1902
}
1900
-
1901
- if (ctx.arg .osabi == ELFOSABI_OPENBSD)
1902
- ctx.arg .zNoBtCfi = hasZOption (args, " nobtcfi" );
1903
1903
}
1904
1904
1905
1905
static bool isFormatBinary (Ctx &ctx, StringRef s) {
You can’t perform that action at this time.
0 commit comments