]> code.ossystems Code Review - openembedded-core.git/commit
patchelf: Fix note section alignment issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 1 May 2021 16:10:21 +0000 (17:10 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Thu, 6 May 2021 02:09:37 +0000 (10:09 +0800)
commit8a051bf055623f1ef5ca94d9291162ac7ce871c6
tree60e80db8a6ee16a48cbf62bc9f7d4dd957882528
parente24510fbb1439d56a278e2b5fc036d11a24e23df
patchelf: Fix note section alignment issues

Improve note section normalization was added to patchelf in recent versions
however if fails if there are two note sections which aren't sized to match
section alignment. Tweak the code to account for section alignment.

This fixes patchelf failures on the autobuilder, particularly to ccache-native.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fee8dde0d597b511b37d8dcf215e8355980d5f2b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-devtools/patchelf/patchelf/alignmentfix.patch [new file with mode: 0644]
meta/recipes-devtools/patchelf/patchelf_0.12.bb