comparison nuc-fw/sysglue/sysinit.S @ 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 39b1c369b67f
children 2c5160a9d652
comparison
equal deleted inserted replaced
86:2f12c31fcc9c 87:321f6a9ae989
2 * This assembly module, which puts bits of code into several different 2 * This assembly module, which puts bits of code into several different
3 * sections, contains those essential entry point etc bits which are common 3 * sections, contains those essential entry point etc bits which are common
4 * to both the regular flashable build and the fc-xram development build. 4 * to both the regular flashable build and the fc-xram development build.
5 */ 5 */
6 6
7 .section iram.vectors 7 .section iram.vectors,"ax",%progbits
8 .code 32 8 .code 32
9 /* no useful handlers for the 5 error exceptions yet */ 9 /* no useful handlers for the 5 error exceptions yet */
10 b . 10 b .
11 b . 11 b .
12 b . 12 b .
15 /* IRQ */ 15 /* IRQ */
16 b _INT_IRQ 16 b _INT_IRQ
17 /* no useful FIQ handler yet */ 17 /* no useful FIQ handler yet */
18 b . 18 b .
19 19
20 .section xip.text 20 .section xip.text,"ax",%progbits
21 .code 32 21 .code 32
22 .globl _FlashorXram_entry 22 .globl _FlashorXram_entry
23 _FlashorXram_entry: 23 _FlashorXram_entry:
24 /* first order of business: copy iram.text to where it's supposed to be */ 24 /* first order of business: copy iram.text to where it's supposed to be */
25 ldr r8, =__iramtext_flash_addr 25 ldr r8, =__iramtext_flash_addr