Module Name: src
Committed By: he
Date: Wed Jan 25 13:29:58 UTC 2012
Modified Files:
src/lib/csu/arm_elf: crt0.c
Log Message:
After christos@ latest re-structuring of includes and defines in
the various param.h files, STACKALIGNBYTES is now called STACK_ALIGNBYTES,
so adapt accordingly.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/csu/arm_elf/crt0.c
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/arm_elf/crt0.c
diff -u src/lib/csu/arm_elf/crt0.c:1.9 src/lib/csu/arm_elf/crt0.c:1.10
--- src/lib/csu/arm_elf/crt0.c:1.9 Mon Mar 7 05:09:09 2011
+++ src/lib/csu/arm_elf/crt0.c Wed Jan 25 13:29:58 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.9 2011/03/07 05:09:09 joerg Exp $ */
+/* $NetBSD: crt0.c,v 1.10 2012/01/25 13:29:58 he Exp $ */
/*
* Copyright (C) 1997 Mark Brinicombe
@@ -60,7 +60,7 @@ __asm(" .text \n"
" add r2, r2, #0x0004 \n"
"\n"
" /* Ensure the stack is properly aligned before calling C code. */\n"
-" bic sp, sp, #" ___STRING(STACKALIGNBYTES) " \n"
+" bic sp, sp, #" ___STRING(STACK_ALIGNBYTES) "\n"
" sub sp, sp, #8 \n"
" str r5, [sp, #4] \n"
" str r4, [sp, #0] \n"
@@ -68,7 +68,7 @@ __asm(" .text \n"
" b " ___STRING(_C_LABEL(___start)) " ");
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.9 2011/03/07 05:09:09 joerg Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.10 2012/01/25 13:29:58 he Exp $");
#endif /* LIBC_SCCS and not lint */
void