build-path: fix SIGSEGV on RISC-V and MIPS
authorLuca Boccassi <bluca@debian.org>
Sat, 27 Apr 2024 14:25:09 +0000 (15:25 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 30 Apr 2024 16:11:10 +0000 (18:11 +0200)
commitba2caa8a3824011f42b67327917e8285784e016e
tree3c70f279fc0d3965eeb70b2eb8d71cd240ad617d
parent2ff22bf132e0a3ca7f84292366e336fee0096ce2
build-path: fix SIGSEGV on RISC-V and MIPS

On RISC-V and MIPS DT_STRTAB is an offset, not a full address.

Follow-up for 91d149cfb45fc2fad7ce18fb651297ee50ecc1f8
src/basic/build-path.c