mirror of
https://github.com/apache/nuttx.git
synced 2025-12-11 21:20:26 +08:00
toolchain/ghs: _hyp_vector_start uses b . syntax for both GCC and ghs
The $+0x0 is not accepted by Ghs compiler. Therefore, we change it to a more common syntax " b ." for endless self loop. Signed-off-by: xiezhanpeng3 <xiezhanpeng3@lixiang.com>
This commit is contained in:
@@ -112,13 +112,13 @@ _sys_vector_end:
|
||||
|
||||
_hyp_vector_start:
|
||||
ldr pc, .Lhypresethandler /* 0x00: Reset */
|
||||
b $+0x0 /* 0x04: Undefined instruction */
|
||||
b $+0x0 /* 0x08: Software interrupt */
|
||||
b $+0x0 /* 0x0c: Prefetch abort */
|
||||
b $+0x0 /* 0x10: Data abort */
|
||||
b $+0x0 /* 0x14: Address exception (reserved) */
|
||||
b $+0x0 /* 0x18: IRQ */
|
||||
b $+0x0 /* 0x1c: FIQ */
|
||||
b . /* 0x04: Undefined instruction */
|
||||
b . /* 0x08: Software interrupt */
|
||||
b . /* 0x0c: Prefetch abort */
|
||||
b . /* 0x10: Data abort */
|
||||
b . /* 0x14: Address exception (reserved) */
|
||||
b . /* 0x18: IRQ */
|
||||
b . /* 0x1c: FIQ */
|
||||
|
||||
.globl __start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user