diff options
| author | Nathan Chancellor <[email protected]> | 2025-07-14 19:56:47 +0000 |
|---|---|---|
| committer | Russell King (Oracle) <[email protected]> | 2025-07-25 14:33:51 +0000 |
| commit | 53e7e1fb81cc8ba2da1cb31f8917ef397caafe91 (patch) | |
| tree | 4b547818decf4ecaaab3006f1d3f43111f90e4f7 /drivers/gpio/gpio-mpc5200.c | |
| parent | ARM: 9448/1: Use an absolute path to unified.h in KBUILD_AFLAGS (diff) | |
| download | kernel-53e7e1fb81cc8ba2da1cb31f8917ef397caafe91.tar.gz kernel-53e7e1fb81cc8ba2da1cb31f8917ef397caafe91.zip | |
ARM: 9450/1: Fix allowing linker DCE with binutils < 2.36
Commit e7607f7d6d81 ("ARM: 9443/1: Require linker to support KEEP within
OVERLAY for DCE") accidentally broke the binutils version restriction
that was added in commit 0d437918fb64 ("ARM: 9414/1: Fix build issue
with LD_DEAD_CODE_DATA_ELIMINATION"), reintroducing the segmentation
fault addressed by that workaround.
Restore the binutils version dependency by using
CONFIG_LD_CAN_USE_KEEP_IN_OVERLAY as an additional condition to ensure
that CONFIG_HAVE_LD_DEAD_CODE_DATA_ELIMINATION is only enabled with
binutils >= 2.36 and ld.lld >= 21.0.0.
Closes: https://lore.kernel.org/[email protected]/
Closes: https://lore.kernel.org/CAFERDQ0zPoya5ZQfpbeuKVZEo_fKsonLf6tJbp32QnSGAtbi+Q@mail.gmail.com/
Cc: [email protected]
Fixes: e7607f7d6d81 ("ARM: 9443/1: Require linker to support KEEP within OVERLAY for DCE")
Reported-by: Rob Landley <[email protected]>
Tested-by: Rob Landley <[email protected]>
Reported-by: Martin Wetterwald <[email protected]>
Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-mpc5200.c')
0 files changed, 0 insertions, 0 deletions
