Skip to content
  • Andrew Scull's avatar
    linker_lists: Rename sections to remove . prefix · 99e2fbcb
    Andrew Scull authored and Tom Rini's avatar Tom Rini committed
    
    
    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: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    99e2fbcb