summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd/ppcboot.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-06-20 06:20:42 +0000
committerobrien <obrien@FreeBSD.org>2000-06-20 06:20:42 +0000
commit813b11648e223be167ed3d9c1b234eb99ab9006e (patch)
tree3f2e79c5a66aac2f8eb0a069744251ab05fcc87d /contrib/binutils/bfd/ppcboot.c
parent4e16f4e9862f75bc9baf95241e1ed357017bfdb9 (diff)
downloadFreeBSD-src-813b11648e223be167ed3d9c1b234eb99ab9006e.zip
FreeBSD-src-813b11648e223be167ed3d9c1b234eb99ab9006e.tar.gz
Import a virgin (but trimed) Binutils 2.10 release.
Diffstat (limited to 'contrib/binutils/bfd/ppcboot.c')
-rw-r--r--contrib/binutils/bfd/ppcboot.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/binutils/bfd/ppcboot.c b/contrib/binutils/bfd/ppcboot.c
index d9db826..9441848 100644
--- a/contrib/binutils/bfd/ppcboot.c
+++ b/contrib/binutils/bfd/ppcboot.c
@@ -64,7 +64,11 @@ typedef struct ppcboot_hdr {
bfd_byte os_id; /* OS_ID */
char partition_name[32]; /* partition name */
bfd_byte reserved1[470]; /* reserved */
-} ppcboot_hdr_t;
+}
+#ifdef __GNUC__
+ __attribute__ ((packed))
+#endif
+ppcboot_hdr_t;
/* Signature bytes for last 2 bytes of the 512 byte record */
#define SIGNATURE0 0x55
OpenPOWER on IntegriCloud