diff options
Diffstat (limited to 'bfd/elf32-mcore.c')
-rw-r--r-- | bfd/elf32-mcore.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bfd/elf32-mcore.c b/bfd/elf32-mcore.c index c82585c3fe3..7e2ad8dd9fc 100644 --- a/bfd/elf32-mcore.c +++ b/bfd/elf32-mcore.c @@ -111,7 +111,7 @@ static reloc_howto_type mcore_elf_howto_raw[] = /* This reloc does nothing. */ HOWTO (R_MCORE_NONE, /* type */ 0, /* rightshift */ - 3, /* size (0 = byte, 1 = short, 2 = long) */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -126,7 +126,7 @@ static reloc_howto_type mcore_elf_howto_raw[] = /* A standard 32 bit relocation. */ HOWTO (R_MCORE_ADDR32, /* type */ 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ + 4, /* size */ 32, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -142,7 +142,7 @@ static reloc_howto_type mcore_elf_howto_raw[] = Should not appear in object files. */ HOWTO (R_MCORE_PCRELIMM8BY4, /* type */ 2, /* rightshift */ - 1, /* size (0 = byte, 1 = short, 2 = long) */ + 2, /* size */ 8, /* bitsize */ true, /* pc_relative */ 0, /* bitpos */ @@ -159,7 +159,7 @@ static reloc_howto_type mcore_elf_howto_raw[] = Only useful pieces at the relocated address are the opcode (5 bits) */ HOWTO (R_MCORE_PCRELIMM11BY2,/* type */ 1, /* rightshift */ - 1, /* size (0 = byte, 1 = short, 2 = long) */ + 2, /* size */ 11, /* bitsize */ true, /* pc_relative */ 0, /* bitpos */ @@ -174,7 +174,7 @@ static reloc_howto_type mcore_elf_howto_raw[] = /* 4 bits + 1 zero bit; 'loopt' instruction only; unsupported. */ HOWTO (R_MCORE_PCRELIMM4BY2, /* type */ 1, /* rightshift */ - 1, /* size (0 = byte, 1 = short, 2 = long) */ + 2, /* size */ 4, /* bitsize */ true, /* pc_relative */ 0, /* bitpos */ @@ -189,7 +189,7 @@ static reloc_howto_type mcore_elf_howto_raw[] = /* 32-bit pc-relative. Eventually this will help support PIC code. */ HOWTO (R_MCORE_PCREL32, /* type */ 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ + 4, /* size */ 32, /* bitsize */ true, /* pc_relative */ 0, /* bitpos */ @@ -210,7 +210,7 @@ static reloc_howto_type mcore_elf_howto_raw[] = is a relocation that we are allowed to safely ignore. */ HOWTO (R_MCORE_PCRELJSR_IMM11BY2,/* type */ 1, /* rightshift */ - 1, /* size (0 = byte, 1 = short, 2 = long) */ + 2, /* size */ 11, /* bitsize */ true, /* pc_relative */ 0, /* bitpos */ @@ -225,7 +225,7 @@ static reloc_howto_type mcore_elf_howto_raw[] = /* GNU extension to record C++ vtable hierarchy. */ HOWTO (R_MCORE_GNU_VTINHERIT, /* type */ 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ + 4, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -240,7 +240,7 @@ static reloc_howto_type mcore_elf_howto_raw[] = /* GNU extension to record C++ vtable member usage. */ HOWTO (R_MCORE_GNU_VTENTRY, /* type */ 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ + 4, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -254,7 +254,7 @@ static reloc_howto_type mcore_elf_howto_raw[] = HOWTO (R_MCORE_RELATIVE, /* type */ 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ + 4, /* size */ 32, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ |