diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-08-07 04:05:59 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-08-07 04:05:59 +0000 |
commit | 00ca3c92d3b90281b77325c92c0fc70da9fa9d3a (patch) | |
tree | ee94dda3771060164c33c5a96bcc4ae279e4ebb2 | |
parent | 58cad9812cf82c5e614ee56b4bdacbff0eaaa710 (diff) | |
download | gdb-00ca3c92d3b90281b77325c92c0fc70da9fa9d3a.zip gdb-00ca3c92d3b90281b77325c92c0fc70da9fa9d3a.tar.gz gdb-00ca3c92d3b90281b77325c92c0fc70da9fa9d3a.tar.bz2 |
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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.asm/asm-source.exp | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.asm/m32r.inc | 5 |
3 files changed, 11 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 3b48fd3..b189657 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +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. diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp index 3745e60..7bebd09 100644 --- a/gdb/testsuite/gdb.asm/asm-source.exp +++ b/gdb/testsuite/gdb.asm/asm-source.exp @@ -69,6 +69,7 @@ switch -glob -- [istarget] { } "m32r*-*" { set asm-arch m32r + set link-flags "-Wl,--whole-archive -lgloss -Wl,--no-whole-archive" } "m6811-*-*" { set asm-arch m68hc11 diff --git a/gdb/testsuite/gdb.asm/m32r.inc b/gdb/testsuite/gdb.asm/m32r.inc index 6110373..fa104cd 100644 --- a/gdb/testsuite/gdb.asm/m32r.inc +++ b/gdb/testsuite/gdb.asm/m32r.inc @@ -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 |