package/patchelf: pull in upstream bugfixes
authorConrad Ratschan <conrad.ratschan@rockwellcollins.com>
Mon, 5 Oct 2020 18:50:34 +0000 (13:50 -0500)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 14 Oct 2020 21:51:27 +0000 (23:51 +0200)
commit1be8b22f48cec8f834b02957429253f64282a0bc
treee9c82cad2f7858ee3ee0c9da9b33594573363f17
parent0238dce6bbefcdbee5f430056cdedadac1b0f6ce
package/patchelf: pull in upstream bugfixes

When building iputils for powerpc with BR2_PIC_PIE enabled, the
arping/rdisc/tftpd binaries will segfault at runtime. This can be
traced back to a few bugs in patchelf corrupting the ELFs when
resizing the RPATH to replace "$ORIGIN/" with "/usr/sbin".

This patch pulls in upstream fixes to prevent the binaries from being
needlessly inflated, prevent the startPage from always being adjusted,
fix a few minor bugs, and fix incorrect endianness handling.

Signed-off-by: Conrad Ratschan <conrad.ratschan@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/patchelf/0005-Avoid-inflating-file-sizes-needlessly-and-allow-bina.patch [new file with mode: 0644]
package/patchelf/0006-Fix-shared-library-corruption-when-rerunning-patchel.patch [new file with mode: 0644]
package/patchelf/0007-fix-adjusting-startPage.patch [new file with mode: 0644]
package/patchelf/0008-Use-sh_offset-instead-of-sh_addr-when-checking-alrea.patch [new file with mode: 0644]
package/patchelf/0009-Fix-issue-66-by-ignoring-the-first-section-header-wh.patch [new file with mode: 0644]
package/patchelf/0010-Fix-endianness-issues-for-powerpc-PIE.patch [new file with mode: 0644]