summaryrefslogtreecommitdiff
path: root/backends/linux-core-note.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2016-07-10 17:36:38 +0200
committerMark Wielaard <mjw@redhat.com>2016-07-11 10:22:18 +0200
commit56dce92a3612d2f354c3e292d36b04ebb21881dc (patch)
tree8bb7c105305db01139bc2cf7cd6c3bd7f832a98a /backends/linux-core-note.c
parent8c481b6fc53a1d1f50518896004dc5221862e126 (diff)
downloadelfutils-56dce92a3612d2f354c3e292d36b04ebb21881dc.tar.gz
Add m68k tests
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Diffstat (limited to 'backends/linux-core-note.c')
-rw-r--r--backends/linux-core-note.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/backends/linux-core-note.c b/backends/linux-core-note.c
index c00c0b17..a4ec0be0 100644
--- a/backends/linux-core-note.c
+++ b/backends/linux-core-note.c
@@ -109,7 +109,11 @@ struct EBLHOOK(prstatus)
#endif
;
FIELD (INT, pr_fpvalid);
-};
+}
+#ifdef ALIGN_PRSTATUS
+ __attribute__ ((packed, aligned (ALIGN_PRSTATUS)))
+#endif
+;
#define FNAMESZ 16
#define PRARGSZ 80