diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-12-09 12:06:34 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-01-14 01:09:48 -0500 |
commit | 271bea6acd3759db96b33a30f110ee5e1f8146fc (patch) | |
tree | 246596bfc0aba4aa1d4516a5cedb74079b18671e /bfd/ChangeLog | |
parent | abad28152eb82fb4dc84ed3f0bc35e685d7772d7 (diff) | |
download | fsf-binutils-gdb-271bea6acd3759db96b33a30f110ee5e1f8146fc.zip fsf-binutils-gdb-271bea6acd3759db96b33a30f110ee5e1f8146fc.tar.gz fsf-binutils-gdb-271bea6acd3759db96b33a30f110ee5e1f8146fc.tar.bz2 |
ld: tests: add -msim when testing bfin targets
The Blackfin ELF compiler requires the user to explicitly select a CPU
target else it will fail:
bfin-elf-gcc: error: no processor type specified for linking
Select the sim target for these tests since we should (hopefully) have
access to the simulator. At least, it's more likely than having access
to a real development board.
This makes the pass/fail numbers increase by a lot:
-# of expected passes 398
-# of unexpected failures 6
+# of expected passes 587
+# of unexpected failures 109
It looks like the vast majority of new failures are due to our omission
of COPY relocations:
/* Bfin does not currently have a COPY reloc. */
if ((h->root.u.def.section->flags & SEC_ALLOC) != 0)
{
_bfd_error_handler (_("the bfin target does not currently support the generation of copy relocations"));
return FALSE;
}
There doesn't seem to be a way to easily disable tests that cause copy
relocations though, lets just take the hit for now.
* testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Append -msim.
Diffstat (limited to 'bfd/ChangeLog')
0 files changed, 0 insertions, 0 deletions