[Buildroot] [PATCH] package/elf2flt: add support for XTENSA_[PN]DIFF relocations

Peter Korsgaard peter at korsgaard.com
Fri May 22 07:47:36 UTC 2020


>>>>> "Max" == Max Filippov <jcmvbkbc at gmail.com> writes:

 > 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 at gmail.com>
 > Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>

Committed to 2020.02.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list