diff --git a/ld/ChangeLog b/ld/ChangeLog index 60a31032b7..cbcda0a411 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2021-01-14 Mike Frysinger + + * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim. + 2021-01-14 Alan Modra PR 27160 diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp index af313bb7dc..4090f1287c 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -157,6 +157,11 @@ if { [istarget rx-*-*] } { set ASFLAGS "-muse-conventional-section-names" } +# Blackfin ELF targets require selection of an explicit CPU. Use the sim. +if {[istarget bfin*-elf*]} { + append gcc_B_opt " -msim" +} + # load the utility procedures load_lib ld-lib.exp