+2001-11-02 NIIBE Yutaka <gniibe@m17n.org>
+
+ * gas/sh/basic.exp: For Linux, add "-big" option for the
+ invocation of gas.
+
2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gas/m68hc11/opers12.s: Add test for disassembler bug with movb
# Written by Cygnus Support.
+if [istarget "sh*-*-linux-gnu"] {
+ global ASFLAGS
+ set ASFLAGS "$ASFLAGS -big"
+}
+
proc do_fp {} {
set testname "fp.s: floating point tests (sh3e)"
set x 0
+2001-11-02 NIIBE Yutaka <gniibe@m17n.org>
+
+ * ld-sh/sh.exp: Have its own start.s for linux.
+
2001-10-31 Hans-Peter Nilsson <hp@bitrange.com>
* ld-mmix/locdo-1.d: Prune character dump part.
return
}
-if {![ld_assemble $as "-relax $srcdir/$subdir/start.s" tmpdir/start.o] \
- || ![ld_compile $CC "-O -mrelax $srcdir/$subdir/sh2.c" tmpdir/sh2.o]} {
+if [istarget sh*-linux-gnu] {
+ exec sed -e s/_main/main/ -e s/_trap/trap/ -e s/_stack/stack/ \
+ < $srcdir/$subdir/start.s >tmpdir/start.s
+} else {
+ exec $srcdir/$subdir/start.s tmpdir/start.s
+}
+
+if {![ld_assemble $as "-relax tmpdir/start.s" tmpdir/start.o] \
+ || ![ld_compile $CC "-O -mrelax $srcdir/$subdir/sh2.c" tmpdir/sh2.o]} {
unresolved $testlink
unresolved $testjsr
unresolved $testrun