diff options
author | Roger Pau Monné <roger.pau@citrix.com> | 2016-12-11 17:28:53 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2016-12-11 17:28:53 +0000 |
commit | a2cb05ed72fea4dda63b1d879970f430765e3db7 (patch) | |
tree | 89fb899413d7c01c997850869ff79ebfc961fdd8 /gcc | |
parent | 865fc9684661c46589a30c6021cf44de560940f3 (diff) | |
download | gcc-a2cb05ed72fea4dda63b1d879970f430765e3db7.zip gcc-a2cb05ed72fea4dda63b1d879970f430765e3db7.tar.gz gcc-a2cb05ed72fea4dda63b1d879970f430765e3db7.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/x86-64.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a990b2d..b67688d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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. + 2016-12-10 Allan Sandfeld Jensen <allan.jensen@qt.io> PR target/70118 diff --git a/gcc/config/i386/x86-64.h b/gcc/config/i386/x86-64.h index b0bf835..9e6c6eb 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) \ |