but because elimination highlights more important ones.
Cursory review mortimer, ok mlarkin
-/* $OpenBSD: locore.S,v 1.86 2017/06/29 17:17:28 deraadt Exp $ */
+/* $OpenBSD: locore.S,v 1.87 2017/07/06 06:17:04 deraadt Exp $ */
/* $NetBSD: locore.S,v 1.13 2004/03/25 18:33:17 drochner Exp $ */
/*
/*
* override user-land alignment before including asm.h
*/
-#define ALIGN_DATA .align 8
+#define ALIGN_DATA .align 8,0xcc
#define ALIGN_TEXT .align 16,0x90
#define _ALIGN_TEXT ALIGN_TEXT
-/* $OpenBSD: locore0.S,v 1.1 2017/05/31 19:18:18 deraadt Exp $ */
+/* $OpenBSD: locore0.S,v 1.2 2017/07/06 06:17:04 deraadt Exp $ */
/* $NetBSD: locore.S,v 1.13 2004/03/25 18:33:17 drochner Exp $ */
/*
/*
* override user-land alignment before including asm.h
*/
-#define ALIGN_DATA .align 8
+#define ALIGN_DATA .align 8,0xcc
#define ALIGN_TEXT .align 16,0x90
#define _ALIGN_TEXT ALIGN_TEXT
-/* $OpenBSD: apicvec.s,v 1.32 2016/07/16 06:04:29 mlarkin Exp $ */
+/* $OpenBSD: apicvec.s,v 1.33 2017/07/06 06:17:05 deraadt Exp $ */
/* $NetBSD: apicvec.s,v 1.1.2.2 2000/02/21 21:54:01 sommerfeld Exp $ */
/*-
INTRFASTEXIT
.globl XINTR(ipi_invltlb)
- .p2align 4,0x90
+ .p2align 4,0xcc
XINTR(ipi_invltlb):
pushl %eax
pushl %ds
iret
.globl XINTR(ipi_invlpg)
- .p2align 4,0x90
+ .p2align 4,0xcc
XINTR(ipi_invlpg):
pushl %eax
pushl %ds
iret
.globl XINTR(ipi_invlrange)
- .p2align 4,0x90
+ .p2align 4,0xcc
XINTR(ipi_invlrange):
pushl %eax
pushl %edx
iret
.globl XINTR(ipi_reloadcr3)
- .p2align 4,0x90
+ .p2align 4,0xcc
XINTR(ipi_reloadcr3):
pushl %eax
pushl %ds
-/* $OpenBSD: locore.s,v 1.177 2017/06/30 06:17:47 mlarkin Exp $ */
+/* $OpenBSD: locore.s,v 1.178 2017/07/06 06:17:05 deraadt Exp $ */
/* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */
/*-
* override user-land alignment before including asm.h
*/
-#define ALIGN_DATA .align 4
+#define ALIGN_DATA .align 4,0xcc
#define ALIGN_TEXT .align 4,0x90 /* 4-byte boundaries, NOP-filled */
-#define SUPERALIGN_TEXT .align 16,0x90 /* 16-byte boundaries better for 486 */
#define _ALIGN_TEXT ALIGN_TEXT
#include <machine/asm.h>
#endif
ret
- ALIGN_TEXT
+ .align 4,0xcc
1: addl %ecx,%edi # copy backward
addl %ecx,%esi
std
movl 12(%esp), %edi
movl $1024, %ecx
- ALIGN_TEXT
+ .align 4,0x90
1:
xorl %eax, %eax
repe
popl %edi
ret
- ALIGN_TEXT
-
+ .align 4,0x90
2:
incl %ecx
subl $4, %edi