summaryrefslogtreecommitdiff
path: root/bfd/elf32-ft32.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-ft32.c
parent38ef9f36cf2c31bef5d3c0f122cadd5b8c291c0e (diff)
downloadbinutils-gdb-ff50916f8bce08829e3da5cc7d43c431105204c7.tar.gz
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-ft32.c')
-rw-r--r--bfd/elf32-ft32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf32-ft32.c b/bfd/elf32-ft32.c
index 708d8c832ea..1371d4f0255 100644
--- a/bfd/elf32-ft32.c
+++ b/bfd/elf32-ft32.c
@@ -40,11 +40,11 @@ static reloc_howto_type ft32_elf_howto_table [] =
/* This reloc does nothing. */
HOWTO (R_FT32_NONE, /* type */
0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
+ 3, /* size (0 = byte, 1 = short, 2 = long) */
+ 0, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
- complain_overflow_bitfield, /* complain_on_overflow */
+ complain_overflow_dont, /* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
"R_FT32_NONE", /* name */
false, /* partial_inplace */