diff options
author | Xi Ruoyao <xry111@xry111.site> | 2024-06-30 15:18:24 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2024-07-05 12:11:11 +0800 |
commit | d89ecf33ab6dd86290b43dc3751d66f263614e68 (patch) | |
tree | 821af070648fc48bc14cd3ebfcf3eb1b70bbe18e /gprofng/src | |
parent | 17cae6980b15b96570908cebba29a04ab5e8ea41 (diff) | |
download | binutils-d89ecf33ab6dd86290b43dc3751d66f263614e68.zip binutils-d89ecf33ab6dd86290b43dc3751d66f263614e68.tar.gz binutils-d89ecf33ab6dd86290b43dc3751d66f263614e68.tar.bz2 |
LoongArch: Add DT_RELR support
The logic is same as a71d87680110 ("aarch64: Add DT_RELR support").
As LoongArch does not have -z dynamic-undefined-weak, we don't need to
consider UNDEFWEAK_NO_DYNAMIC_RELOC.
The linker relaxation adds another layer of complexity. When we delete
bytes in a section during relaxation, we need to fix up the offset in
the to-be-packed relative relocations against this section.
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Diffstat (limited to 'gprofng/src')
0 files changed, 0 insertions, 0 deletions