PR testsuite/80759 Fix -mcall-ms2sysv-xlogues on Darwin and Solaris
authorDaniel Santos <daniel.santos@pobox.com>
Mon, 24 Jul 2017 21:59:57 +0000 (21:59 +0000)
committerDaniel Santos <dansan@gcc.gnu.org>
Mon, 24 Jul 2017 21:59:57 +0000 (21:59 +0000)
commit9cbc07ccffa3403f4f18baf615bb1fe955b3a20e
treee297b5bb11ee15fc43734a7566a4d8f7dfa20944
parent1993098939aa6033abb75961127c25e316864501
PR testsuite/80759 Fix -mcall-ms2sysv-xlogues on Darwin and Solaris

2017-07-24  Daniel Santos  <daniel.santos@pobox.com>

PR testsuite/80759
* config.host: include i386/t-msabi for darwin and solaris.
* config/i386/i386-asm.h
(ELFFN): Rename to FN_TYPE.
(FN_SIZE): New macro.
(FN_HIDDEN): Likewise.
(ASMNAME): Likewise.
(FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
.globl.
(HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
(SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
* config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
.macro.
* config/i386/resms64f.S: Likewise.
* config/i386/resms64fx.S: Likewise.
* config/i386/resms64x.S: Likewise.
* config/i386/savms64.S: Likewise.
* config/i386/savms64f.S: Likewise.

From-SVN: r250488
libgcc/ChangeLog
libgcc/config.host
libgcc/config/i386/i386-asm.h
libgcc/config/i386/resms64.S
libgcc/config/i386/resms64f.S
libgcc/config/i386/resms64fx.S
libgcc/config/i386/resms64x.S
libgcc/config/i386/savms64.S
libgcc/config/i386/savms64f.S