]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
From Kei Sakamoto <sakamoto.kei@renesas.com>:
authorDaniel Jacobowitz <drow@false.org>
Thu, 7 Aug 2003 04:05:59 +0000 (04:05 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 7 Aug 2003 04:05:59 +0000 (04:05 +0000)
* 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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.asm/asm-source.exp
gdb/testsuite/gdb.asm/m32r.inc

index 3b48fd33c93d6d55b52f7d9e57feed1c67e91482..b1896573f02c46e4eb47f5e60086c0c7a3c3e4b8 100644 (file)
@@ -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.
index 3745e6062d3c0ccec81f476bd1602e946419894b..7bebd09bae8361a465635fd76d3c4bba6941996a 100644 (file)
@@ -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
index 6110373df41d6d0d551fb671689b9f0b71226173..fa104cdeacc9a701b22eb19397d8b87c383af114 100644 (file)
@@ -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