Fix build of elfutils with newer gcc 51/22351/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sat, 7 Sep 2019 21:35:31 +0000 (23:35 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 8 Sep 2019 17:12:29 +0000 (17:12 +0000)
commitf222ccb8d78434a38e592fca3cc8b76906e80955
treedc0a62f18fa6987c112419c1152b28d6d7b50fab
parent1ccc5eab90190d9f508ae63aa39d8f41b189b445
Fix build of elfutils with newer gcc

+Partial backport of
+https://sourceware.org/git/?p=elfutils.git;a=commit;h=17d7194d291bf91d130b78e06cbe27b290e0376d
+
+Helps fixing alignment errors e.g.
+linux-core-note.c:116:1: error: alignment 2 of 'struct m68k_prstatus
+' is less than 4 [-Werror=packed-not-aligned]
+ ;
+ ^
+
+Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=commit;h=17d7194d291bf91d130b78e06cbe27b290e0376d]

Reference: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f67a0bae8bc22d227f73579b2bc780719bbdeb1b

Bug-AGL: SPEC-2806

Change-Id: Iaed60d6b5b353a67de969d42680195769ecace53
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/recipes-devtools/elfutils/elfutils_%.bbappend [new file with mode: 0644]
meta-agl-bsp/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch [new file with mode: 0644]