1 # This test examines the attribute support for DLLs.
2 # Only COFF/PE formats support DLLs, (plus, as a special case
3 # the mcore-elf toolchain), so the code here tries to determine
4 # the file format and decide whether the test should be marked
7 set torture_eval_before_compile {
9 if ![istarget "mcore-*-elf"] {
11 set objformat [gcc_target_object_format]
13 if { $objformat != "pe" } {