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 <[email protected]> Change-Id: I6d566df50fb2713f53375970f6645353bac54042 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2964 Reviewed-by: Alex von Gluck IV <[email protected]>
This commit is contained in:
committed by
Alex von Gluck IV
parent
dc8d6e73f8
commit
35323f65d5
@@ -283,6 +283,7 @@ for platform in [ MultiBootSubDirSetup ] {
|
||||
# efi loader needs to be shared.
|
||||
if $(TARGET_BOOT_PLATFORM) = efi {
|
||||
ldflags += -shared ;
|
||||
ldflags += -Map=efi.map ;
|
||||
}
|
||||
|
||||
BootLd boot_loader_$(platform:G=) :
|
||||
|
||||
Reference in New Issue
Block a user