This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: For 2.12: sh-coff
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: binutils at sources dot redhat dot com
- Date: Sun, 17 Feb 2002 22:29:29 -0500
- Subject: Re: For 2.12: sh-coff
- References: <20020217202308.A20459@nevyn.them.org>
On Sun, Feb 17, 2002 at 08:23:08PM -0500, Daniel Jacobowitz wrote:
> This has come up before on this list, but apparently was never fixed. I
> only recall it being discussed in terms of archives, but the problem is more
> general. From the testsuite:
>
> /opt/src/binutils/obj-sh-coff/ld/ld-new -o tmpdir/asm.x --check-sections tmpdir/asm.o
> tmpdir/asm.o: file not recognized: File format is ambiguous
> tmpdir/asm.o: matching formats: coff-shl coff-shl-small
That failure aside, the others are:
FAIL: SH PIC constructs
/opt/src/binutils/binutils/branch-src/gas/testsuite/gas/sh/pic.s: Assembler messages:
/opt/src/binutils/binutils/branch-src/gas/testsuite/gas/sh/pic.s:33: Warning: rest of line ignored; first ignored character is `@'
etc.
Those are @GOT, @GOTOFF, and @PLT. Are they even appropriate for this
target? Is the test even appropriate for this target (coff)?
FAIL: SH DSP basic instructions
FAIL: PC-relative loads
Both assembled correctly but not disassembled at all.
FAIL: SH relaxing to S-records
Lots of:
SH Error: unknown reloc type 322
/opt/src/binutils/binutils/branch-src/ld/testsuite/ld-sh/sh1.s: Assembler messages:
/opt/src/binutils/binutils/branch-src/ld/testsuite/ld-sh/sh1.s:4: Error: Cannot represent relocation type BFD_RELOC_SH_CODE
It assembles without -relax.
Unless someone steps up to deal with these in the next few days,
they'll be in 2.12.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer