[PATCH 0/2] compiler: fix clang and address sanitizer coexistance
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed Jan 3 02:17:46 PST 2024
When built with clang + AddressSanitizer, global variables end up with
a redzone that can break linker list elements.
As clang isn't officially supported (yet), this can go into next.
Ahmad Fatoum (2):
compiler: define __ll_elem for linker list elements
treewide: mark linker list elements with __ll_elem
drivers/clk/clk.c | 3 +-
include/command.h | 4 +--
include/deep-probe.h | 3 +-
include/image-metadata.h | 4 +--
include/init.h | 60 +++++++++++++++++-----------------
include/linux/clk.h | 2 +-
include/linux/compiler_types.h | 6 ++++
include/linux/export.h | 11 +++----
include/linux/pci.h | 4 +--
include/magicvar.h | 7 ++--
include/ratp_bb.h | 3 +-
11 files changed, 57 insertions(+), 50 deletions(-)
--
2.39.2
More information about the barebox
mailing list