mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-15 21:19:09 +01:00
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>
|
||
|---|---|---|
| .. | ||
| autoconf | ||
| automake | ||
| b43-tools | ||
| bc | ||
| bison | ||
| cbootimage | ||
| cbootimage-configs | ||
| ccache | ||
| cmake | ||
| coreutils | ||
| dosfstools | ||
| e2fsprogs | ||
| elftosb | ||
| expat | ||
| findutils | ||
| firmware-utils | ||
| flex | ||
| flock | ||
| genext2fs | ||
| gengetopt | ||
| gmp | ||
| include | ||
| isl | ||
| kernel2minor | ||
| libelf | ||
| libressl | ||
| libtool | ||
| lzma | ||
| lzma-old | ||
| m4 | ||
| make-ext4fs | ||
| missing-macros | ||
| mkimage | ||
| mklibs | ||
| mm-macros | ||
| mpc | ||
| mpfr | ||
| mtd-utils | ||
| mtools | ||
| padjffs2 | ||
| patch | ||
| patch-image | ||
| patchelf | ||
| pkg-config | ||
| qemu | ||
| quilt | ||
| scons | ||
| sdimage | ||
| sed | ||
| sparse | ||
| squashfs | ||
| squashfskit4 | ||
| sstrip | ||
| tar | ||
| upslug2 | ||
| wrt350nv2-builder | ||
| xz | ||
| zip | ||
| zlib | ||
| Makefile | ||