* ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
* ld-sh/tlspic-1.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
defined by the linker scripts.
+2002-11-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
+ * ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
+ * ld-sh/tlspic-1.d: Likewise.
+ * ld-sh/tlspic-2.d: Likewise.
+ * ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
+ defined by the linker scripts.
+
2002-10-14 Stephane Carrez <stcarrez@nerim.fr>
* ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12.
return
}
+if {[istarget sh64*-*-*] || [istarget sh5*-*-*]} then {
+ global ASFLAGS
+ set asflags_save "$ASFLAGS"
+ set ASFLAGS "$ASFLAGS -isa=SHcompact"
+}
+
set rd_test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
foreach shtest $rd_test_list {
# We need to strip the ".d", but can leave the dirname.
# FIXME: What if it fails? Need we do something?
}
}
+set ASFLAGS "$asflags_save"
40117e: 0b 00 rts
401180: f6 6c mov\.l @r15\+,r12
401182: 09 00 nop
- 401184: 3c 1f .*[ ]*.*
+ 401184: [0-9a-f]+ [0-9a-f]+ .*[ ]*.*
401186: 01 00 .*[ ]*.*
\.\.\.
40209e: e3 6f mov r14,r15
4020a0: 0b 00 rts
4020a2: f6 6e mov\.l @r15\+,r14
- 4020a4: 1c 10 .*[ ]*.*
+ 4020a4: [0-9a-f]+ [0-9a-f]+ .*[ ]*.*
4020a6: 01 00 .*[ ]*.*
\.\.\.
Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries:
Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
-0+4130cc 000005a4 R_SH_JMP_SLOT +[0-9a-f]+ +__tls_get_addr \+ 0
+0+4130cc 000005a4 R_SH_JMP_SLOT +[0-9a-f]+ +__tls_get_addr \+ [0-9a-f]+
Symbol table '\.dynsym' contains [0-9]+ entries:
+Num: +Value +Size Type +Bind +Vis +Ndx Name
+[0-9]+: 00000014 +0 TLS +GLOBAL HIDDEN +10 sh2
+[0-9]+: 0000001c +0 TLS +GLOBAL DEFAULT +11 bg2
+[0-9]+: 00000018 +0 TLS +GLOBAL DEFAULT +11 bg1
- +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT +9 __data_start
+#...
+ +[0-9]+: .*
#pass
[0-9a-f]+: 0b 00 rts
[0-9a-f]+: f6 6c mov\.l @r15\+,r12
[0-9a-f]+: 09 00 nop
- [0-9a-f]+: cc 00 .*[ ]*.*
+ [0-9a-f]+: [0-9a-f]+ [0-9a-f]+ .*[ ]*.*
[0-9a-f]+: 01 00 .*[ ]*.*
[0-9a-f]+: 08 00 .*[ ]*.*
[0-9a-f]+: 00 00 .*[ ]*.*
Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries:
Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
-0+[0-9a-f]+ 0000[0-9a-f]+a4 R_SH_JMP_SLOT +[0-9a-f]+ +__tls_get_addr \+ 0
+0+[0-9a-f]+ 0000[0-9a-f]+a4 R_SH_JMP_SLOT +[0-9a-f]+ +__tls_get_addr \+ [0-9a-f]+
Symbol table '\.dynsym' contains [0-9]+ entries:
+Num: +Value +Size Type +Bind +Vis +Ndx Name