From: Roger Pau Monné Date: Sun, 11 Dec 2016 17:28:53 +0000 (+0000) Subject: x86-64.h: Append --32 to the assembler options when -m16 is used on non-glibc systems... X-Git-Tag: basepoints/gcc-8~2398 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2cb05ed72fea4dda63b1d879970f430765e3db7;p=thirdparty%2Fgcc.git x86-64.h: Append --32 to the assembler options when -m16 is used on non-glibc systems as well. * config/i386/x86-64.h: Append --32 to the assembler options when -m16 is used on non-glibc systems as well. From-SVN: r243528 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a990b2d6b8f2..b67688dfd801 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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. + 2016-12-10 Allan Sandfeld Jensen PR target/70118 diff --git a/gcc/config/i386/x86-64.h b/gcc/config/i386/x86-64.h index b0bf83589d7b..9e6c6eb5a362 100644 --- a/gcc/config/i386/x86-64.h +++ b/gcc/config/i386/x86-64.h @@ -49,7 +49,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #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) \