Re: [PING] Re: [PATCH] Fix assembler arguments for -m16

2017-02-12 Thread Uros Bizjak
On Sun, Feb 12, 2017 at 4:27 PM, Gerald Pfeifer  wrote:
> I'd like to ping this patch for GCC 6 (and GCC 5).
>
> Gerald
>
> On Sun, 11 Dec 2016, Gerald Pfeifer wrote:
>> Uros, okay to also push to the GCC 6 branch for the coming release
>> and later the GCC 5 branch as well?  For reference, the committed
>> patch below.

OK.

Thanks,
Uros.

>> Gerald
>>
>>
>> 2016-12-11  Roger Pau Monné  
>>
>>   * config/i386/x86-64.h: Append --32 to the assembler options when
>>   -m16 is used on non-glibc systems as well.
>>
>> Index: config/i386/x86-64.h
>> ===
>> --- config/i386/x86-64.h  (revision 243527)
>> +++ config/i386/x86-64.h  (working copy)
>> @@ -49,7 +49,7 @@
>>  #define WCHAR_TYPE_SIZE 32
>>
>>  #undef ASM_SPEC
>> -#define ASM_SPEC "%{m32:--32} %{m64:--64} %{mx32:--x32}"
>> +#define ASM_SPEC "%{m16|m32:--32} %{m64:--64} %{mx32:--x32}"
>>
>>  #undef ASM_OUTPUT_ALIGNED_BSS
>>  #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \


[PING] Re: [PATCH] Fix assembler arguments for -m16

2017-02-12 Thread Gerald Pfeifer
I'd like to ping this patch for GCC 6 (and GCC 5).

Gerald

On Sun, 11 Dec 2016, Gerald Pfeifer wrote:
> Uros, okay to also push to the GCC 6 branch for the coming release
> and later the GCC 5 branch as well?  For reference, the committed
> patch below.
> 
> Gerald
> 
> 
> 2016-12-11  Roger Pau Monné  
> 
>   * config/i386/x86-64.h: Append --32 to the assembler options when
>   -m16 is used on non-glibc systems as well.
> 
> Index: config/i386/x86-64.h
> ===
> --- config/i386/x86-64.h  (revision 243527)
> +++ config/i386/x86-64.h  (working copy)
> @@ -49,7 +49,7 @@
>  #define WCHAR_TYPE_SIZE 32
>  
>  #undef ASM_SPEC
> -#define ASM_SPEC "%{m32:--32} %{m64:--64} %{mx32:--x32}"
> +#define ASM_SPEC "%{m16|m32:--32} %{m64:--64} %{mx32:--x32}"
>  
>  #undef ASM_OUTPUT_ALIGNED_BSS
>  #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \