From 2ee5283ff8f6fc4139b3ad5fe841e554bfca1b22 Mon Sep 17 00:00:00 2001 From: Simon Kuenzer Date: Fri, 11 Aug 2023 15:09:24 +0200 Subject: [PATCH] build: Explain OPTIMIZE_PIE Adds an explanation for the OPTIMIZE_PIE configuration option. Signed-off-by: Simon Kuenzer Reviewed-by: Sergiu Moga Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #1038 --- Config.uk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Config.uk b/Config.uk index 3cedd3a5a..c27af5711 100644 --- a/Config.uk +++ b/Config.uk @@ -100,10 +100,14 @@ config OPTIMIZE_LTO Unikraft binaries. config OPTIMIZE_PIE - bool "Build the Unikernel as a static PIE" + bool "Static-PIE - Position-independent binary" select LIBUKRELOC + default n help - Build the Unikernel as a static PIE. + Creates a position independent binary. Such a Unikernel binary does + not have to be placed at a fixed location in the virtual address + space by a loader. Some loaders even assume that kernel entrance is + relocatable (e.g., EFI). choice prompt "Debug information level" -- 2.39.5