# HG changeset patch # User Michael Spacefalcon # Date 1377197607 0 # Node ID 321f6a9ae98908ea3535ebbe5379ec4bc9c079ed # Parent 2f12c31fcc9c4fd8c1cceb5dc5ec0aee483e05c3 nuc-fw: fixed .section and .align assembly directives diff -r 2f12c31fcc9c -r 321f6a9ae989 nuc-fw/nucleus/init.S --- a/nuc-fw/nucleus/init.S Tue Aug 20 07:02:36 2013 +0000 +++ b/nuc-fw/nucleus/init.S Thu Aug 22 18:53:27 2013 +0000 @@ -70,14 +70,14 @@ * SYSTEM STACK DECLARATIONS * ********************************** */ - .section "system_stack" - .align 4 + .section "system_stack","aw",%nobits + .balign 4 INT_System_Stk_Limit: .space SYSTEM_STACK_SIZE - .align 4 + .balign 4 INT_System_Stack_SP: @@ -86,12 +86,12 @@ * IRQ STACK DECLARATIONS * ********************************** */ - .section "irq_stack" - .align 4 + .section "irq_stack","aw",%nobits + .balign 4 .space IRQ_STACK_SIZE - .align 4 + .balign 4 INT_IRQ_Stack_SP: @@ -100,12 +100,12 @@ * FIQ STACK DECLARATIONS * ********************************** */ - .section "fiq_stack" - .align 4 + .section "fiq_stack","aw",%nobits + .balign 4 .space FIQ_STACK_SIZE - .align 4 + .balign 4 INT_FIQ_Stack_SP: @@ -114,8 +114,8 @@ * TIMER HISR STACK DECLARATION * ********************************** */ - .section "timer_hisr_stack" - .align 4 + .section "timer_hisr_stack","aw",%nobits + .balign 4 INT_HISR_Stack_Mem: diff -r 2f12c31fcc9c -r 321f6a9ae989 nuc-fw/sysglue/sysinit.S --- a/nuc-fw/sysglue/sysinit.S Tue Aug 20 07:02:36 2013 +0000 +++ b/nuc-fw/sysglue/sysinit.S Thu Aug 22 18:53:27 2013 +0000 @@ -4,7 +4,7 @@ * to both the regular flashable build and the fc-xram development build. */ - .section iram.vectors + .section iram.vectors,"ax",%progbits .code 32 /* no useful handlers for the 5 error exceptions yet */ b . @@ -17,7 +17,7 @@ /* no useful FIQ handler yet */ b . - .section xip.text + .section xip.text,"ax",%progbits .code 32 .globl _FlashorXram_entry _FlashorXram_entry: