* 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.
+2003-08-07 Daniel Jacobowitz <drow@mvista.com>
+
+ 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.
+
2003-08-02 Andrew Cagney <cagney@redhat.com>
* gdb.base/annota3.exp: New file.
}
"m32r*-*" {
set asm-arch m32r
+ set link-flags "-Wl,--whole-archive -lgloss -Wl,--no-whole-archive"
}
"m6811-*-*" {
set asm-arch m68hc11
.endm
.macro gdbasm_call subr
- bl \subr -> nop
+ bl \subr
.endm
.macro gdbasm_several_nops
comment "crt0 startup"
.macro gdbasm_startup
- ld24 sp,_stack
+ seth sp, #shigh(_stack)
+ add3 sp, sp, #low(_stack)
ldi fp,#0
.endm