forked from Imagelibrary/binutils-gdb
From Kei Sakamoto <sakamoto.kei@renesas.com>:
* gdb.asm/asm-source.exp : Add -lgloss to link-flags. * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction. Replace ld24 with seth/add3.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
.endm
|
||||
|
||||
.macro gdbasm_call subr
|
||||
bl \subr -> nop
|
||||
bl \subr
|
||||
.endm
|
||||
|
||||
.macro gdbasm_several_nops
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
comment "crt0 startup"
|
||||
.macro gdbasm_startup
|
||||
ld24 sp,_stack
|
||||
seth sp, #shigh(_stack)
|
||||
add3 sp, sp, #low(_stack)
|
||||
ldi fp,#0
|
||||
.endm
|
||||
|
||||
Reference in New Issue
Block a user