Repair a verified behavior in xilinx/xrt.
Repair a verified behavior in xilinx/xrt.: a task in OriGent-SFT-Data (Harbor dataset). The XRT userspace ELF-module loader mishandles the 32-bit r addend field in AIE ELF dynamic relocations. The field is packed: bits 0-3 select the patching scheme and bits 4-31 contain an addend offset. Current…
The task
The XRT userspace ELF-module loader mishandles the 32-bit r_addend field in AIE ELF dynamic relocations. The field is packed: bits 0-3 select the patching scheme and bits 4-31 contain an addend offset. Current ELF argument patching decodes the scheme but discards the high addend when applying the argument value.…
Part of henryen/OriGent-SFT-Data.