summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-07-04 10:15:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-05 00:22:08 +0100
commit740b931d39ae597010e5911a7a07aca17d711428 (patch)
tree91c279ef399ca68af8128024527d4c3216ad6887 /meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch
parent32320709311af076bb58399d9bb9299446d65f04 (diff)
downloadpoky-740b931d39ae597010e5911a7a07aca17d711428.tar.gz
elfutils: clean up patches
In the upgrade a large number of Upstream-Status tags were dropped, so add them back. I'm taking the stand that copying a patch Debian is carrying doesn't count as a backport. Remove two Debian-specific patches (one for Hurd, one for kfreebsd) so we're not carrying useless patches. Remove two patches that are no longer applied. (From OE-Core rev: b039b26958655aab496b588f4e41a5dea1bfaac1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch')
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch b/meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch
deleted file mode 100644
index cf4d1dfe75..0000000000
--- a/meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 732913a8c35c7b25c0cbf6903cab1ad6b602b525 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 22 Mar 2018 22:44:03 -0700
4Subject: [PATCH] Ensure that packed structs follow the gcc memory layout
5
6Partial backport of
7https://sourceware.org/git/?p=elfutils.git;a=commit;h=17d7194d291bf91d130b78e06cbe27b290e0376d
8
9Helps fixing alignment errors e.g.
10linux-core-note.c:116:1: error: alignment 2 of 'struct m68k_prstatus
11' is less than 4 [-Werror=packed-not-aligned]
12 ;
13 ^
14
15Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=commit;h=17d7194d291bf91d130b78e06cbe27b290e0376d]
16
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 backends/linux-core-note.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/backends/linux-core-note.c b/backends/linux-core-note.c
23index 5f06c896..9faae4c3 100644
24--- a/backends/linux-core-note.c
25+++ b/backends/linux-core-note.c
26@@ -111,7 +111,7 @@ struct EBLHOOK(prstatus)
27 FIELD (INT, pr_fpvalid);
28 }
29 #ifdef ALIGN_PRSTATUS
30- __attribute__ ((packed, aligned (ALIGN_PRSTATUS)))
31+ attribute_packed __attribute__ ((aligned (ALIGN_PRSTATUS)))
32 #endif
33 ;
34