Module Name:    src
Committed By:   uwe
Date:           Tue Jan 31 20:12:47 UTC 2012

Modified Files:
        src/lib/csu/arch/sh3: crtend.S crti.S

Log Message:
Use unambiguous .p2align 2 since .align 4 copied from i386 is
incorrect, as .align is .p2align on sh3, not .balign


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/sh3/crtend.S
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/sh3/crti.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/csu/arch/sh3/crtend.S
diff -u src/lib/csu/arch/sh3/crtend.S:1.1 src/lib/csu/arch/sh3/crtend.S:1.2
--- src/lib/csu/arch/sh3/crtend.S:1.1	Sat Jan 28 15:08:47 2012
+++ src/lib/csu/arch/sh3/crtend.S	Tue Jan 31 20:12:47 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: crtend.S,v 1.1 2012/01/28 15:08:47 uwe Exp $	*/
+/*	$NetBSD: crtend.S,v 1.2 2012/01/31 20:12:47 uwe Exp $	*/
 /*-
  * Copyright (c) 2010 Joerg Sonnenberger <jo...@netbsd.org>
  * All rights reserved.
@@ -30,23 +30,23 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: crtend.S,v 1.1 2012/01/28 15:08:47 uwe Exp $")
+RCSID("$NetBSD: crtend.S,v 1.2 2012/01/31 20:12:47 uwe Exp $")
 
 	.section	.ctors, "aw", @progbits
-	.align 4
+	.p2align 2
 	.global		__CTOR_LIST_END__
 	.hidden 	__CTOR_LIST_END__
 __CTOR_LIST_END__:
 	.long 0
 
 	.section	.dtors, "aw", @progbits
-	.align 4
+	.p2align 2
 	.long 0
 
 	.section	.eh_frame, "a", @progbits
-	.align 4
+	.p2align 2
 	.long 0
 
 	.section	.jcr, "aw", @progbits
-	.align 4
+	.p2align 2
 	.long 0

Index: src/lib/csu/arch/sh3/crti.S
diff -u src/lib/csu/arch/sh3/crti.S:1.2 src/lib/csu/arch/sh3/crti.S:1.3
--- src/lib/csu/arch/sh3/crti.S:1.2	Sat Jan 28 12:44:19 2012
+++ src/lib/csu/arch/sh3/crti.S	Tue Jan 31 20:12:47 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: crti.S,v 1.2 2012/01/28 12:44:19 uwe Exp $ */
+/* $NetBSD: crti.S,v 1.3 2012/01/31 20:12:47 uwe Exp $ */
 
 /*-
  * Copyright (c) 2001 Ross Harvey
@@ -35,7 +35,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: crti.S,v 1.2 2012/01/28 12:44:19 uwe Exp $")
+RCSID("$NetBSD: crti.S,v 1.3 2012/01/31 20:12:47 uwe Exp $")
 
 #include "sysident.S"
 
@@ -46,7 +46,7 @@ RCSID("$NetBSD: crti.S,v 1.2 2012/01/28 
  */
 
 	.section ".init", "ax", @progbits
-	.align 4
+	.p2align 2
 	.globl _init
 _init:
 	mov.l	r14, @-sp
@@ -54,7 +54,7 @@ _init:
 	mov	sp, r14
 
 	.section ".fini", "ax", @progbits
-	.align 4
+	.p2align 2
 	.globl _fini
 _fini:
 	mov.l	r14, @-sp

Reply via email to