summaryrefslogtreecommitdiff
path: root/board/synopsys/iot_devkit
diff options
context:
space:
mode:
authorAndrew Scull <[email protected]>2022-05-30 10:00:04 +0000
committerTom Rini <[email protected]>2022-06-23 12:58:18 -0400
commit99e2fbcb69f0759432c4cfa0b6e1afa006f22930 (patch)
treed19567cb46b803412545c2a770e1590c05ef4a8c /board/synopsys/iot_devkit
parent0648b132696532c96c3656876c5b12ac336e1b27 (diff)
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: Andrew Scull <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'board/synopsys/iot_devkit')
-rw-r--r--board/synopsys/iot_devkit/u-boot.lds4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/synopsys/iot_devkit/u-boot.lds b/board/synopsys/iot_devkit/u-boot.lds
index 5aff100315e..e82e4987f6f 100644
--- a/board/synopsys/iot_devkit/u-boot.lds
+++ b/board/synopsys/iot_devkit/u-boot.lds
@@ -40,8 +40,8 @@ SECTIONS
} > ROM
. = ALIGN(4);
- .u_boot_list : {
- KEEP(*(SORT(.u_boot_list*)));
+ __u_boot_list : {
+ KEEP(*(SORT(__u_boot_list*)));
/* Mark RAM's LMA */
. = ALIGN(4);