This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: sh-coff gas made BFD_ASSEMBLER by PDP11 support?
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: Joern Rennecke <joern dot rennecke at superh dot com>
- Cc: lars brinkhoff <lars at nocrew dot org>, binutils at sources dot redhat dot com,Hans-Peter Nilsson <hp at bitrange dot com>,Alexandre Oliva <aoliva at redhat dot com>, Joel Sherrill <joel at OARcorp dot com>
- Date: 21 May 2002 19:38:15 +0100
- Subject: Re: sh-coff gas made BFD_ASSEMBLER by PDP11 support?
- References: <3CEA83BF.7155CDE3@superh.com>
Hi Joern,
> The patch logged as
>
> Add PDP-11 support
>
> With this Changelog entry:
>
> 2001-02-18 lars brinkhoff <lars@nocrew.org>
>
> * Makefile.am: Add PDP-11 target.
> * configure.in: Likewise.
> * config/tc-pdp11.c: New file.
> * config/tc-pdp11.h: New file.
> * doc/Makefile.am: Add PDP-11 documentation.
> * doc/all.texi: Likewise.
> * doc/as.texinfo: Likewise.
> * doc/c-pdp11.texi: New file.
>
> Did this change in gas/configure.in:
>
> +++ src/gas/configure.in 2001/02/18 23:33:03 1.58
> @@ -384,10 +384,10 @@
>
> sh-*-linux*) fmt=elf em=linux ;;
> sh-*-elf*) fmt=elf ;;
> - sh-*-coff*) fmt=coff ;;
> + sh-*-coff*) fmt=coff bfd_gas=yes;;
> sh-*-pe*) fmt=coff em=pe bfd_gas=yes;;
> sh-*-rtemself*) fmt=elf ;;
> - sh-*-rtems*) fmt=coff ;;
> + sh-*-rtems*) fmt=coff bfd_gas=yes;;
>
> ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;;
> ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;;
>
> This suddenly makes the sh-coff assembler a BFD assembler, and breaks
> linker relaxation. Did you intend to convert the sh-coff assembler to
> BFD and haven't finished it yet, or is this a random error that should
> be backed out?
Oopsie - that was a bug. I was trying to test a BFD enabled SH-COFF
assembler for another testcase and forgot to take it out. Sorry.
I will fix this immediately.
Cheers
Nick