[PATCH 03/11] linker_lists: Rename sections to remove . prefix

Simon Glass sjg at chromium.org
Mon Apr 11 20:35:37 CEST 2022


On Thu, 7 Apr 2022 at 03:41, Andrew Scull <ascull at google.com> wrote:
>
> Rename the sections used to implement linker lists so they begin with
> '__u_boot_list' rather than '.u_boot_list'. The double underscore at the
> start is still distinct from the single underscore used by the symbol
> names.
>
> Having a '.' in the section names conflicts with clang's ASAN
> instrumentation which tries to add redzones between the linker list
> elements, causing expected accesses to fail. However, clang doesn't try
> to add redzones to user sections, which are names with all alphanumeric
> and underscore characters.
>
> Signed-off-by: Andrew Scull <ascull at google.com>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list