Lines Matching full:tmpdir
38 if ![ld_assemble $as "-relax $srcdir/$subdir/sh1.s" tmpdir/sh1.o] {
40 } else { if ![ld_simple_link $ld tmpdir/sh1 "-relax tmpdir/sh1.o"] {
43 if ![ld_nm $nm "" tmpdir/sh1] {
71 catch "exec $objdump -x tmpdir/sh1 | grep start\\ address | sed s/start\\ address//" entry_addr
72 set srec_relax_arg "-Ttext $entry_addr -relax --oformat srec tmpdir/sh1.o"
74 set srec_relax_arg "-relax --oformat srec tmpdir/sh1.o"
76 if ![ld_simple_link $ld tmpdir/sh1.s1 $srec_relax_arg ] {
81 catch "exec rm -f tmpdir/sh1.s2" exec_output
82 send_log "mv tmpdir/sh1.s1 tmpdir/sh1.s2\n"
83 verbose "mv tmpdir/sh1.s1 tmpdir/sh1.s2"
84 catch "exec mv tmpdir/sh1.s1 tmpdir/sh1.s2" exec_output
90 send_log "$objcopy -O srec tmpdir/sh1 tmpdir/sh1.s1\n"
91 verbose "$objcopy -O srec tmpdir/sh1 tmpdir/sh1.s1"
92 catch "exec $objcopy -O srec tmpdir/sh1 tmpdir/sh1.s1" exec_output
98 send_log "cmp tmpdir/sh1.s1 tmpdir/sh1.s2\n"
99 verbose "cmp tmpdir/sh1.s1 tmpdir/sh1.s2"
100 catch "exec cmp tmpdir/sh1.s1 tmpdir/sh1.s2" exec_output
114 if ![ld_assemble $as "-relax $srcdir/$subdir/adjsw8.s" tmpdir/adjsw8.o] {
117 if ![ld_simple_link $ld tmpdir/adjsw8 "-relax tmpdir/adjsw8.o"] {
120 send_log "exec $objdump -s tmpdir/adjsw8\n"
121 verbose "exec $objdump -s tmpdir/adjsw8"
122 catch "exec $objdump -s tmpdir/adjsw8" exec_output
146 < $srcdir/$subdir/start.s >tmpdir/start.s
148 exec cp $srcdir/$subdir/start.s tmpdir/start.s
151 if {![ld_assemble $as "-relax tmpdir/start.s" tmpdir/start.o] \
152 || ![ld_compile $CC "-O -mrelax -foptimize-sibling-calls $srcdir/$subdir/sh2.c" tmpdir/sh2.o]} {
159 if ![ld_simple_link $ld tmpdir/sh2 "-relax tmpdir/start.o tmpdir/sh2.o"] {
168 send_log "$objdump -d tmpdir/sh2\n"
169 verbose "$objdump -d tmpdir/sh2"
170 catch "exec $objdump -d tmpdir/sh2" exec_output
183 set status [catch "exec $SIM tmpdir/sh2" exec_output]