diff options
-rw-r--r-- | bfd/elf32-csky.c | 2 | ||||
-rw-r--r-- | bfd/elf32-ft32.c | 6 | ||||
-rw-r--r-- | bfd/elf32-gen.c | 2 | ||||
-rw-r--r-- | bfd/elf32-nds32.c | 2 | ||||
-rw-r--r-- | bfd/elf32-nios2.c | 2 | ||||
-rw-r--r-- | bfd/elf32-pru.c | 4 | ||||
-rw-r--r-- | bfd/elf32-v850.c | 2 | ||||
-rw-r--r-- | bfd/elf64-gen.c | 2 | ||||
-rw-r--r-- | bfd/elfn32-mips.c | 2 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 2 | ||||
-rw-r--r-- | bfd/reloc.c | 2 |
11 files changed, 14 insertions, 14 deletions
diff --git a/bfd/elf32-csky.c b/bfd/elf32-csky.c index c601088..de6689f 100644 --- a/bfd/elf32-csky.c +++ b/bfd/elf32-csky.c @@ -84,7 +84,7 @@ static reloc_howto_type csky_elf_howto_table[] = /* 0 */ HOWTO (R_CKCORE_NONE, /* type */ 0, /* rightshift */ - 0, /* size */ + 3, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elf32-ft32.c b/bfd/elf32-ft32.c index 708d8c8..1371d4f 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 */ diff --git a/bfd/elf32-gen.c b/bfd/elf32-gen.c index 1b692fb..6587f0a 100644 --- a/bfd/elf32-gen.c +++ b/bfd/elf32-gen.c @@ -29,7 +29,7 @@ static reloc_howto_type dummy = HOWTO (0, /* type */ 0, /* rightshift */ - 0, /* size (0 = byte, 1 = short, 2 = long) */ + 3, /* size (0 = byte, 1 = short, 2 = long) */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ 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, diff --git a/bfd/elf32-nios2.c b/bfd/elf32-nios2.c index 74a9f98..d1e5d0e 100644 --- a/bfd/elf32-nios2.c +++ b/bfd/elf32-nios2.c @@ -735,7 +735,7 @@ static reloc_howto_type elf_nios2_r2_howto_table_rel[] = { /* No relocation. */ HOWTO (R_NIOS2_NONE, /* type */ 0, /* rightshift */ - 0, /* size (0 = byte, 1 = short, 2 = long) */ + 3, /* size (0 = byte, 1 = short, 2 = long) */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ 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 */ 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), diff --git a/bfd/elf64-gen.c b/bfd/elf64-gen.c index 9d5f29c..7e92c87 100644 --- a/bfd/elf64-gen.c +++ b/bfd/elf64-gen.c @@ -29,7 +29,7 @@ static reloc_howto_type dummy = HOWTO (0, /* type */ 0, /* rightshift */ - 0, /* size (0 = byte, 1 = short, 2 = long) */ + 3, /* size (0 = byte, 1 = short, 2 = long) */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c index 07b753f..d3414a6 100644 --- a/bfd/elfn32-mips.c +++ b/bfd/elfn32-mips.c @@ -877,7 +877,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] = /* No relocation. */ HOWTO (R_MIPS_NONE, /* type */ 0, /* rightshift */ - 0, /* size (0 = byte, 1 = short, 2 = long) */ + 3, /* size (0 = byte, 1 = short, 2 = long) */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index e0e2392..99c69c2 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -13361,7 +13361,7 @@ _bfd_elf_mips_get_relocated_section_contents { 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 diff --git a/bfd/reloc.c b/bfd/reloc.c index 5098e0a..3d1768f 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -8540,7 +8540,7 @@ bfd_generic_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 |