Skip to content
Commit 99e2fbcb authored by Andrew Scull's avatar Andrew Scull Committed by Tom Rini
Browse files

linker_lists: Rename sections to remove . prefix



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: default avatarAndrew Scull <ascull@google.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 0648b132
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment