]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
LoongArch: Disable linker relaxation if set the address of section or segment
authormengqinggang <mengqinggang@loongson.cn>
Thu, 30 May 2024 11:52:34 +0000 (19:52 +0800)
committerliuzhensong <liuzhensong@loongson.cn>
Tue, 4 Jun 2024 11:47:27 +0000 (19:47 +0800)
commit07284e5ee02c51f3df2ea8fe2370ca3d1d42d84d
treeec2bf6dc7d59a6404db287561608ddfec7aabfa2
parent5f4fa40e4def33ed428b2d72aeb2bf24b50a664e
LoongArch: Disable linker relaxation if set the address of section or segment

If set the address of section or segment, the offset from pc to symbol
may become bigger and cause overflow.
ld/emultempl/loongarchelf.em
ld/testsuite/ld-loongarch-elf/relax-ttext.s [new file with mode: 0644]
ld/testsuite/ld-loongarch-elf/relax.exp