[PATCH] defaults options for s390*.

Daniel Jacobowitz drow@mvista.com
Fri May 9 15:03:00 GMT 2003


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



More information about the Binutils mailing list