Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aa64: move .rel* and .dyn* to the separate sections
The previous commit(*) merged .rel* and .dyn* into .rodata. However, this makes ld to generate the wrong section size for .rel* to cover other unrelated sections. This commit moves .rel* and .dyn* out of .rodata in the ld script. However, since the related variables, such as _evrodata, _rodata_size, and _rodata_vsize, are moved, so the crafted pe-coff section header for .rodata still covers our new .rela and .dyn sections. (*) 212ba30 ("arm/aa64 targets: put .rel* and .dyn* in .rodata") Issue: rhboot#371 Signed-off-by: Gary Lin <[email protected]>
- Loading branch information