aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-nds32.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-06-06 14:46:39 +0930
committerAlan Modra <amodra@gmail.com>2022-06-08 16:22:28 +0930
commitff50916f8bce08829e3da5cc7d43c431105204c7 (patch)
treef628a9b8519494ebfc300a90d9c2613450a407e0 /bfd/elf32-nds32.c
parent38ef9f36cf2c31bef5d3c0f122cadd5b8c291c0e (diff)
downloadbinutils-ff50916f8bce08829e3da5cc7d43c431105204c7.zip
binutils-ff50916f8bce08829e3da5cc7d43c431105204c7.tar.gz
binutils-ff50916f8bce08829e3da5cc7d43c431105204c7.tar.bz2
NONE reloc fixes
Make them all zero size standard do-nothing howtos. * elf32-csky.c (csky_elf_howto_table <R_CKCORE_NONE>): Correct howto. * elf32-ft32.c (ft32_elf_howto_table <R_FT32_NONE>): Likewise. * elf32-gen.c (dummy): Likewise. * elf32-nds32.c (none_howto): Likewise. * elf32-nios2.c (elf_nios2_r2_howto_table_rel <R_NIOS2_NONE>): Likewise. * elf32-pru.c (elf_pru_howto_table_rel <R_PRU_NONE>): Likewise. * elf32-v850.c (v800_elf_howto_table <R_V810_NONE>): Likewise. * elf64-gen.c (dummy): Likewise. * elfn32-mips.c (elf_mips_howto_table_rela <R_MIPS_NONE): Likewise. * elfxx-mips.c (none_howto): Likewise. * reloc.c (none_howto): Likewise.
Diffstat (limited to 'bfd/elf32-nds32.c')
-rw-r--r--bfd/elf32-nds32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-nds32.c b/bfd/elf32-nds32.c
index 519c828..08f4707 100644
--- a/bfd/elf32-nds32.c
+++ b/bfd/elf32-nds32.c
@@ -13075,7 +13075,7 @@ nds32_elf_get_relocated_section_contents (bfd *abfd,
{
bfd_vma off;
static reloc_howto_type none_howto
- = HOWTO (0, 0, 0, 0, false, 0, complain_overflow_dont, NULL,
+ = HOWTO (0, 0, 3, 0, false, 0, complain_overflow_dont, NULL,
"unused", false, 0, 0, false);
off = (*parent)->address * OCTETS_PER_BYTE (input_bfd,