ref: dbbe430ec7c2188883f48990030c4ecb6575faa1
parent: 3889ada9598854a3edd09007bd8a5f9a230c5bdf
author: cinap_lenrek <[email protected]>
date: Wed Mar 18 15:31:51 EDT 2015
libmach: use #pragma pack to force 4 byte alignment of bootexec.h structures for amd64
--- a/sys/include/bootexec.h
+++ b/sys/include/bootexec.h
@@ -1,3 +1,5 @@
+#pragma pack on
+
struct coffsect
{
char name[8];
@@ -135,3 +137,5 @@
struct coffsect ibsss;
struct coffsect icomments;
};
+
+#pragma pack off