Skip to content

Commit 27b7a87

Browse files
bsdjhbresistor
authored andcommitted
lld: Enable the --local-caprelocs=legacy command line argument
1 parent a068aa3 commit 27b7a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/ELF/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ static CapTableScopePolicy getCapTableScope(opt::InputArgList &args) {
829829

830830
static CapRelocsMode getLocalCapRelocsMode(opt::InputArgList &args) {
831831
auto *arg =
832-
args.getLastArg(OPT_local_caprelocs_cbuildcap, OPT_local_caprelocs_elf,
832+
args.getLastArg(OPT_local_caprelocs_legacy, OPT_local_caprelocs_elf,
833833
OPT_local_caprelocs_cbuildcap);
834834
if (!arg) // TODO: change default to CBuildCap (at least for non-PIC)
835835
return CapRelocsMode::Legacy;

0 commit comments

Comments
 (0)