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.
This commit is contained in:
parent
84f24adc5b
commit
3233ad1e4e
1 changed files with 2 additions and 0 deletions
|
@ -4663,4 +4663,6 @@ elf_loongarch64_hash_symbol (struct elf_link_hash_entry *h)
|
|||
#define elf_backend_hash_symbol elf_loongarch64_hash_symbol
|
||||
#define bfd_elfNN_bfd_relax_section loongarch_elf_relax_section
|
||||
|
||||
#define elf_backend_dtrel_excludes_plt 1
|
||||
|
||||
#include "elfNN-target.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue