diff options
author | Alan Modra <amodra@gmail.com> | 2022-06-08 17:33:10 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-06-08 21:33:00 +0930 |
commit | 5d0feb989ce5f9de16b422693136103d1d7b79ac (patch) | |
tree | 9505045ba031baf393a20f491bc1ae29ae729219 /bfd/elf32-tilepro.c | |
parent | c94cb026628b831ef63e3455a66328749ff8a415 (diff) | |
download | gdb-5d0feb989ce5f9de16b422693136103d1d7b79ac.zip gdb-5d0feb989ce5f9de16b422693136103d1d7b79ac.tar.gz gdb-5d0feb989ce5f9de16b422693136103d1d7b79ac.tar.bz2 |
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.
Diffstat (limited to 'bfd/elf32-tilepro.c')
-rw-r--r-- | bfd/elf32-tilepro.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/elf32-tilepro.c b/bfd/elf32-tilepro.c index 438177e..6f2f6ed 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), |