This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PING] Re: [PATCH] Fix assembler arguments for -m16
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: Roger Pau Monne <roger dot pau at citrix dot com>, 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 16:27:50 +0100 (CET)
- Subject: [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>
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é <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) \