commit | 22c62092858e5623338a18a42491718d754977e8 | [log] [tgz] |
---|---|---|
author | Lulu Cai <cailulu@loongson.cn> | Sat Sep 21 11:29:39 2024 +0800 |
committer | liuzhensong <liuzhensong@loongson.cn> | Mon Oct 14 09:15:16 2024 +0800 |
tree | a7448fba3b1e62de0531e3213c8448a5e4ff2736 | |
parent | a134ad4780c1daf39d2213b015c93f9cc73e8156 [diff] |
LoongArch: Fixed R_LARCH_[32/64]_PCREL generation bug The enum BFD_RELOC_[32/64] was mistakenly used in the macro instead of the relocation in fixp. This can cause the second relocation of a pair to be deleted when -mthin-add-sub is enabled. Apply the correct macro to fix this. Also sets the initial value of -mthin-add-sub.