Align explicitly to make kernels compiled by clang generate

properly aligned code.
This commit is contained in:
nakayama 2014-03-07 20:23:09 +00:00
parent b8f0a3c0e7
commit 1b088eaae2
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: random.S,v 1.4 2013/09/12 15:36:17 joerg Exp $ */
/* $NetBSD: random.S,v 1.5 2014/03/07 20:23:09 nakayama Exp $ */
/*
* Copyright (c) 1990,1993 The Regents of the University of California.
@ -43,6 +43,7 @@
#include <machine/asm.h>
.data
.align 4
randseed:
.long 1

View File

@ -1,4 +1,4 @@
/* $NetBSD: random.S,v 1.4 2013/09/12 15:36:17 joerg Exp $ */
/* $NetBSD: random.S,v 1.5 2014/03/07 20:23:09 nakayama Exp $ */
/*
* Copyright (c) 1990,1993 The Regents of the University of California.
@ -43,6 +43,7 @@
#include <machine/asm.h>
.data
.align 4
randseed:
.long 1