This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PING] Re: [PATCH] Fix assembler arguments for -m16
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: Roger Pau Monne <roger dot pau at citrix dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, hjl at gcc dot gnu dot org, Andreas Tobler <andreast at freebsd dot org>
- Date: Sun, 12 Feb 2017 17:50:13 +0100
- Subject: Re: [PING] Re: [PATCH] Fix assembler arguments for -m16
- Authentication-results: sourceware.org; auth=none
- References: <1467814729-3789-1-git-send-email-roger.pau@citrix.com> <alpine.LSU.2.20.1611061142490.3105@anthias.pfeifer.com> <CAFULd4YnDGoUrODasEMV_QBO6_0zoPZG3=Hm+HTxHrV-4oJQ1A@mail.gmail.com> <alpine.LSU.2.20.1612111812370.2333@anthias.pfeifer.com> <alpine.LSU.2.20.1702121627030.2253@anthias.pfeifer.com>
On Sun, Feb 12, 2017 at 4:27 PM, Gerald Pfeifer <gerald@pfeifer.com> 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é <roger.pau@citrix.com>
>>
>> * 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) \