Closed
Description
Hi,
while playing around, i found that on esp32 some of the native examples wouldn't build (btree fro instance).
mpy_ld complaint about an unknow relocation type 59 (denoted R_XTENSA_PDIFF32 in xtensa bfd sources).
After some digging around in the xtensa bfd sources, i found out, these seems to be an unsigned version of the already used relocation type R_XTENSA_DIFF32, so just dealing equaly seemed to fix that problem. Unfortunately I didn't really found any docs about these relocation entries, so thats more or less a guess.
lg maG
$ idf.py --version
ESP-IDF v4.3.1-dirty
$ xtensa-esp32-elf-gcc --version
xtensa-esp32-elf-gcc (crosstool-NG esp-2021r1) 8.4.0