diff options
author | Alan Modra <amodra@gmail.com> | 2022-06-06 14:46:39 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-06-08 16:22:28 +0930 |
commit | ff50916f8bce08829e3da5cc7d43c431105204c7 (patch) | |
tree | f628a9b8519494ebfc300a90d9c2613450a407e0 /bfd/elf32-pru.c | |
parent | 38ef9f36cf2c31bef5d3c0f122cadd5b8c291c0e (diff) | |
download | gdb-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-pru.c')
-rw-r--r-- | bfd/elf32-pru.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-pru.c b/bfd/elf32-pru.c index 30e4676..9e73fa6 100644 --- a/bfd/elf32-pru.c +++ b/bfd/elf32-pru.c @@ -65,8 +65,8 @@ static reloc_howto_type elf_pru_howto_table_rel[] = { /* No relocation. */ HOWTO (R_PRU_NONE, /* type */ 0, /* rightshift */ - 0, /* size (0 = byte, 1 = short, 2 = long) */ - 3, /* bitsize */ + 3, /* size (0 = byte, 1 = short, 2 = long) */ + 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ complain_overflow_dont,/* complain_on_overflow */ |