aboutsummaryrefslogtreecommitdiff
path: root/mkdep
diff options
context:
space:
mode:
authormengqinggang <mengqinggang@loongson.cn>2022-12-01 16:06:42 +0800
committerliuzhensong <liuzhensong@loongson.cn>2023-05-30 19:56:45 +0800
commit762444623565211ab2b6ea1fd1a19f8dd7f98888 (patch)
tree2f44798943a8f7a1eba1d6301596eae1d12703a9 /mkdep
parent7ad9de1188609dee11a5c196869fca62da8154a3 (diff)
downloadgdb-762444623565211ab2b6ea1fd1a19f8dd7f98888.zip
gdb-762444623565211ab2b6ea1fd1a19f8dd7f98888.tar.gz
gdb-762444623565211ab2b6ea1fd1a19f8dd7f98888.tar.bz2
LoongArch: binutils: Add support for linker relaxation.
Add support for relocs related to relax to readelf. binutils/ChangeLog: * readelf.c (target_specific_reloc_handling): Handle ULEB128 reloc. (is_32bit_inplace_add_reloc): Handle new reloc. (is_32bit_inplace_sub_reloc): Likewise. (is_64bit_inplace_add_reloc): Likewise. (is_64bit_inplace_sub_reloc): Likewise. (is_16bit_inplace_add_reloc): Likewise. (is_16bit_inplace_sub_reloc): Likewise. (is_8bit_inplace_add_reloc): Likewise. (is_8bit_inplace_sub_reloc): Likewise. (is_6bit_inplace_sub_reloc): Likewise. (is_6bit_inplace_add_reloc): New function. (apply_relocations): Handle new reloc. * testsuite/binutils-all/readelf.exp: Add -mno-relax option for LoongArch.
Diffstat (limited to 'mkdep')
0 files changed, 0 insertions, 0 deletions