Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mvme68k/include Add __attribute__((__packed__)) to ...



details:   https://anonhg.NetBSD.org/src/rev/3e5826841eae
branches:  trunk
changeset: 499869:3e5826841eae
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Dec 01 00:02:22 2000 +0000

description:
Add __attribute__((__packed__)) to cpu_disklabel to get around
the ELF padding/alignment constraints.

diffstat:

 sys/arch/mvme68k/include/disklabel.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 07d2f3f611e4 -r 3e5826841eae sys/arch/mvme68k/include/disklabel.h
--- a/sys/arch/mvme68k/include/disklabel.h      Thu Nov 30 23:59:03 2000 +0000
+++ b/sys/arch/mvme68k/include/disklabel.h      Fri Dec 01 00:02:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel.h,v 1.5 1999/11/09 10:03:20 scw Exp $        */
+/*     $NetBSD: disklabel.h,v 1.6 2000/12/01 00:02:22 scw Exp $        */
 
 /*
  * Copyright (c) 1995 Dale Rahn.
@@ -147,5 +147,5 @@
        u_short cfg_rsvc2;
        u_long  magic2;
        u_char  cfg_4[192];
-};
+} __attribute__((__packed__));
 #endif _MACHINE_DISKLABEL_H_



Home | Main Index | Thread Index | Old Index