diff options
author | Petr Štetiar <ynezz@true.cz> | 2022-03-31 09:44:25 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-03-31 10:22:33 +0200 |
commit | 9aa35fada6522189202c324dd9a97672460b0e4a (patch) | |
tree | 0fdf20860b69c4efcd01b437f72821c79eec1e07 /target/linux | |
parent | b24905c38a8acc337a08c116b343b6ccc3ba861e (diff) | |
download | upstream-9aa35fada6522189202c324dd9a97672460b0e4a.tar.gz upstream-9aa35fada6522189202c324dd9a97672460b0e4a.tar.bz2 upstream-9aa35fada6522189202c324dd9a97672460b0e4a.zip |
patchelf: backport fix for rpath endianness
This is backport of upstream fix introduced in commit e88d83c8b4e4
("patchelf: Check ELF endianness before writing new runpath") which
fixes broken rpath handling on big endian systems:
$ patchelf --set-rpath '/opt/foo/bar' lxc4-start
$ readelf -d lxc4-start
...
0x1d000000 (<unknown>: 1d000000) 0x72f
...
Expected output, having following patch applied is:
$ readelf -d lxc4-start
...
0x0000001d (RUNPATH) Library runpath: [/opt/foo/bar]
...
Build and runtime tested on mvebu/turris-omnia, ipq40xx/glinet-b1300
and external target xrx500/nec-wx3000hp (MIPS BE).
Signed-off-by: Matthias Van Gestel <matthias.vangestel_ext@softathome.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux')
0 files changed, 0 insertions, 0 deletions