From 9930b34783c03e3f7a1ce332988291131ed3dc94 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 11 Oct 2019 13:35:18 +0200 Subject: [PATCH] Set the address to the external functions/locations to null to fix the "Go to External Location" features for imports --- src/main/java/cafeloader/Cafe_ElfExtension.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cafeloader/Cafe_ElfExtension.java b/src/main/java/cafeloader/Cafe_ElfExtension.java index 404bfb4..d614502 100644 --- a/src/main/java/cafeloader/Cafe_ElfExtension.java +++ b/src/main/java/cafeloader/Cafe_ElfExtension.java @@ -89,10 +89,10 @@ public class Cafe_ElfExtension extends ElfExtension { elfLoadHelper.createSymbol(address, name, true, elfSymbol.isAbsolute(), null); if (elfSymbol.isFunction()) { - program.getExternalManager().addExtFunction(rplName, name, address, + program.getExternalManager().addExtFunction(rplName, name, null, SourceType.IMPORTED); } else if (elfSymbol.isObject()) { - program.getExternalManager().addExtLocation(rplName, name, address, + program.getExternalManager().addExtLocation(rplName, name, null, SourceType.IMPORTED); }