ref: 4aa7e07acf587fd6216dbd19b11eb449d4cef8b8
parent: 12a1f387657c49807806c11ed196339eb6c2a85a
author: cinap_lenrek <cinap_lenrek@felloff.net>
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
--
⑨