summaryrefslogtreecommitdiff
path: root/app-emulation/wine-starcraft/files/pr66838.c
diff options
context:
space:
mode:
authorCtibor <ctibor@brancik.cz>2017-06-20 12:25:45 +0200
committerCtibor <ctibor@brancik.cz>2017-06-20 12:25:45 +0200
commit88d1bf513b94d414b8a7d0dc46245766c6a05c1c (patch)
treeeb224ed101f4ac9dc2cfaf7e84bbad118f099188 /app-emulation/wine-starcraft/files/pr66838.c
parent2805a8c5070ec5db32a364ac336004ee437b3488 (diff)
downloadbrancik-overlay-88d1bf513b94d414b8a7d0dc46245766c6a05c1c.tar.gz
brancik-overlay-88d1bf513b94d414b8a7d0dc46245766c6a05c1c.tar.bz2
app-emulation/wine-starcraft is deprecated by in tree appemulation/wine-staging-2.8
Diffstat (limited to 'app-emulation/wine-starcraft/files/pr66838.c')
-rw-r--r--app-emulation/wine-starcraft/files/pr66838.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/app-emulation/wine-starcraft/files/pr66838.c b/app-emulation/wine-starcraft/files/pr66838.c
deleted file mode 100644
index cd61685..0000000
--- a/app-emulation/wine-starcraft/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;
-}