]> git.baikalelectronics.ru Git - uboot.git/commit
linker_lists: Rename sections to remove . prefix
authorAndrew Scull <ascull@google.com>
Mon, 30 May 2022 10:00:04 +0000 (10:00 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jun 2022 16:58:18 +0000 (12:58 -0400)
commitfd3debd1d73c6e1551d12b5529fd88f00a0c0947
treed19567cb46b803412545c2a770e1590c05ef4a8c
parent1bd0c73c8e926dc4fb6ca06bfaa24c7943dacfc6
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 <ascull@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
51 files changed:
arch/arc/cpu/u-boot.lds
arch/arm/config.mk
arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds
arch/arm/cpu/armv7/sunxi/u-boot-spl.lds
arch/arm/cpu/armv8/u-boot-spl.lds
arch/arm/cpu/armv8/u-boot.lds
arch/arm/cpu/u-boot-spl.lds
arch/arm/cpu/u-boot.lds
arch/arm/mach-at91/arm926ejs/u-boot-spl.lds
arch/arm/mach-at91/armv7/u-boot-spl.lds
arch/arm/mach-omap2/u-boot-spl.lds
arch/arm/mach-orion5x/u-boot-spl.lds
arch/arm/mach-rockchip/u-boot-tpl-v8.lds
arch/arm/mach-zynq/u-boot-spl.lds
arch/arm/mach-zynq/u-boot.lds
arch/m68k/cpu/u-boot.lds
arch/microblaze/cpu/u-boot-spl.lds
arch/microblaze/cpu/u-boot.lds
arch/mips/config.mk
arch/mips/cpu/u-boot-spl.lds
arch/mips/cpu/u-boot.lds
arch/nios2/cpu/u-boot.lds
arch/powerpc/cpu/mpc83xx/u-boot.lds
arch/powerpc/cpu/mpc85xx/u-boot-spl.lds
arch/powerpc/cpu/mpc85xx/u-boot.lds
arch/riscv/cpu/u-boot-spl.lds
arch/riscv/cpu/u-boot.lds
arch/sandbox/config.mk
arch/sandbox/cpu/u-boot-spl.lds
arch/sandbox/cpu/u-boot.lds
arch/sh/cpu/u-boot.lds
arch/x86/cpu/u-boot-64.lds
arch/x86/cpu/u-boot-spl.lds
arch/x86/cpu/u-boot.lds
arch/x86/lib/elf_ia32_efi.lds
arch/x86/lib/elf_x86_64_efi.lds
arch/xtensa/cpu/u-boot.lds
arch/xtensa/include/asm/ldscript.h
board/compulab/cm_t335/u-boot.lds
board/cssi/MCR3000/u-boot.lds
board/davinci/da8xxevm/u-boot-spl-da850evm.lds
board/qualcomm/dragonboard820c/u-boot.lds
board/samsung/common/exynos-uboot-spl.lds
board/synopsys/iot_devkit/u-boot.lds
board/ti/am335x/u-boot.lds
board/vscom/baltos/u-boot.lds
doc/api/linker_lists.rst
doc/develop/commands.rst
doc/develop/driver-model/of-plat.rst
include/linker_lists.h
tools/mips-relocs.c