File tree 1 file changed +5
-0
lines changed 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -659,6 +659,10 @@ void LinkerDriver::setMachine(MachineTypes machine) {
659
659
if (!isArm64EC (machine)) {
660
660
ctx.symtab .machine = machine;
661
661
} else {
662
+ // Set up a hybrid symbol table on ARM64EC/ARM64X. This is primarily useful
663
+ // on ARM64X, where both the native and EC symbol tables are meaningful.
664
+ // However, since ARM64EC can include native object files, we also need to
665
+ // support a hybrid symbol table there.
662
666
ctx.symtab .machine = ARM64EC;
663
667
ctx.hybridSymtab .emplace (ctx, ARM64);
664
668
}
@@ -2551,6 +2555,7 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
2551
2555
for (auto *s : lto::LTO::getRuntimeLibcallSymbols (TT))
2552
2556
symtab.addLibcall (s);
2553
2557
}
2558
+
2554
2559
// Windows specific -- if __load_config_used can be resolved, resolve
2555
2560
// it.
2556
2561
if (symtab.findUnderscore (" _load_config_used" ))
You can’t perform that action at this time.
0 commit comments