This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] defaults options for s390*.
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Martin Schwidefsky <schwidefsky at de dot ibm dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 9 May 2003 11:03:17 -0400
- Subject: Re: [PATCH] defaults options for s390*.
- References: <20030509145810.GC1761@mschwid3.boeblingen.de.ibm.com>
On Fri, May 09, 2003 at 04:58:10PM +0200, Martin Schwidefsky wrote:
> Hi,
> one of the ld testcases fails because -m31 is used without -mesa. The s390
> gas will not accept any instruction in this case because current_mode_mask
> won't get its default value. This patch fixes it. Again, this applicable to
> CVS head and the 2.14 branch as well. Ok to commit ?
OK for the branch when it goes in to head; I don't know whose approval
you're waiting for :)
>
> blue skies,
> Martin.
>
> 2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
>
> * config/tc-s390.c (s390_target_format): Always call init_default_arch.
>
> diff -urN src/gas/config/tc-s390.c src-s390/gas/config/tc-s390.c
> --- src/gas/config/tc-s390.c Fri May 9 16:11:57 2003
> +++ src-s390/gas/config/tc-s390.c Fri May 9 16:12:30 2003
> @@ -351,8 +351,7 @@
> {
> /* We don't get a chance to initialize anything before we're called,
> so handle that now. */
> - if (! s390_arch_size)
> - init_default_arch ();
> + init_default_arch ();
>
> return s390_arch_size == 64 ? "elf64-s390" : "elf32-s390";
> }
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer