[PATCH 01/11] sandbox: Set the EFI symbols in linker script
Simon Glass
sjg at chromium.org
Mon Apr 11 20:35:35 CEST 2022
Hi Andrew,
On Thu, 7 Apr 2022 at 03:41, Andrew Scull <ascull at google.com> wrote:
>
> The sandbox doesn't populate the EFI lists so explicitly set the list
> start and end symbols to indicate that the lists are empty. This
> simplifies the linker scripts, removed references to non-existant
> sections and removes '.' prefixed sections that conflicted with clang's
> ASAN.
>
> Signed-off-by: Andrew Scull <ascull at google.com>
> ---
> arch/sandbox/cpu/u-boot.lds | 32 +++++---------------------------
> arch/sandbox/lib/Makefile | 2 +-
> arch/sandbox/lib/sections.c | 13 -------------
> 3 files changed, 6 insertions(+), 41 deletions(-)
> delete mode 100644 arch/sandbox/lib/sections.c
I guess this it OK but it does make sandbox different in the link
scripts. Would it be possible to change the naming to avoid the ASAN
thing (which I don't understand)?
Reviewed-by: Simon Glass <sjg at chromium.org>
Regards,
Simon
More information about the U-Boot
mailing list