Backport from mainline
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.
From-SVN: r245566
+2017-02-18 Gerald Pfeifer <gerald@pfeifer.com>
+
+ Backport from mainline
+ 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.
+
2017-02-17 Julia Koval <julia.koval@intel.com>
PR target/76731
#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) \