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

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

 



On Wed, Jan 03, 2024 at 11:17:46AM +0100, Ahmad Fatoum wrote:
> 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

Applied, thanks

Sascha

> 
>  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
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




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

  Powered by Linux