diff options
author | Lulu Cai <cailulu@loongson.cn> | 2024-09-21 11:29:39 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2024-10-14 09:15:16 +0800 |
commit | 22c62092858e5623338a18a42491718d754977e8 (patch) | |
tree | a7448fba3b1e62de0531e3213c8448a5e4ff2736 /libiberty/strnlen.c | |
parent | a134ad4780c1daf39d2213b015c93f9cc73e8156 (diff) | |
download | gdb-22c62092858e5623338a18a42491718d754977e8.zip gdb-22c62092858e5623338a18a42491718d754977e8.tar.gz gdb-22c62092858e5623338a18a42491718d754977e8.tar.bz2 |
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.
Diffstat (limited to 'libiberty/strnlen.c')
0 files changed, 0 insertions, 0 deletions