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)
+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>

No differences found