diff options
author | mengqinggang <mengqinggang@loongson.cn> | 2024-05-29 14:50:39 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2024-06-04 19:47:20 +0800 |
commit | 5f4fa40e4def33ed428b2d72aeb2bf24b50a664e (patch) | |
tree | b2302f426f3b27b97b27b957ee0dc00717af4c42 /ld/emultempl | |
parent | b472e4cfd63c551543b6a1653f3cff03162b7403 (diff) | |
download | gdb-5f4fa40e4def33ed428b2d72aeb2bf24b50a664e.zip gdb-5f4fa40e4def33ed428b2d72aeb2bf24b50a664e.tar.gz gdb-5f4fa40e4def33ed428b2d72aeb2bf24b50a664e.tar.bz2 |
LoongArch: Make align symbol be in same section with alignment directive
R_LARCH_ALIGN (psABI v2.30) requires a symbol index. The symbol is only
created at the first time to handle alignment directive. This means that
all other sections may use this symbol. If the section of this symbol is
discarded, there may be problems. Search it in its own section.
Remove elf_backend_data.is_rela_normal() function added at commit daeda14191c.
Co-authored-by: Jinyang He <hejinyang@loongson.cn>
Reported-by: WANG Xuerui <git@xen0n.name>
Link: https://lore.kernel.org/loongarch/2abbb633-a10e-71cc-a5e1-4d9e39074066@loongson.cn/T/#t
Diffstat (limited to 'ld/emultempl')
0 files changed, 0 insertions, 0 deletions