From 2c8a2bfffc348bcefddcfe1f48f45dcf3727aecf Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 25 Jan 2014 13:53:23 -0600 Subject: [PATCH] x86: fix 'Error: .size expression for idle_stack does not evaluate to a constant' bug from Matt Campbell --- ChangeLog | 3 +++ arch/x86/src/qemu/qemu_head.S | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f92bd9ce30..f8fb87e19a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6518,4 +6518,7 @@ * Rename up_ledinit() to board_led_intialize() (2014-1-24). * Rename up_ledon() to board_led_on() and up_ledoff() to board_led_off() (2014-1-24). + * arch/x86/src/qemu-i486/gemu_head.S: Patch from Matt Campbell + to fix 'Error: .size expression for idle_stack does not evaluate to + a constant" (2014-1-25). diff --git a/arch/x86/src/qemu/qemu_head.S b/arch/x86/src/qemu/qemu_head.S index 22c4904695..8e9c8a1db4 100755 --- a/arch/x86/src/qemu/qemu_head.S +++ b/arch/x86/src/qemu/qemu_head.S @@ -141,7 +141,7 @@ hang: .type idle_stack, @object .comm idle_stack, CONFIG_IDLETHREAD_STACKSIZE, 32 - .size idle_stack, . - idle_stack + .size idle_stack, CONFIG_IDLETHREAD_STACKSIZE /**************************************************************************** * .rodata