aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-v850.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-v850.c
parent38ef9f36cf2c31bef5d3c0f122cadd5b8c291c0e (diff)
downloadgdb-ff50916f8bce08829e3da5cc7d43c431105204c7.zip
gdb-ff50916f8bce08829e3da5cc7d43c431105204c7.tar.gz
gdb-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-v850.c')
-rw-r--r--bfd/elf32-v850.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index 4fb17a0..46d0432 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -1761,7 +1761,7 @@ static const struct v850_elf_reloc_map v850_elf_reloc_map[] =
static reloc_howto_type v800_elf_howto_table[] =
{
- V800_RELOC (R_V810_NONE, 0, 0, 0, dont, false, generic), /* Type = 0x30 */
+ V800_RELOC (R_V810_NONE, 3, 0, 0, dont, false, generic), /* Type = 0x30 */
V800_RELOC (R_V810_BYTE, 0, 8, 0, dont, false, generic),
V800_RELOC (R_V810_HWORD, 1, 16, 0, dont, false, generic),
V800_RELOC (R_V810_WORD, 2, 32, 0, dont, false, generic),