From 7144ed373acb57ac43f635f070f5e398b78459ac Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 9 May 2018 09:47:35 +0100 Subject: app-emulation/wine : drop monolithic package --- app-emulation/wine/files/pr66838.c | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 app-emulation/wine/files/pr66838.c (limited to 'app-emulation/wine/files/pr66838.c') diff --git a/app-emulation/wine/files/pr66838.c b/app-emulation/wine/files/pr66838.c deleted file mode 100644 index cd616859..00000000 --- a/app-emulation/wine/files/pr66838.c +++ /dev/null @@ -1,36 +0,0 @@ -/* From gcc svn, /branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr66838.c */ -/* Copyrighted and distributed under the same terms as gcc */ - -void abort (void); - -char global; - -__attribute__((sysv_abi, noinline, noclone)) -void sysv_abi_func(char const *desc, void *local) -{ - register int esi asm ("esi"); - register int edi asm ("edi"); - - if (local != &global) - abort (); - - /* Clobber some of the extra SYSV ABI registers. */ - asm volatile ("movl\t%2, %0\n\tmovl\t%2, %1" - : "=r" (esi), "=r" (edi) - : "i" (0xdeadbeef)); -} - -__attribute__((ms_abi, noinline, noclone)) -void ms_abi_func () -{ - sysv_abi_func ("1st call", &global); - sysv_abi_func ("2nd call", &global); - sysv_abi_func ("3rd call", &global); -} - -int -main(void) -{ - ms_abi_func(); - return 0; -} -- cgit v1.2.3