summaryrefslogtreecommitdiff
path: root/doc/develop/python_cq.rst
diff options
context:
space:
mode:
authorNick Desaulniers <[email protected]>2022-09-26 20:47:40 +0000
committerTom Rini <[email protected]>2022-10-10 18:01:23 -0400
commit0b943587d28763db7f277ba1c168d86b4dfca288 (patch)
treed1aa23401ac2f2d000433ee87fdea260d134aadc /doc/develop/python_cq.rst
parent43b7dcdf343aefa4578532ab97931c4e3b334ad8 (diff)
Makefile: apply dynamic relocations for LLD
It seems that for aarch64, unless we apply dynamic relocations to the location being relocated, we fail to boot. As Fangrui notes: For dynamic relocations using the RELA format (readelf -Wr), GNU ld sets the initial content to r_addend; ld.lld doesn't do that by default (needs --apply-dynamic-relocs). Otherwise .rodata appears to be full of NUL-bytes before relocation, causing crashes when trying to invoke the function pointers in init_sequence_f from initcall_run_list(). Link: https://reviews.llvm.org/D42797 Suggested-by: Fangrui Song <[email protected]> Signed-off-by: Nick Desaulniers <[email protected]> Signed-off-by: Alistair Delva <[email protected]> Cc: Simon Glass <[email protected]> Cc: Tom Rini <[email protected]> Cc: Nick Desaulniers <[email protected]>
Diffstat (limited to 'doc/develop/python_cq.rst')
0 files changed, 0 insertions, 0 deletions