From Heinrich Schuchardt <xypron.glpk@xxxxxx>:
Heinrich Schuchardt has uploaded this change for review. (
https://review.haiku-os.org/c/haiku/+/2964 ;)
Change subject: efi: create map file
......................................................................
efi: create map file
When debugging the EFI bootloader it is helpful to have a map file
available.
Write file efi.map when linking.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx>
---
M src/system/boot/Jamfile
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://git.haiku-os.org:22/haiku refs/changes/64/2964/1
diff --git a/src/system/boot/Jamfile b/src/system/boot/Jamfile
index e26fb3f..01efd75 100644
--- a/src/system/boot/Jamfile
+++ b/src/system/boot/Jamfile
@@ -283,6 +283,7 @@
# efi loader needs to be shared.
if $(TARGET_BOOT_PLATFORM) = efi {
ldflags += -shared ;
+ ldflags += -Map=efi.map ;
}
BootLd boot_loader_$(platform:G=) :
--
To view, visit https://review.haiku-os.org/c/haiku/+/2964
To unsubscribe, or for help writing mail filters, visit
https://review.haiku-os.org/settings
Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I6d566df50fb2713f53375970f6645353bac54042
Gerrit-Change-Number: 2964
Gerrit-PatchSet: 1
Gerrit-Owner: Heinrich Schuchardt <xypron.glpk@xxxxxx>
Gerrit-MessageType: newchange