From 281cbfe50c3ee83dfcb10d7ee6ccd9b10661bed4 Mon Sep 17 00:00:00 2001 From: he Date: Wed, 25 Jan 2012 13:29:58 +0000 Subject: [PATCH] After christos@ latest re-structuring of includes and defines in the various param.h files, STACKALIGNBYTES is now called STACK_ALIGNBYTES, so adapt accordingly. --- lib/csu/arm_elf/crt0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/csu/arm_elf/crt0.c b/lib/csu/arm_elf/crt0.c index 97af32150e2d..3a3ff063e565 100644 --- a/lib/csu/arm_elf/crt0.c +++ b/lib/csu/arm_elf/crt0.c @@ -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