patchelf: add patch to fix relative rpath issue on big-endian systems
authorBryce Ferguson <bryce.ferguson@rockwellcollins.com>
Mon, 25 Jun 2018 21:44:07 +0000 (16:44 -0500)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 26 Jun 2018 20:03:38 +0000 (22:03 +0200)
commit17c9810fe76377fb928579e2b99f03f8ae31addb
tree50d254ccce29645c25253f2a2fb53595a7623861
parent2c9c47c6b298c3c553e1d2672ec1aaa29f9c163b
patchelf: add patch to fix relative rpath issue on big-endian systems

This commit adds a patch to the host package patchelf to fix an issue
with endianness when the --make-rpath-relative option is
specified. Currently, patchelf does not take into account the
architecture of the target ELF when it performs the fixup on the
RPATH. Thus, if it differs from the host in endianness, the RUNPATH
field will be invalid. The patch fixes the bug reported here:

https://bugs.busybox.net/show_bug.cgi?id=11101

Signed-off-by: Bryce Ferguson <bryce.ferguson@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/patchelf/0004-patchelf-Check-ELF-endianness-before-writing-new-run.patch [new file with mode: 0644]