diff options
author | Alan Modra <amodra@gmail.com> | 2020-06-20 10:41:40 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-06-20 10:56:39 +0930 |
commit | e2201c2a578f2b22fc04cc95507c643ac908c952 (patch) | |
tree | b5e2d2109b22030df32a9d40f96bbff7c28d57ba /gas/configure.tgt | |
parent | 17fc27167f678285d2f64040837b8cc41b6a664a (diff) | |
download | gdb-e2201c2a578f2b22fc04cc95507c643ac908c952.zip gdb-e2201c2a578f2b22fc04cc95507c643ac908c952.tar.gz gdb-e2201c2a578f2b22fc04cc95507c643ac908c952.tar.bz2 |
SH gas configure and ld tests
All current SH gas targets use BFD. sh-coff was incorrectly reported
as unsupported.
gas/
* configure.tgt: Set bfd_gas for all SH targets.
ld/
* testsuite/ld-sh/sh.exp: Don't run relax tests for non-ELF.
Fail when ld_assemble fails. Use elseif to reduce indentation.
Diffstat (limited to 'gas/configure.tgt')
-rw-r--r-- | gas/configure.tgt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt index 6316593..7c2d178 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -386,7 +386,7 @@ case ${generic_target} in sh-*-uclinux* | sh[12]-*-uclinux*) fmt=elf em=uclinux ;; sh-*-coff*) fmt=coff ;; sh-*-nto*) fmt=elf ;; - sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;; + sh-*-pe*) fmt=coff em=pe endian=little ;; sh-*-kaos*) fmt=elf ;; shle*-*-kaos*) fmt=elf ;; @@ -437,7 +437,8 @@ case ${generic_target} in esac case ${cpu_type} in - aarch64 | alpha | arm | csky | i386 | ia64 | microblaze | mips | ns32k | or1k | or1knd | pdp11 | ppc | riscv | sparc | z80 | z8k) + aarch64 | alpha | arm | csky | i386 | ia64 | microblaze | mips | ns32k | \ + or1k | or1knd | pdp11 | ppc | riscv | sh | sparc | z80 | z8k) bfd_gas=yes ;; esac |