FreeCalypso > hg > freecalypso-sw
changeset 87:321f6a9ae989
nuc-fw: fixed .section and .align assembly directives
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 22 Aug 2013 18:53:27 +0000 |
parents | 2f12c31fcc9c |
children | ccde45a06737 |
files | nuc-fw/nucleus/init.S nuc-fw/sysglue/sysinit.S |
diffstat | 2 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- 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:
--- 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: