[PATCH 0/2] compiler: fix clang and address sanitizer coexistance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux