GP-5554: Fixed a bug that resulted in incorrect external addresses of

Mach-O undefined symbols (Closes #5941)
This commit is contained in:
Ryan Kurtz 2025-04-01 13:12:18 -04:00
parent 58979e0bfb
commit cd3ba7fb07

View file

@ -743,7 +743,7 @@ public class MachoProgramBuilder {
if (name != null && name.length() > 0) {
program.getSymbolTable().createLabel(addr, name, SourceType.IMPORTED);
program.getExternalManager()
.addExtLocation(Library.UNKNOWN, name, addr, SourceType.IMPORTED);
.addExtLocation(Library.UNKNOWN, name, null, SourceType.IMPORTED);
}
}
catch (Exception e) {