From: Alan Modra Date: Wed, 8 Jun 2022 08:03:10 +0000 (+0930) Subject: Revert reloc howto nits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d0feb989ce5f9de16b422693136103d1d7b79ac;p=binutils-gdb.git Revert reloc howto nits The "HOWTO size encoding" patch put 1 as the HOWTO size arg for numerous howtos that are unused, describe dynamic relocs, are markers, or otherwise are special purpose reloc howtos that don't care about the size. The idea was to ensure no howto changed by inspecting object files. Revert those changes, making them zero size. * coff-alpha.c: Give special purpose reloc howtos a size of zero. * coff-mcore.c, * elf-hppa.h, * elf-m10300.c, * elf32-arm.c, * elf32-csky.c, * elf32-m32c.c, * elf32-m68k.c, * elf32-mep.c, * elf32-mips.c, * elf32-ppc.c, * elf32-rx.c, * elf32-s390.c, * elf32-spu.c, * elf32-tic6x.c, * elf32-tilepro.c, *elf32-vax.c, * elf32-xtensa.c, * elf64-alpha.c, * elf64-mips.c, * elf64-mmix.c, * elf64-ppc.c, * elf64-s390.c, * elfn32-mips.c, * elfxx-loongarch.c, * elfxx-riscv.c, * elfxx-sparc.c, * elfxx-tilegx.c, * som.c, * vms-alpha.c: Likewise. --- diff --git a/bfd/coff-alpha.c b/bfd/coff-alpha.c index 412a17889ca..ea217f77ace 100644 --- a/bfd/coff-alpha.c +++ b/bfd/coff-alpha.c @@ -320,7 +320,7 @@ static reloc_howto_type alpha_howto_table[] = /* Push a value on the reloc evaluation stack. */ HOWTO (ALPHA_R_OP_PUSH, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -352,7 +352,7 @@ static reloc_howto_type alpha_howto_table[] = relocation stack. */ HOWTO (ALPHA_R_OP_PSUB, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -368,7 +368,7 @@ static reloc_howto_type alpha_howto_table[] = given value. */ HOWTO (ALPHA_R_OP_PRSHIFT, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -383,7 +383,7 @@ static reloc_howto_type alpha_howto_table[] = /* Adjust the GP value for a new range in the object file. */ HOWTO (ALPHA_R_GPVALUE, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/coff-mcore.c b/bfd/coff-mcore.c index 878e68bcf4b..53f166543af 100644 --- a/bfd/coff-mcore.c +++ b/bfd/coff-mcore.c @@ -61,7 +61,7 @@ static reloc_howto_type mcore_coff_howto_table[] = /* Unused: */ HOWTO (IMAGE_REL_MCORE_ABSOLUTE,/* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h index 2fed9b7377b..b52ed3da350 100644 --- a/bfd/elf-hppa.h +++ b/bfd/elf-hppa.h @@ -58,7 +58,7 @@ static reloc_howto_type elf_hppa_howto_table[ELF_HOWTO_TABLE_SIZE] = HOW (R_PARISC_DIR21L, 4, 21, false, bitfield, 0), HOW (R_PARISC_DIR17R, 4, 17, false, bitfield, 0), HOW (R_PARISC_DIR17F, 4, 17, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_DIR14R, 4, 14, false, bitfield, 0), HOW (R_PARISC_DIR14F, 4, 14, false, bitfield, 0), /* 8 */ @@ -71,68 +71,68 @@ static reloc_howto_type elf_hppa_howto_table[ELF_HOWTO_TABLE_SIZE] = HOW (R_PARISC_PCREL14R, 4, 14, true, bitfield, 0), HOW (R_PARISC_PCREL14F, 4, 14, true, bitfield, 0), /* 16 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_DPREL21L, 4, 21, false, bitfield, 0), HOW (R_PARISC_DPREL14WR, 4, 14, false, bitfield, 0), HOW (R_PARISC_DPREL14DR, 4, 14, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_DPREL14R, 4, 14, false, bitfield, 0), HOW (R_PARISC_DPREL14F, 4, 14, false, bitfield, 0), /* 24 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_DLTREL21L, 4, 21, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_DLTREL14R, 4, 14, false, bitfield, 0), HOW (R_PARISC_DLTREL14F, 4, 14, false, bitfield, 0), /* 32 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_DLTIND21L, 4, 21, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_DLTIND14R, 4, 14, false, bitfield, 0), HOW (R_PARISC_DLTIND14F, 4, 14, false, bitfield, 0), /* 40 */ - HOW (R_PARISC_SETBASE, 1, 0, false, bitfield, 0), + HOW (R_PARISC_SETBASE, 0, 0, false, bitfield, 0), HOW (R_PARISC_SECREL32, 4, 32, false, bitfield, 0xffffffff), HOW (R_PARISC_BASEREL21L, 4, 21, false, bitfield, 0), HOW (R_PARISC_BASEREL17R, 4, 17, false, bitfield, 0), HOW (R_PARISC_BASEREL17F, 4, 17, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_BASEREL14R, 4, 14, false, bitfield, 0), HOW (R_PARISC_BASEREL14F, 4, 14, false, bitfield, 0), /* 48 */ - HOW (R_PARISC_SEGBASE, 1, 0, false, bitfield, 0), + HOW (R_PARISC_SEGBASE, 0, 0, false, bitfield, 0), HOW (R_PARISC_SEGREL32, 4, 32, false, bitfield, 0), HOW (R_PARISC_PLTOFF21L, 4, 21, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_PLTOFF14R, 4, 14, false, bitfield, 0), HOW (R_PARISC_PLTOFF14F, 4, 14, false, bitfield, 0), /* 56 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_LTOFF_FPTR32, 4, 32, false, bitfield, 0), HOW (R_PARISC_LTOFF_FPTR21L, 4, 21, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_LTOFF_FPTR14R, 4, 14, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), /* 64 */ HOW (R_PARISC_FPTR64, 8, 64, false, bitfield, 0), HOW (R_PARISC_PLABEL32, 4, 32, false, bitfield, 0), HOW (R_PARISC_PLABEL21L, 4, 21, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_PLABEL14R, 4, 14, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), /* 72 */ HOW (R_PARISC_PCREL64, 8, 64, false, bitfield, 0), HOW (R_PARISC_PCREL22C, 4, 22, false, bitfield, 0), @@ -144,8 +144,8 @@ static reloc_howto_type elf_hppa_howto_table[ELF_HOWTO_TABLE_SIZE] = HOW (R_PARISC_PCREL16DF, 4, 16, false, bitfield, 0), /* 80 */ HOW (R_PARISC_DIR64, 8, 64, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_DIR14WR, 4, 14, false, bitfield, 0), HOW (R_PARISC_DIR14DR, 4, 14, false, bitfield, 0), HOW (R_PARISC_DIR16F, 4, 16, false, bitfield, 0), @@ -153,8 +153,8 @@ static reloc_howto_type elf_hppa_howto_table[ELF_HOWTO_TABLE_SIZE] = HOW (R_PARISC_DIR16DF, 4, 16, false, bitfield, 0), /* 88 */ HOW (R_PARISC_GPREL64, 8, 64, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_DLTREL14WR, 4, 14, false, bitfield, 0), HOW (R_PARISC_DLTREL14DR, 4, 14, false, bitfield, 0), HOW (R_PARISC_GPREL16F, 4, 16, false, bitfield, 0), @@ -162,26 +162,26 @@ static reloc_howto_type elf_hppa_howto_table[ELF_HOWTO_TABLE_SIZE] = HOW (R_PARISC_GPREL16DF, 4, 16, false, bitfield, 0), /* 96 */ HOW (R_PARISC_LTOFF64, 8, 64, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_DLTIND14WR, 4, 14, false, bitfield, 0), HOW (R_PARISC_DLTIND14DR, 4, 14, false, bitfield, 0), HOW (R_PARISC_LTOFF16F, 4, 16, false, bitfield, 0), HOW (R_PARISC_LTOFF16WF, 4, 16, false, bitfield, 0), HOW (R_PARISC_LTOFF16DF, 4, 16, false, bitfield, 0), /* 104 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_BASEREL14WR, 4, 14, false, bitfield, 0), HOW (R_PARISC_BASEREL14DR, 4, 14, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), /* 112 */ HOW (R_PARISC_SEGREL64, 8, 64, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_PLTOFF14WR, 4, 14, false, bitfield, 0), HOW (R_PARISC_PLTOFF14DR, 4, 14, false, bitfield, 0), HOW (R_PARISC_PLTOFF16F, 4, 16, false, bitfield, 0), @@ -189,116 +189,116 @@ static reloc_howto_type elf_hppa_howto_table[ELF_HOWTO_TABLE_SIZE] = HOW (R_PARISC_PLTOFF16DF, 4, 16, false, bitfield, 0), /* 120 */ HOW (R_PARISC_LTOFF_FPTR64, 8, 64, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_LTOFF_FPTR14WR, 4, 14, false, bitfield, 0), HOW (R_PARISC_LTOFF_FPTR14DR, 4, 14, false, bitfield, 0), HOW (R_PARISC_LTOFF_FPTR16F, 4, 16, false, bitfield, 0), HOW (R_PARISC_LTOFF_FPTR16WF, 4, 16, false, bitfield, 0), HOW (R_PARISC_LTOFF_FPTR16DF, 4, 16, false, bitfield, 0), /* 128 */ - HOW (R_PARISC_COPY, 1, 0, false, bitfield, 0), - HOW (R_PARISC_IPLT, 1, 0, false, bitfield, 0), - HOW (R_PARISC_EPLT, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_COPY, 0, 0, false, bitfield, 0), + HOW (R_PARISC_IPLT, 0, 0, false, bitfield, 0), + HOW (R_PARISC_EPLT, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), /* 136 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), /* 144 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), /* 152 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), HOW (R_PARISC_TPREL32, 4, 32, false, dont, 0), HOW (R_PARISC_TPREL21L, 4, 21, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), HOW (R_PARISC_TPREL14R, 4, 14, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), /* 160 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), HOW (R_PARISC_LTOFF_TP21L, 4, 21, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_LTOFF_TP14R, 4, 14, false, bitfield, 0), HOW (R_PARISC_LTOFF_TP14F, 4, 14, false, bitfield, 0), /* 168 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), /* 176 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), /* 184 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), /* 192 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), /* 200 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), /* 208 */ - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, dont, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, dont, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), /* 216 */ HOW (R_PARISC_TPREL64, 8, 64, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_TPREL14WR, 4, 14, false, dont, 0), HOW (R_PARISC_TPREL14DR, 4, 14, false, bitfield, 0), HOW (R_PARISC_TPREL16F, 4, 16, false, bitfield, 0), @@ -306,22 +306,22 @@ static reloc_howto_type elf_hppa_howto_table[ELF_HOWTO_TABLE_SIZE] = HOW (R_PARISC_TPREL16DF, 4, 16, false, bitfield, 0), /* 224 */ HOW (R_PARISC_LTOFF_TP64, 8, 64, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), - HOW (R_PARISC_UNIMPLEMENTED, 1, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), + HOW (R_PARISC_UNIMPLEMENTED, 0, 0, false, bitfield, 0), HOW (R_PARISC_LTOFF_TP14WR, 4, 14, false, bitfield, 0), HOW (R_PARISC_LTOFF_TP14DR, 4, 14, false, bitfield, 0), HOW (R_PARISC_LTOFF_TP16F, 4, 16, false, dont, 0), HOW (R_PARISC_LTOFF_TP16WF, 4, 16, false, bitfield, 0), HOW (R_PARISC_LTOFF_TP16DF, 4, 16, false, bitfield, 0), /* 232 */ - HOW (R_PARISC_GNU_VTENTRY, 1, 0, false, dont, 0), - HOW (R_PARISC_GNU_VTINHERIT, 1, 0, false, dont, 0), + HOW (R_PARISC_GNU_VTENTRY, 0, 0, false, dont, 0), + HOW (R_PARISC_GNU_VTINHERIT, 0, 0, false, dont, 0), HOW (R_PARISC_TLS_GD21L, 4, 21, false, bitfield, 0), HOW (R_PARISC_TLS_GD14R, 4, 14, false, bitfield, 0), - HOW (R_PARISC_TLS_GDCALL, 1, 0, false, dont, 0), + HOW (R_PARISC_TLS_GDCALL, 0, 0, false, dont, 0), HOW (R_PARISC_TLS_LDM21L, 4, 21, false, bitfield, 0), HOW (R_PARISC_TLS_LDM14R, 4, 14, false, bitfield, 0), - HOW (R_PARISC_TLS_LDMCALL, 1, 0, false, dont, 0), + HOW (R_PARISC_TLS_LDMCALL, 0, 0, false, dont, 0), /* 240 */ HOW (R_PARISC_TLS_LDO21L, 4, 21, false, bitfield, 0), HOW (R_PARISC_TLS_LDO14R, 4, 14, false, bitfield, 0), diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c index 6e7c5e8bb9b..3010b54cbf8 100644 --- a/bfd/elf-m10300.c +++ b/bfd/elf-m10300.c @@ -242,7 +242,7 @@ static reloc_howto_type elf_mn10300_howto_table[] = /* GNU extension to record C++ vtable hierarchy. */ HOWTO (R_MN10300_GNU_VTINHERIT, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -257,7 +257,7 @@ static reloc_howto_type elf_mn10300_howto_table[] = /* GNU extension to record C++ vtable member usage */ HOWTO (R_MN10300_GNU_VTENTRY, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 8387e239235..b8c480fb1c1 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -282,7 +282,7 @@ static reloc_howto_type elf32_arm_howto_table_1[] = HOWTO (R_ARM_THM_SWI8, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -1900,7 +1900,7 @@ static reloc_howto_type elf32_arm_howto_table_3[4] = { HOWTO (R_ARM_RREL32, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -1914,7 +1914,7 @@ static reloc_howto_type elf32_arm_howto_table_3[4] = HOWTO (R_ARM_RABS32, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -1928,7 +1928,7 @@ static reloc_howto_type elf32_arm_howto_table_3[4] = HOWTO (R_ARM_RPC24, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -1942,7 +1942,7 @@ static reloc_howto_type elf32_arm_howto_table_3[4] = HOWTO (R_ARM_RBASE, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elf32-csky.c b/bfd/elf32-csky.c index 3a6a2ce25a1..b312fe312be 100644 --- a/bfd/elf32-csky.c +++ b/bfd/elf32-csky.c @@ -142,7 +142,7 @@ static reloc_howto_type csky_elf_howto_table[] = true), /* pcrel_offset */ /* 4: DELETED. */ - HOWTO (R_CKCORE_PCREL_IMM4BY2,0,1,0,0,0,0,0,"R_CKCORE_PCREL_IMM4BY2",0,0,0,0), + HOWTO (R_CKCORE_PCREL_IMM4BY2,0,0,0,0,0,0,0,"R_CKCORE_PCREL_IMM4BY2",0,0,0,0), /* 5. */ HOWTO (R_CKCORE_PCREL32, /* type */ @@ -236,10 +236,10 @@ static reloc_howto_type csky_elf_howto_table[] = false), /* pcrel_offset */ /* 11: None. */ - HOWTO (R_CKCORE_GLOB_DAT,0,1,0,0,0,0,0,"R_CKCORE_GLOB_DAT",0,0,0,0), + HOWTO (R_CKCORE_GLOB_DAT,0,0,0,0,0,0,0,"R_CKCORE_GLOB_DAT",0,0,0,0), /* 12: None. */ - HOWTO (R_CKCORE_JUMP_SLOT,0,1,0,0,0,0,0,"R_CKCORE_JUMP_SLOT",0,0,0,0), + HOWTO (R_CKCORE_JUMP_SLOT,0,0,0,0,0,0,0,"R_CKCORE_JUMP_SLOT",0,0,0,0), /* 13. */ HOWTO (R_CKCORE_GOTOFF, /* type */ @@ -302,10 +302,10 @@ static reloc_howto_type csky_elf_howto_table[] = true), /* pcrel_offset */ /* 17: None. */ - HOWTO (R_CKCORE_ADDRGOT,0,1,0,0,0,0,0,"R_CKCORE_ADDRGOT",0,0,0,0), + HOWTO (R_CKCORE_ADDRGOT,0,0,0,0,0,0,0,"R_CKCORE_ADDRGOT",0,0,0,0), /* 18: None. */ - HOWTO (R_CKCORE_ADDRPLT,0,1,0,0,0,0,0,"R_CKCORE_ADDRPLT",0,0,0,0), + HOWTO (R_CKCORE_ADDRPLT,0,0,0,0,0,0,0,"R_CKCORE_ADDRPLT",0,0,0,0), /* 19: Only for csky v2. */ HOWTO (R_CKCORE_PCREL_IMM26BY2, /* type */ @@ -563,16 +563,16 @@ static reloc_howto_type csky_elf_howto_table[] = false), /* pcrel_offset */ /* 36: None. */ - HOWTO (R_CKCORE_ADDRGOT_HI16,0,1,0,0,0,0,0,"R_CKCORE_",0,0,0,0), + HOWTO (R_CKCORE_ADDRGOT_HI16,0,0,0,0,0,0,0,"R_CKCORE_",0,0,0,0), /* 37: None. */ - HOWTO (R_CKCORE_ADDRGOT_LO16,0,1,0,0,0,0,0,"R_CKCORE_",0,0,0,0), + HOWTO (R_CKCORE_ADDRGOT_LO16,0,0,0,0,0,0,0,"R_CKCORE_",0,0,0,0), /* 38: None. */ - HOWTO (R_CKCORE_ADDRPLT_HI16,0,1,0,0,0,0,0,"R_CKCORE_",0,0,0,0), + HOWTO (R_CKCORE_ADDRPLT_HI16,0,0,0,0,0,0,0,"R_CKCORE_",0,0,0,0), /* 39: None. */ - HOWTO (R_CKCORE_ADDRPLT_LO16,0,1,0,0,0,0,0,"R_CKCORE_",0,0,0,0), + HOWTO (R_CKCORE_ADDRPLT_LO16,0,0,0,0,0,0,0,"R_CKCORE_",0,0,0,0), /* 40. */ HOWTO (R_CKCORE_PCREL_JSR_IMM26BY2, /* type */ @@ -815,13 +815,13 @@ static reloc_howto_type csky_elf_howto_table[] = true), /* pcrel_offset */ /* 56: for linker. */ - HOWTO (R_CKCORE_TLS_DTPMOD32,0,1,0,0,0,0,0,"R_CKCORE_TLS_DTPMOD32",0,0,0,0), + HOWTO (R_CKCORE_TLS_DTPMOD32,0,0,0,0,0,0,0,"R_CKCORE_TLS_DTPMOD32",0,0,0,0), /* 57: for linker. */ - HOWTO (R_CKCORE_TLS_DTPOFF32,0,1,0,0,0,0,0,"R_CKCORE_TLS_DTPOFF32",0,0,0,0), + HOWTO (R_CKCORE_TLS_DTPOFF32,0,0,0,0,0,0,0,"R_CKCORE_TLS_DTPOFF32",0,0,0,0), /* 58: for linker. */ - HOWTO (R_CKCORE_TLS_TPOFF32,0,1,0,0,0,0,0,"R_CKCORE_TLS_TPOFF32",0,0,0,0), + HOWTO (R_CKCORE_TLS_TPOFF32,0,0,0,0,0,0,0,"R_CKCORE_TLS_TPOFF32",0,0,0,0), /* 59: for ck807f. */ HOWTO (R_CKCORE_PCREL_FLRW_IMM8BY4, /* type */ @@ -856,7 +856,7 @@ static reloc_howto_type csky_elf_howto_table[] = /* 61: for callgraph. */ HOWTO (R_CKCORE_CALLGRAPH, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -869,7 +869,7 @@ static reloc_howto_type csky_elf_howto_table[] = true), /* pcrel_offset */ /* 62: IRELATIVE*/ - HOWTO (R_CKCORE_IRELATIVE,0,1,0,0,0,0,0,"R_CKCORE_IRELATIVE",0,0,0,0), + HOWTO (R_CKCORE_IRELATIVE,0,0,0,0,0,0,0,"R_CKCORE_IRELATIVE",0,0,0,0), /* 63: for bloop instruction */ HOWTO (R_CKCORE_PCREL_BLOOP_IMM4BY4, /* type */ diff --git a/bfd/elf32-m32c.c b/bfd/elf32-m32c.c index 0d690a06371..fe564df0b05 100644 --- a/bfd/elf32-m32c.c +++ b/bfd/elf32-m32c.c @@ -193,7 +193,7 @@ static reloc_howto_type m32c_elf_howto_table [] = HOWTO (R_M32C_RL_JUMP, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -207,7 +207,7 @@ static reloc_howto_type m32c_elf_howto_table [] = HOWTO (R_M32C_RL_1ADDR, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -221,7 +221,7 @@ static reloc_howto_type m32c_elf_howto_table [] = HOWTO (R_M32C_RL_2ADDR, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c index 90d318e266f..150b638154b 100644 --- a/bfd/elf32-m68k.c +++ b/bfd/elf32-m68k.c @@ -52,7 +52,7 @@ static reloc_howto_type howto_table[] = HOWTO(R_68K_PLT32O, 0, 4,32, false,0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_68K_PLT32O", false, 0, 0xffffffff,false), HOWTO(R_68K_PLT16O, 0, 2,16, false,0, complain_overflow_signed, bfd_elf_generic_reloc, "R_68K_PLT16O", false, 0, 0x0000ffff,false), HOWTO(R_68K_PLT8O, 0, 1, 8, false,0, complain_overflow_signed, bfd_elf_generic_reloc, "R_68K_PLT8O", false, 0, 0x000000ff,false), - HOWTO(R_68K_COPY, 0, 1, 0, false,0, complain_overflow_dont, bfd_elf_generic_reloc, "R_68K_COPY", false, 0, 0xffffffff,false), + HOWTO(R_68K_COPY, 0, 0, 0, false,0, complain_overflow_dont, bfd_elf_generic_reloc, "R_68K_COPY", false, 0, 0xffffffff,false), HOWTO(R_68K_GLOB_DAT, 0, 4,32, false,0, complain_overflow_dont, bfd_elf_generic_reloc, "R_68K_GLOB_DAT", false, 0, 0xffffffff,false), HOWTO(R_68K_JMP_SLOT, 0, 4,32, false,0, complain_overflow_dont, bfd_elf_generic_reloc, "R_68K_JMP_SLOT", false, 0, 0xffffffff,false), HOWTO(R_68K_RELATIVE, 0, 4,32, false,0, complain_overflow_dont, bfd_elf_generic_reloc, "R_68K_RELATIVE", false, 0, 0xffffffff,false), diff --git a/bfd/elf32-mep.c b/bfd/elf32-mep.c index 48fa9f962a2..f700dfce90d 100644 --- a/bfd/elf32-mep.c +++ b/bfd/elf32-mep.c @@ -40,7 +40,7 @@ static reloc_howto_type mep_elf_howto_table [] = { /* type, size, bits, leftshift, rightshift, pcrel, OD/OS/OU, mask. */ MEPREL (R_MEP_NONE, 0, 0, 0, 0, 0, N, 0), - MEPREL (R_RELC, 1, 0, 0, 0, 0, N, 0), + MEPREL (R_RELC, 0, 0, 0, 0, 0, N, 0), /* MEPRELOC:HOWTO */ /* This section generated from bfd/mep-relocs.pl from include/elf/mep.h. */ MEPREL (R_MEP_8, 1, 8, 0, 0, 0, U, 0xff), diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 7bce3fa9ce9..b08c27e8be0 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -1617,7 +1617,7 @@ static reloc_howto_type elf_mips_gnu_vtentry_howto = static reloc_howto_type elf_mips_copy_howto = HOWTO (R_MIPS_COPY, /* type */ 0, /* rightshift */ - 1, /* this one is variable size */ + 0, /* this one is variable size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 290d231fd2e..3582711d962 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -683,11 +683,11 @@ static reloc_howto_type ppc_elf_howto_raw[] = { ppc_elf_addr16_ha_reloc), /* GNU extension to record C++ vtable hierarchy. */ - HOW (R_PPC_GNU_VTINHERIT, 1, 0, 0, 0, false, dont, + HOW (R_PPC_GNU_VTINHERIT, 0, 0, 0, 0, false, dont, NULL), /* GNU extension to record C++ vtable member usage. */ - HOW (R_PPC_GNU_VTENTRY, 1, 0, 0, 0, false, dont, + HOW (R_PPC_GNU_VTENTRY, 0, 0, 0, 0, false, dont, NULL), /* Phony reloc to handle AIX style TOC entries. */ diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c index 80d1fe56312..6df021468b5 100644 --- a/bfd/elf32-rx.c +++ b/bfd/elf32-rx.c @@ -96,7 +96,7 @@ static reloc_howto_type rx_elf_howto_table [] = RXREL (RH_GPRELB, 2, 16, 0, unsigned, false), RXREL (RH_GPRELW, 2, 16, 0, unsigned, false), RXREL (RH_GPRELL, 2, 16, 0, unsigned, false), - RXREL (RH_RELAX, 1, 0, 0, dont, false), + RXREL (RH_RELAX, 0, 0, 0, dont, false), EMPTY_HOWTO (0x2e), EMPTY_HOWTO (0x2f), @@ -181,25 +181,25 @@ static reloc_howto_type rx_elf_howto_table [] = /* A 5-bit unsigned displacement to a B/W/L address, at bit position 8/12. */ /* ---- ---- 4--- 3210. */ #define R_RX_RH_ABS5p8B 0x78 - RXREL (RH_ABS5p8B, 1, 0, 0, dont, false), + RXREL (RH_ABS5p8B, 0, 0, 0, dont, false), #define R_RX_RH_ABS5p8W 0x79 - RXREL (RH_ABS5p8W, 1, 0, 0, dont, false), + RXREL (RH_ABS5p8W, 0, 0, 0, dont, false), #define R_RX_RH_ABS5p8L 0x7a - RXREL (RH_ABS5p8L, 1, 0, 0, dont, false), + RXREL (RH_ABS5p8L, 0, 0, 0, dont, false), /* A 5-bit unsigned displacement to a B/W/L address, at bit position 5/12. */ /* ---- -432 1--- 0---. */ #define R_RX_RH_ABS5p5B 0x7b - RXREL (RH_ABS5p5B, 1, 0, 0, dont, false), + RXREL (RH_ABS5p5B, 0, 0, 0, dont, false), #define R_RX_RH_ABS5p5W 0x7c - RXREL (RH_ABS5p5W, 1, 0, 0, dont, false), + RXREL (RH_ABS5p5W, 0, 0, 0, dont, false), #define R_RX_RH_ABS5p5L 0x7d - RXREL (RH_ABS5p5L, 1, 0, 0, dont, false), + RXREL (RH_ABS5p5L, 0, 0, 0, dont, false), /* A 4-bit unsigned immediate at bit position 8. */ #define R_RX_RH_UIMM4p8 0x7e - RXREL (RH_UIMM4p8, 1, 0, 0, dont, false), + RXREL (RH_UIMM4p8, 0, 0, 0, dont, false), /* A 4-bit negative unsigned immediate at bit position 8. */ #define R_RX_RH_UNEG4p8 0x7f - RXREL (RH_UNEG4p8, 1, 0, 0, dont, false), + RXREL (RH_UNEG4p8, 0, 0, 0, dont, false), /* End of internal relocs. */ RXREL (SYM, 4, 32, 0, dont, false), diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c index 197696b8adb..45b4581f8a2 100644 --- a/bfd/elf32-s390.c +++ b/bfd/elf32-s390.c @@ -117,11 +117,11 @@ static reloc_howto_type elf_howto_table[] = HOWTO(R_390_PLTOFF32, 0, 4, 32, false, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_390_PLTOFF32", false, 0,0xffffffff, false), EMPTY_HOWTO (R_390_PLTOFF64), /* Empty entry for R_390_PLTOFF64. */ - HOWTO(R_390_TLS_LOAD, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_390_TLS_LOAD, 0, 0, 0, false, 0, complain_overflow_dont, s390_tls_reloc, "R_390_TLS_LOAD", false, 0, 0, false), - HOWTO(R_390_TLS_GDCALL, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_390_TLS_GDCALL, 0, 0, 0, false, 0, complain_overflow_dont, s390_tls_reloc, "R_390_TLS_GDCALL", false, 0, 0, false), - HOWTO(R_390_TLS_LDCALL, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_390_TLS_LDCALL, 0, 0, 0, false, 0, complain_overflow_dont, s390_tls_reloc, "R_390_TLS_LDCALL", false, 0, 0, false), HOWTO(R_390_TLS_GD32, 0, 4, 32, false, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_390_TLS_GD32", false, 0, 0xffffffff, false), diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c index 565176e8202..dc973fadc6c 100644 --- a/bfd/elf32-spu.c +++ b/bfd/elf32-spu.c @@ -91,7 +91,7 @@ static reloc_howto_type elf_howto_table[] = { HOWTO (R_SPU_PPU64, 0, 8, 64, false, 0, complain_overflow_dont, bfd_elf_generic_reloc, "SPU_PPU64", false, 0, -1, false), - HOWTO (R_SPU_ADD_PIC, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO (R_SPU_ADD_PIC, 0, 0, 0, false, 0, complain_overflow_dont, bfd_elf_generic_reloc, "SPU_ADD_PIC", false, 0, 0x00000000, false), }; diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c index 736b2c6a159..4150d2481c1 100644 --- a/bfd/elf32-tic6x.c +++ b/bfd/elf32-tic6x.c @@ -763,7 +763,7 @@ static reloc_howto_type elf32_tic6x_howto_table[] = EMPTY_HOWTO (252), HOWTO (R_C6000_ALIGN, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -776,7 +776,7 @@ static reloc_howto_type elf32_tic6x_howto_table[] = false), /* pcrel_offset */ HOWTO (R_C6000_FPHEAD, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -789,7 +789,7 @@ static reloc_howto_type elf32_tic6x_howto_table[] = false), /* pcrel_offset */ HOWTO (R_C6000_NOCMP, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -1347,7 +1347,7 @@ static reloc_howto_type elf32_tic6x_howto_table_rel[] = EMPTY_HOWTO (252), HOWTO (R_C6000_ALIGN, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -1360,7 +1360,7 @@ static reloc_howto_type elf32_tic6x_howto_table_rel[] = false), /* pcrel_offset */ HOWTO (R_C6000_FPHEAD, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -1373,7 +1373,7 @@ static reloc_howto_type elf32_tic6x_howto_table_rel[] = false), /* pcrel_offset */ HOWTO (R_C6000_NOCMP, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elf32-tilepro.c b/bfd/elf32-tilepro.c index 438177ecc33..6f2f6ed7eb0 100644 --- a/bfd/elf32-tilepro.c +++ b/bfd/elf32-tilepro.c @@ -184,7 +184,7 @@ static reloc_howto_type tilepro_elf_howto_table [] = HOWTO (R_TILEPRO_COPY, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -198,7 +198,7 @@ static reloc_howto_type tilepro_elf_howto_table [] = HOWTO (R_TILEPRO_GLOB_DAT, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -212,7 +212,7 @@ static reloc_howto_type tilepro_elf_howto_table [] = HOWTO (R_TILEPRO_JMP_SLOT, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -226,7 +226,7 @@ static reloc_howto_type tilepro_elf_howto_table [] = HOWTO (R_TILEPRO_RELATIVE, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -476,13 +476,13 @@ static reloc_howto_type tilepro_elf_howto_table [] = TILEPRO_IMM16_HOWTO (R_TILEPRO_IMM16_X1_TLS_IE_HA, 16), /* These are common with the Solaris TLS implementation. */ - HOWTO(R_TILEPRO_TLS_DTPMOD32, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_TILEPRO_TLS_DTPMOD32, 0, 0, 0, false, 0, complain_overflow_dont, bfd_elf_generic_reloc, "R_TILEPRO_TLS_DTPMOD32", false, 0, 0, true), HOWTO(R_TILEPRO_TLS_DTPOFF32, 0, 4, 32, false, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_TILEPRO_TLS_DTPOFF32", false, 0, 0xFFFFFFFF, true), - HOWTO(R_TILEPRO_TLS_TPOFF32, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_TILEPRO_TLS_TPOFF32, 0, 0, 0, false, 0, complain_overflow_dont, bfd_elf_generic_reloc, "R_TILEPRO_TLS_TPOFF32", false, 0, 0, true), diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c index bff6b8f6702..dc23b5710f9 100644 --- a/bfd/elf32-vax.c +++ b/bfd/elf32-vax.c @@ -192,7 +192,7 @@ static reloc_howto_type howto_table[] = { HOWTO (R_VAX_COPY, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index d7bc489da7d..ce3c46f69e5 100644 --- a/bfd/elf32-xtensa.c +++ b/bfd/elf32-xtensa.c @@ -222,18 +222,18 @@ static reloc_howto_type elf_howto_table[] = EMPTY_HOWTO (7), /* Old relocations for backward compatibility. */ - HOWTO (R_XTENSA_OP0, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_OP0, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_OP0", false, 0, 0, true), - HOWTO (R_XTENSA_OP1, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_OP1, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_OP1", false, 0, 0, true), - HOWTO (R_XTENSA_OP2, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_OP2, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_OP2", false, 0, 0, true), /* Assembly auto-expansion. */ - HOWTO (R_XTENSA_ASM_EXPAND, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_ASM_EXPAND, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_ASM_EXPAND", false, 0, 0, true), /* Relax assembly auto-expansion. */ - HOWTO (R_XTENSA_ASM_SIMPLIFY, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_ASM_SIMPLIFY, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_ASM_SIMPLIFY", false, 0, 0, true), EMPTY_HOWTO (13), @@ -260,67 +260,67 @@ static reloc_howto_type elf_howto_table[] = bfd_elf_xtensa_reloc, "R_XTENSA_DIFF32", false, 0, 0xffffffff, false), /* General immediate operand relocations. */ - HOWTO (R_XTENSA_SLOT0_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT0_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT0_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT1_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT1_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT1_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT2_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT2_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT2_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT3_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT3_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT3_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT4_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT4_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT4_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT5_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT5_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT5_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT6_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT6_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT6_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT7_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT7_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT7_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT8_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT8_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT8_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT9_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT9_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT9_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT10_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT10_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT10_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT11_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT11_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT11_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT12_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT12_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT12_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT13_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT13_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT13_OP", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT14_OP, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT14_OP, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT14_OP", false, 0, 0, true), /* "Alternate" relocations. The meaning of these is opcode-specific. */ - HOWTO (R_XTENSA_SLOT0_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT0_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT0_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT1_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT1_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT1_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT2_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT2_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT2_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT3_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT3_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT3_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT4_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT4_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT4_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT5_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT5_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT5_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT6_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT6_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT6_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT7_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT7_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT7_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT8_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT8_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT8_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT9_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT9_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT9_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT10_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT10_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT10_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT11_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT11_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT11_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT12_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT12_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT12_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT13_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT13_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT13_ALT", false, 0, 0, true), - HOWTO (R_XTENSA_SLOT14_ALT, 0, 1, 0, true, 0, complain_overflow_dont, + HOWTO (R_XTENSA_SLOT14_ALT, 0, 0, 0, true, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_SLOT14_ALT", false, 0, 0, true), /* TLS relocations. */ @@ -336,13 +336,13 @@ static reloc_howto_type elf_howto_table[] = HOWTO (R_XTENSA_TLS_TPOFF, 0, 4, 32, false, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_TLS_TPOFF", false, 0, 0xffffffff, false), - HOWTO (R_XTENSA_TLS_FUNC, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO (R_XTENSA_TLS_FUNC, 0, 0, 0, false, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_TLS_FUNC", false, 0, 0, false), - HOWTO (R_XTENSA_TLS_ARG, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO (R_XTENSA_TLS_ARG, 0, 0, 0, false, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_TLS_ARG", false, 0, 0, false), - HOWTO (R_XTENSA_TLS_CALL, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO (R_XTENSA_TLS_CALL, 0, 0, 0, false, 0, complain_overflow_dont, bfd_elf_xtensa_reloc, "R_XTENSA_TLS_CALL", false, 0, 0, false), diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index ab98e9fcf47..75e522dbcd5 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -482,7 +482,7 @@ elf64_alpha_reloc_gpdisp (bfd *abfd, arelent *reloc_entry, #define SKIP_HOWTO(N) \ - HOWTO(N, 0, 1, 0, 0, 0, complain_overflow_dont, elf64_alpha_reloc_bad, 0, 0, 0, 0, 0) + HOWTO(N, 0, 0, 0, 0, 0, complain_overflow_dont, elf64_alpha_reloc_bad, 0, 0, 0, 0, 0) static reloc_howto_type elf64_alpha_howto_table[] = { @@ -754,7 +754,7 @@ static reloc_howto_type elf64_alpha_howto_table[] = because .dynbss is an ugly thing. */ HOWTO (R_ALPHA_COPY, 0, - 1, + 0, 0, false, 0, @@ -769,7 +769,7 @@ static reloc_howto_type elf64_alpha_howto_table[] = /* A dynamic relocation for a .got entry. */ HOWTO (R_ALPHA_GLOB_DAT, 0, - 1, + 0, 0, false, 0, @@ -784,7 +784,7 @@ static reloc_howto_type elf64_alpha_howto_table[] = /* A dynamic relocation for a .plt entry. */ HOWTO (R_ALPHA_JMP_SLOT, 0, - 1, + 0, 0, false, 0, @@ -799,7 +799,7 @@ static reloc_howto_type elf64_alpha_howto_table[] = /* A dynamic relocation to add the base of the DSO to a 64-bit field. */ HOWTO (R_ALPHA_RELATIVE, 0, - 1, + 0, 0, false, 0, diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index 91b0dceb6c8..a97f4228ce7 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -3170,7 +3170,7 @@ static reloc_howto_type elf_mips_gnu_pcrel32 = static reloc_howto_type elf_mips_copy_howto = HOWTO (R_MIPS_COPY, /* type */ 0, /* rightshift */ - 1, /* this one is variable size */ + 0, /* this one is variable size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elf64-mmix.c b/bfd/elf64-mmix.c index e89d59d9326..b516ba71d76 100644 --- a/bfd/elf64-mmix.c +++ b/bfd/elf64-mmix.c @@ -357,7 +357,7 @@ static reloc_howto_type elf_mmix_howto_table[] = /* GNU extension to record C++ vtable hierarchy. */ HOWTO (R_MMIX_GNU_VTINHERIT, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -372,7 +372,7 @@ static reloc_howto_type elf_mmix_howto_table[] = /* GNU extension to record C++ vtable member usage. */ HOWTO (R_MMIX_GNU_VTENTRY, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -727,7 +727,7 @@ static reloc_howto_type elf_mmix_howto_table[] = section to discard *after* relocation. */ HOWTO (R_MMIX_LOCAL, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 335beb7b2c7..6e2016c150d 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -415,7 +415,7 @@ static reloc_howto_type ppc64_elf_howto_raw[] = dynamic linker copies the data addressed by the symbol from the shared library into the object, because the object being run has to have the data at some particular address. */ - HOW (R_PPC64_COPY, 1, 0, 0, 0, false, dont, + HOW (R_PPC64_COPY, 0, 0, 0, 0, false, dont, ppc64_elf_unhandled_reloc), /* Like R_PPC64_ADDR64, but used when setting global offset table @@ -425,7 +425,7 @@ static reloc_howto_type ppc64_elf_howto_raw[] = /* Created by the link editor. Marks a procedure linkage table entry for a symbol. */ - HOW (R_PPC64_JMP_SLOT, 1, 0, 0, 0, false, dont, + HOW (R_PPC64_JMP_SLOT, 0, 0, 0, 0, false, dont, ppc64_elf_unhandled_reloc), /* Used only by the dynamic linker. When the object is run, this @@ -822,7 +822,7 @@ static reloc_howto_type ppc64_elf_howto_raw[] = HOW (R_PPC64_GOT_TPREL16_HA, 2, 16, 0xffff, 16, false, signed, ppc64_elf_unhandled_reloc), - HOW (R_PPC64_JMP_IREL, 1, 0, 0, 0, false, dont, + HOW (R_PPC64_JMP_IREL, 0, 0, 0, 0, false, dont, ppc64_elf_unhandled_reloc), HOW (R_PPC64_IRELATIVE, 8, 64, 0xffffffffffffffffULL, 0, false, dont, @@ -985,11 +985,11 @@ static reloc_howto_type ppc64_elf_howto_raw[] = ppc64_elf_prefix_reloc), /* GNU extension to record C++ vtable hierarchy. */ - HOW (R_PPC64_GNU_VTINHERIT, 1, 0, 0, 0, false, dont, + HOW (R_PPC64_GNU_VTINHERIT, 0, 0, 0, 0, false, dont, NULL), /* GNU extension to record C++ vtable member usage. */ - HOW (R_PPC64_GNU_VTENTRY, 1, 0, 0, 0, false, dont, + HOW (R_PPC64_GNU_VTENTRY, 0, 0, 0, 0, false, dont, NULL), }; diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c index 0b9b0b809b7..c1ed3d619d6 100644 --- a/bfd/elf64-s390.c +++ b/bfd/elf64-s390.c @@ -128,11 +128,11 @@ static reloc_howto_type elf_howto_table[] = bfd_elf_generic_reloc, "R_390_PLTOFF32", false, 0,0xffffffff, false), HOWTO(R_390_PLTOFF64, 0, 8, 64, false, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_390_PLTOFF64", false, 0,MINUS_ONE, false), - HOWTO(R_390_TLS_LOAD, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_390_TLS_LOAD, 0, 0, 0, false, 0, complain_overflow_dont, s390_tls_reloc, "R_390_TLS_LOAD", false, 0, 0, false), - HOWTO(R_390_TLS_GDCALL, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_390_TLS_GDCALL, 0, 0, 0, false, 0, complain_overflow_dont, s390_tls_reloc, "R_390_TLS_GDCALL", false, 0, 0, false), - HOWTO(R_390_TLS_LDCALL, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_390_TLS_LDCALL, 0, 0, 0, false, 0, complain_overflow_dont, s390_tls_reloc, "R_390_TLS_LDCALL", false, 0, 0, false), EMPTY_HOWTO (R_390_TLS_GD32), /* Empty entry for R_390_TLS_GD32. */ HOWTO(R_390_TLS_GD64, 0, 8, 64, false, 0, complain_overflow_bitfield, diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c index 1199a6f4d64..b74d25f12f7 100644 --- a/bfd/elfn32-mips.c +++ b/bfd/elfn32-mips.c @@ -3150,7 +3150,7 @@ static reloc_howto_type elf_mips_gnu_pcrel32 = static reloc_howto_type elf_mips_copy_howto = HOWTO (R_MIPS_COPY, /* type */ 0, /* rightshift */ - 1, /* this one is variable size */ + 0, /* this one is variable size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elfxx-loongarch.c b/bfd/elfxx-loongarch.c index 362da2ed758..4424969e579 100644 --- a/bfd/elfxx-loongarch.c +++ b/bfd/elfxx-loongarch.c @@ -130,7 +130,7 @@ static loongarch_reloc_howto_type loongarch_howto_table[] = LOONGARCH_HOWTO (R_LARCH_COPY, /* type (4). */ 0, /* rightshift */ - 1, /* this one is variable size */ + 0, /* this one is variable size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -655,7 +655,7 @@ static loongarch_reloc_howto_type loongarch_howto_table[] = LOONGARCH_HOWTO (R_LARCH_GNU_VTINHERIT, /* type (57). */ 0, /* rightshift. */ - 1, /* size. */ + 0, /* size. */ 0, /* bitsize. */ false, /* pc_relative. */ 0, /* bitpos. */ @@ -671,7 +671,7 @@ static loongarch_reloc_howto_type loongarch_howto_table[] = LOONGARCH_HOWTO (R_LARCH_GNU_VTENTRY, /* type (58). */ 0, /* rightshift. */ - 1, /* size. */ + 0, /* size. */ 0, /* bitsize. */ false, /* pc_relative. */ 0, /* bitpos. */ diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index 9a365b6444a..7c36123338c 100644 --- a/bfd/elfxx-riscv.c +++ b/bfd/elfxx-riscv.c @@ -105,7 +105,7 @@ static reloc_howto_type howto_table[] = HOWTO (R_RISCV_COPY, /* type */ 0, /* rightshift */ - 1, /* this one is variable size */ + 0, /* this one is variable size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c index d1155a4d5d4..ea5b7724b90 100644 --- a/bfd/elfxx-sparc.c +++ b/bfd/elfxx-sparc.c @@ -228,17 +228,17 @@ static reloc_howto_type _bfd_sparc_elf_howto_table[] = HOWTO(R_SPARC_PC10, 0,4,10,true, 0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_PC10", false,0,0x000003ff,true), HOWTO(R_SPARC_PC22, 10,4,22,true, 0,complain_overflow_bitfield,bfd_elf_generic_reloc, "R_SPARC_PC22", false,0,0x003fffff,true), HOWTO(R_SPARC_WPLT30, 2,4,30,true, 0,complain_overflow_signed, bfd_elf_generic_reloc, "R_SPARC_WPLT30", false,0,0x3fffffff,true), - HOWTO(R_SPARC_COPY, 0,1,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_COPY", false,0,0x00000000,true), - HOWTO(R_SPARC_GLOB_DAT, 0,1,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_GLOB_DAT",false,0,0x00000000,true), - HOWTO(R_SPARC_JMP_SLOT, 0,1,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_JMP_SLOT",false,0,0x00000000,true), - HOWTO(R_SPARC_RELATIVE, 0,1,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_RELATIVE",false,0,0x00000000,true), + HOWTO(R_SPARC_COPY, 0,0,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_COPY", false,0,0x00000000,true), + HOWTO(R_SPARC_GLOB_DAT, 0,0,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_GLOB_DAT",false,0,0x00000000,true), + HOWTO(R_SPARC_JMP_SLOT, 0,0,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_JMP_SLOT",false,0,0x00000000,true), + HOWTO(R_SPARC_RELATIVE, 0,0,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_RELATIVE",false,0,0x00000000,true), HOWTO(R_SPARC_UA32, 0,4,32,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc, "R_SPARC_UA32", false,0,0xffffffff,true), HOWTO(R_SPARC_PLT32, 0,4,32,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc, "R_SPARC_PLT32", false,0,0xffffffff,true), - HOWTO(R_SPARC_HIPLT22, 0,1,00,false,0,complain_overflow_dont, sparc_elf_notsup_reloc, "R_SPARC_HIPLT22", false,0,0x00000000,true), - HOWTO(R_SPARC_LOPLT10, 0,1,00,false,0,complain_overflow_dont, sparc_elf_notsup_reloc, "R_SPARC_LOPLT10", false,0,0x00000000,true), - HOWTO(R_SPARC_PCPLT32, 0,1,00,false,0,complain_overflow_dont, sparc_elf_notsup_reloc, "R_SPARC_PCPLT32", false,0,0x00000000,true), - HOWTO(R_SPARC_PCPLT22, 0,1,00,false,0,complain_overflow_dont, sparc_elf_notsup_reloc, "R_SPARC_PCPLT22", false,0,0x00000000,true), - HOWTO(R_SPARC_PCPLT10, 0,1,00,false,0,complain_overflow_dont, sparc_elf_notsup_reloc, "R_SPARC_PCPLT10", false,0,0x00000000,true), + HOWTO(R_SPARC_HIPLT22, 0,0,00,false,0,complain_overflow_dont, sparc_elf_notsup_reloc, "R_SPARC_HIPLT22", false,0,0x00000000,true), + HOWTO(R_SPARC_LOPLT10, 0,0,00,false,0,complain_overflow_dont, sparc_elf_notsup_reloc, "R_SPARC_LOPLT10", false,0,0x00000000,true), + HOWTO(R_SPARC_PCPLT32, 0,0,00,false,0,complain_overflow_dont, sparc_elf_notsup_reloc, "R_SPARC_PCPLT32", false,0,0x00000000,true), + HOWTO(R_SPARC_PCPLT22, 0,0,00,false,0,complain_overflow_dont, sparc_elf_notsup_reloc, "R_SPARC_PCPLT22", false,0,0x00000000,true), + HOWTO(R_SPARC_PCPLT10, 0,0,00,false,0,complain_overflow_dont, sparc_elf_notsup_reloc, "R_SPARC_PCPLT10", false,0,0x00000000,true), HOWTO(R_SPARC_10, 0,4,10,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc, "R_SPARC_10", false,0,0x000003ff,true), HOWTO(R_SPARC_11, 0,4,11,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc, "R_SPARC_11", false,0,0x000007ff,true), HOWTO(R_SPARC_64, 0,8,64,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc, "R_SPARC_64", false,0,MINUS_ONE, true), @@ -251,7 +251,7 @@ static reloc_howto_type _bfd_sparc_elf_howto_table[] = HOWTO(R_SPARC_PC_LM22, 10,4,22,true, 0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_PC_LM22", false,0,0x003fffff,true), HOWTO(R_SPARC_WDISP16, 2,4,16,true, 0,complain_overflow_signed, sparc_elf_wdisp16_reloc,"R_SPARC_WDISP16", false,0,0x00000000,true), HOWTO(R_SPARC_WDISP19, 2,4,19,true, 0,complain_overflow_signed, bfd_elf_generic_reloc, "R_SPARC_WDISP19", false,0,0x0007ffff,true), - HOWTO(R_SPARC_UNUSED_42, 0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_UNUSED_42",false,0,0x00000000,true), + HOWTO(R_SPARC_UNUSED_42, 0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_UNUSED_42",false,0,0x00000000,true), HOWTO(R_SPARC_7, 0,4, 7,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc, "R_SPARC_7", false,0,0x0000007f,true), HOWTO(R_SPARC_5, 0,4, 5,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc, "R_SPARC_5", false,0,0x0000001f,true), HOWTO(R_SPARC_6, 0,4, 6,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc, "R_SPARC_6", false,0,0x0000003f,true), @@ -267,42 +267,42 @@ static reloc_howto_type _bfd_sparc_elf_howto_table[] = HOWTO(R_SPARC_UA16, 0,2,16,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc, "R_SPARC_UA16", false,0,0x0000ffff,true), HOWTO(R_SPARC_TLS_GD_HI22,10,4,22,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_GD_HI22",false,0,0x003fffff,true), HOWTO(R_SPARC_TLS_GD_LO10,0,4,10,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_GD_LO10",false,0,0x000003ff,true), - HOWTO(R_SPARC_TLS_GD_ADD,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_GD_ADD",false,0,0x00000000,true), + HOWTO(R_SPARC_TLS_GD_ADD,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_GD_ADD",false,0,0x00000000,true), HOWTO(R_SPARC_TLS_GD_CALL,2,4,30,true,0,complain_overflow_signed, bfd_elf_generic_reloc, "R_SPARC_TLS_GD_CALL",false,0,0x3fffffff,true), HOWTO(R_SPARC_TLS_LDM_HI22,10,4,22,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_LDM_HI22",false,0,0x003fffff,true), HOWTO(R_SPARC_TLS_LDM_LO10,0,4,10,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_LDM_LO10",false,0,0x000003ff,true), - HOWTO(R_SPARC_TLS_LDM_ADD,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_LDM_ADD",false,0,0x00000000,true), + HOWTO(R_SPARC_TLS_LDM_ADD,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_LDM_ADD",false,0,0x00000000,true), HOWTO(R_SPARC_TLS_LDM_CALL,2,4,30,true,0,complain_overflow_signed, bfd_elf_generic_reloc, "R_SPARC_TLS_LDM_CALL",false,0,0x3fffffff,true), HOWTO(R_SPARC_TLS_LDO_HIX22,0,4,0,false,0,complain_overflow_bitfield,sparc_elf_hix22_reloc,"R_SPARC_TLS_LDO_HIX22",false,0,0x003fffff, false), HOWTO(R_SPARC_TLS_LDO_LOX10,0,4,0,false,0,complain_overflow_dont, sparc_elf_lox10_reloc, "R_SPARC_TLS_LDO_LOX10",false,0,0x000003ff, false), - HOWTO(R_SPARC_TLS_LDO_ADD,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_LDO_ADD",false,0,0x00000000,true), + HOWTO(R_SPARC_TLS_LDO_ADD,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_LDO_ADD",false,0,0x00000000,true), HOWTO(R_SPARC_TLS_IE_HI22,10,4,22,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_IE_HI22",false,0,0x003fffff,true), HOWTO(R_SPARC_TLS_IE_LO10,0,4,10,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_IE_LO10",false,0,0x000003ff,true), - HOWTO(R_SPARC_TLS_IE_LD,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_IE_LD",false,0,0x00000000,true), - HOWTO(R_SPARC_TLS_IE_LDX,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_IE_LDX",false,0,0x00000000,true), - HOWTO(R_SPARC_TLS_IE_ADD,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_IE_ADD",false,0,0x00000000,true), + HOWTO(R_SPARC_TLS_IE_LD,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_IE_LD",false,0,0x00000000,true), + HOWTO(R_SPARC_TLS_IE_LDX,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_IE_LDX",false,0,0x00000000,true), + HOWTO(R_SPARC_TLS_IE_ADD,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_IE_ADD",false,0,0x00000000,true), HOWTO(R_SPARC_TLS_LE_HIX22,0,4,0,false,0,complain_overflow_bitfield,sparc_elf_hix22_reloc, "R_SPARC_TLS_LE_HIX22",false,0,0x003fffff, false), HOWTO(R_SPARC_TLS_LE_LOX10,0,4,0,false,0,complain_overflow_dont, sparc_elf_lox10_reloc, "R_SPARC_TLS_LE_LOX10",false,0,0x000003ff, false), - HOWTO(R_SPARC_TLS_DTPMOD32,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_DTPMOD32",false,0,0x00000000,true), - HOWTO(R_SPARC_TLS_DTPMOD64,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_DTPMOD64",false,0,0x00000000,true), + HOWTO(R_SPARC_TLS_DTPMOD32,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_DTPMOD32",false,0,0x00000000,true), + HOWTO(R_SPARC_TLS_DTPMOD64,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_DTPMOD64",false,0,0x00000000,true), HOWTO(R_SPARC_TLS_DTPOFF32,0,4,32,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc,"R_SPARC_TLS_DTPOFF32",false,0,0xffffffff,true), HOWTO(R_SPARC_TLS_DTPOFF64,0,8,64,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc,"R_SPARC_TLS_DTPOFF64",false,0,MINUS_ONE,true), - HOWTO(R_SPARC_TLS_TPOFF32,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_TPOFF32",false,0,0x00000000,true), - HOWTO(R_SPARC_TLS_TPOFF64,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_TPOFF64",false,0,0x00000000,true), + HOWTO(R_SPARC_TLS_TPOFF32,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_TPOFF32",false,0,0x00000000,true), + HOWTO(R_SPARC_TLS_TPOFF64,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_TLS_TPOFF64",false,0,0x00000000,true), HOWTO(R_SPARC_GOTDATA_HIX22,0,4,0,false,0,complain_overflow_bitfield,sparc_elf_hix22_reloc,"R_SPARC_GOTDATA_HIX22",false,0,0x003fffff, false), HOWTO(R_SPARC_GOTDATA_LOX10,0,4,0,false,0,complain_overflow_dont, sparc_elf_lox10_reloc, "R_SPARC_GOTDATA_LOX10",false,0,0x000003ff, false), HOWTO(R_SPARC_GOTDATA_OP_HIX22,0,4,0,false,0,complain_overflow_bitfield,sparc_elf_hix22_reloc,"R_SPARC_GOTDATA_OP_HIX22",false,0,0x003fffff, false), HOWTO(R_SPARC_GOTDATA_OP_LOX10,0,4,0,false,0,complain_overflow_dont, sparc_elf_lox10_reloc, "R_SPARC_GOTDATA_OP_LOX10",false,0,0x000003ff, false), - HOWTO(R_SPARC_GOTDATA_OP,0,1, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_GOTDATA_OP",false,0,0x00000000,true), + HOWTO(R_SPARC_GOTDATA_OP,0,0, 0,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_GOTDATA_OP",false,0,0x00000000,true), HOWTO(R_SPARC_H34,12,4,22,false,0,complain_overflow_unsigned,bfd_elf_generic_reloc,"R_SPARC_H34",false,0,0x003fffff,false), HOWTO(R_SPARC_SIZE32,0,4,32,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc,"R_SPARC_SIZE32",false,0,0xffffffff,true), HOWTO(R_SPARC_SIZE64,0,8,64,false,0,complain_overflow_bitfield,bfd_elf_generic_reloc,"R_SPARC_SIZE64",false,0,MINUS_ONE, true), HOWTO(R_SPARC_WDISP10,2,4,10,true, 0,complain_overflow_signed,sparc_elf_wdisp10_reloc,"R_SPARC_WDISP10",false,0,0x00000000,true), }; static reloc_howto_type sparc_jmp_irel_howto = - HOWTO(R_SPARC_JMP_IREL, 0,1,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_JMP_IREL",false,0,0x00000000,true); + HOWTO(R_SPARC_JMP_IREL, 0,0,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_JMP_IREL",false,0,0x00000000,true); static reloc_howto_type sparc_irelative_howto = - HOWTO(R_SPARC_IRELATIVE, 0,1,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_IRELATIVE",false,0,0x00000000,true); + HOWTO(R_SPARC_IRELATIVE, 0,0,00,false,0,complain_overflow_dont, bfd_elf_generic_reloc, "R_SPARC_IRELATIVE",false,0,0x00000000,true); static reloc_howto_type sparc_vtinherit_howto = HOWTO (R_SPARC_GNU_VTINHERIT, 0,4,0,false,0,complain_overflow_dont, NULL, "R_SPARC_GNU_VTINHERIT", false,0, 0, false); static reloc_howto_type sparc_vtentry_howto = diff --git a/bfd/elfxx-tilegx.c b/bfd/elfxx-tilegx.c index c8bccd1a29a..110b70a2a2e 100644 --- a/bfd/elfxx-tilegx.c +++ b/bfd/elfxx-tilegx.c @@ -311,7 +311,7 @@ static reloc_howto_type tilegx_elf_howto_table [] = HOWTO (R_TILEGX_COPY, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -325,7 +325,7 @@ static reloc_howto_type tilegx_elf_howto_table [] = HOWTO (R_TILEGX_GLOB_DAT, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -339,7 +339,7 @@ static reloc_howto_type tilegx_elf_howto_table [] = HOWTO (R_TILEGX_JMP_SLOT, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -353,7 +353,7 @@ static reloc_howto_type tilegx_elf_howto_table [] = HOWTO (R_TILEGX_RELATIVE, /* type */ 0, /* rightshift */ - 1, /* size */ + 0, /* size */ 0, /* bitsize */ false, /* pc_relative */ 0, /* bitpos */ @@ -550,23 +550,23 @@ static reloc_howto_type tilegx_elf_howto_table [] = EMPTY_HOWTO (104), EMPTY_HOWTO (105), - HOWTO(R_TILEGX_TLS_DTPMOD64, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_TILEGX_TLS_DTPMOD64, 0, 0, 0, false, 0, complain_overflow_dont, bfd_elf_generic_reloc, "R_TILEGX_TLS_DTPMOD64", false, 0, 0, true), HOWTO(R_TILEGX_TLS_DTPOFF64, 0, 8, 64, false, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_TILEGX_TLS_DTPOFF64", false, 0, -1, true), - HOWTO(R_TILEGX_TLS_TPOFF64, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_TILEGX_TLS_TPOFF64, 0, 0, 0, false, 0, complain_overflow_dont, bfd_elf_generic_reloc, "R_TILEGX_TLS_TPOFF64", false, 0, 0, true), - HOWTO(R_TILEGX_TLS_DTPMOD32, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_TILEGX_TLS_DTPMOD32, 0, 0, 0, false, 0, complain_overflow_dont, bfd_elf_generic_reloc, "R_TILEGX_TLS_DTPMOD32", false, 0, 0, true), HOWTO(R_TILEGX_TLS_DTPOFF32, 0, 8, 32, false, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_TILEGX_TLS_DTPOFF32", false, 0, -1, true), - HOWTO(R_TILEGX_TLS_TPOFF32, 0, 1, 0, false, 0, complain_overflow_dont, + HOWTO(R_TILEGX_TLS_TPOFF32, 0, 0, 0, false, 0, complain_overflow_dont, bfd_elf_generic_reloc, "R_TILEGX_TLS_TPOFF32", false, 0, 0, true), diff --git a/bfd/som.c b/bfd/som.c index 8c8230034e5..3c0b68a444e 100644 --- a/bfd/som.c +++ b/bfd/som.c @@ -636,7 +636,7 @@ static const int comp3_opcodes[] = #endif #define SOM_HOWTO(TYPE, NAME) \ - HOWTO(TYPE, 0, 1, 32, false, 0, 0, hppa_som_reloc, NAME, false, 0, 0, false) + HOWTO(TYPE, 0, 0, 32, false, 0, 0, hppa_som_reloc, NAME, false, 0, 0, false) static reloc_howto_type som_hppa_howto_table[] = { diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index 594e4361dbe..5a867f715ea 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -5622,7 +5622,7 @@ static reloc_howto_type alpha_howto_table[] = /* Push a value on the reloc evaluation stack. */ HOWTO (ALPHA_R_OP_PUSH, /* Type. */ 0, /* Rightshift. */ - 1, /* Size. */ + 0, /* Size. */ 0, /* Bitsize. */ false, /* PC relative. */ 0, /* Bitpos. */ @@ -5654,7 +5654,7 @@ static reloc_howto_type alpha_howto_table[] = relocation stack. */ HOWTO (ALPHA_R_OP_PSUB, /* Type. */ 0, /* Rightshift. */ - 1, /* Size. */ + 0, /* Size. */ 0, /* Bitsize. */ false, /* PC relative. */ 0, /* Bitpos. */ @@ -5670,7 +5670,7 @@ static reloc_howto_type alpha_howto_table[] = given value. */ HOWTO (ALPHA_R_OP_PRSHIFT, /* Type. */ 0, /* Rightshift. */ - 1, /* Size. */ + 0, /* Size. */ 0, /* Bitsize. */ false, /* PC relative. */ 0, /* Bitpos. */ @@ -5685,7 +5685,7 @@ static reloc_howto_type alpha_howto_table[] = /* Hack. Linkage is done by linker. */ HOWTO (ALPHA_R_LINKAGE, /* Type. */ 0, /* Rightshift. */ - 1, /* Size. */ + 0, /* Size. */ 0, /* Bitsize. */ false, /* PC relative. */ 0, /* Bitpos. */