S12Z: New 32 bit Reloc.
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 3 Oct 2018 10:26:42 +0000 (12:26 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 23 Oct 2018 14:09:30 +0000 (16:09 +0200)
commit2849d19feb458ade67cdcc6a82f0e7b1be99b46b
treead7171222c73e3906dd555edd8c1568831928810
parent405b61965ff7608840cfda36083c1be1f926ccdb
S12Z: New 32 bit Reloc.

Third party tools produce 32 bit relocs  at index 6 with strange properties.
This change moves the existing 32 bit reloc (R_S12Z_EXT32) to index 7
and introduces a new one (R_S12Z_CW32) at index 6 to try to support code
generated by these tools.

  * bfd/elf32-s12z.c (elf_s12z_howto_table) [R_S12Z_CW32]: New member.
  * binutils/readelf.c (is_32bit_abs_reloc): Reloc type 7 is also 32 bit.
  * include/elf/s12z.h (elf_s12z_reloc_tpe) [RELOC_NUMBER (R_S12Z_CW32)]: New enum.
bfd/elf32-s12z.c
binutils/readelf.c
include/elf/s12z.h
This page took 0.028701 seconds and 4 git commands to generate.