]> git.wh0rd.org Git - elf2flt.git/commit
elf2flt.c: add new relocation types for xtensa
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 8 May 2020 04:11:43 +0000 (21:11 -0700)
committerMike Frysinger <vapier@gmail.com>
Wed, 13 May 2020 10:51:38 +0000 (06:51 -0400)
commitd7eb73163bcea31168c438fc132a0967ac172e3d
tree7d24cc9e68d17cba88adb2d30ba994cbac067f66
parent453398f917d167f8c308c8f997270c48ae8f8b12
elf2flt.c: add new relocation types for xtensa

Xtensa have added new relocation types R_XTENSA_[NP]DIFF{8,16,32} with
the same properties as the existing types R_XTENSA_DIFF{8,16,32}.
Add them to the list of ignored relocation types.

This fixes the following error when invoking elf2flt on xtensa binaries
built with the recent binutils:

  ERROR: reloc type R_XTENSA_PDIFF32 unsupported in this context

Reported-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Makefile.in
configure
configure.ac
elf2flt.c