LoongArch: readelf -d RELASZ excludes .rela.plt size
authormengqinggang <mengqinggang@loongson.cn>
Mon, 31 Jul 2023 09:09:48 +0000 (17:09 +0800)
committerliuzhensong <liuzhensong@loongson.cn>
Tue, 17 Oct 2023 06:57:04 +0000 (14:57 +0800)
commit3233ad1e4e44530fa1088cef4790bdab6ee14944
tree8cfa880133d5852a4fce7fca344506c13860b4e7
parent84f24adc5ba65e7850d7a83e8839e305ef23c8d4
LoongArch: readelf -d RELASZ excludes .rela.plt size

Before, readelf -d RELASZ is the sum of .rela.dyn size and .rela.plt size.
To consistent with LoongArch lld, RELASZ chang to only the size of .rela.dyn.
bfd/elfnn-loongarch.c