# Some targets don't have any implementation of __bb_init_func or are
# missing other needed machinery.
-if { [istarget mmix-*-*]
- || [istarget arm*-*-elf]
- || [istarget strongarm*-*-elf]
- || [istarget xscale*-*-elf]
- || [istarget cris-*-*]
- || [istarget h8300-*-*] } {
+if { ![check_profiling_available] } {
return
}