commit | 816029e06768c100704a877d990922b4ef2bff3e | [log] [tgz] |
---|---|---|
author | cailulu <cailulu@loongson.cn> | Thu Sep 28 16:01:52 2023 +0800 |
committer | liuzhensong <liuzhensong@loongson.cn> | Sun Oct 08 09:18:12 2023 +0800 |
tree | 7803522487156da05f1bff9959064e3061394da4 | |
parent | b68c661196e33928f1bac1702ff3abeeb0c6a2dc [diff] |
as: add option for generate R_LARCH_32/64_PCREL. Some older kernels cannot handle the newly generated R_LARCH_32/64_PCREL, so the assembler generates R_LARCH_ADD32/64+R_LARCH_SUB32/64 by default, and use the assembler option mthin-add-sub to generate R_LARCH_32/64_PCREL as much as possible. The Option of mthin-add-sub does not affect the generation of R_LARCH_32_PCREL relocation in .eh_frame.