aboutsummaryrefslogtreecommitdiffstats
path: root/rust/compiler_builtins.rs
diff options
context:
space:
mode:
authorChristian Eggers <[email protected]>2025-03-20 21:33:51 +0000
committerRussell King (Oracle) <[email protected]>2025-03-26 13:31:48 +0000
commitc3d944a367c0d9e4e125c7006e52f352e75776dc (patch)
tree243951503b2988f4bfb14c54ea43995e7bb49d18 /rust/compiler_builtins.rs
parentARM: 9443/1: Require linker to support KEEP within OVERLAY for DCE (diff)
downloadkernel-c3d944a367c0d9e4e125c7006e52f352e75776dc.tar.gz
kernel-c3d944a367c0d9e4e125c7006e52f352e75776dc.zip
ARM: 9444/1: add KEEP() keyword to ARM_VECTORS
Without this, the vectors are removed if LD_DEAD_CODE_DATA_ELIMINATION is enabled. At startup, the CPU (silently) hangs in the undefined instruction exception as soon as the first timer interrupt arrives. On my setup, the system also boots fine without the 2nd and 3rd KEEP() statements, so I cannot tell whether these are actually required. [nathan: Use OVERLAY_KEEP() to avoid breaking old ld.lld versions] Cc: [email protected] Fixes: ed0f94102251 ("ARM: 9404/1: arm32: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION") Signed-off-by: Christian Eggers <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'rust/compiler_builtins.rs')
0 files changed, 0 insertions, 0 deletions