This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: For 2.12: sh-coff

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 `@'
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]