From 63e9859dade6d680565149fd02eff3fdcb048334 Mon Sep 17 00:00:00 2001 From: yugui Date: Sat, 4 Oct 2008 13:25:12 +0000 Subject: * djgpp/GNUmakefile.in: removed. Ruby no longer supports djgpp. * djgpp/README.djgpp: ditto. * djgpp/config.hin: ditto. * djgpp/config.sed: ditto. * djgpp/configure.bat: ditto. * djgpp/mkver.sed: ditto. * ext/Setup.dj: ditto. * dln.c: removed djgpp supports. * file.c: ditto. * gc.c: ditto. * io.c: ditto. * process.c: ditto. * ruby.c: ditto. * signal.c: ditto. * util.c: ditto. * vm_core.h: ditto. * lib/fileutils.rb: ditto. * lib/mkmf.rb: ditto. * ext/socket/socket.c: ditto. * test/fileutils/test_fileutils.rb: ditto. * test/ruby/test_env.rb: ditto. * test/ruby/test_path.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'gc.c') diff --git a/gc.c b/gc.c index a49ef70d1..ebfee1180 100644 --- a/gc.c +++ b/gc.c @@ -1858,31 +1858,6 @@ obj_free(rb_objspace_t *objspace, VALUE obj) return 0; } -#ifdef __GNUC__ -#if defined(DJGPP) -#undef rb_setjmp -#undef rb_jmp_buf -#if defined(DJGPP) -typedef unsigned long rb_jmp_buf[6]; -__asm__ (".align 4\n\ -_rb_setjmp:\n\ - pushl %ebp\n\ - movl %esp,%ebp\n\ - movl 8(%ebp),%ebp\n\ - movl %eax,(%ebp)\n\ - movl %ebx,4(%ebp)\n\ - movl %ecx,8(%ebp)\n\ - movl %edx,12(%ebp)\n\ - movl %esi,16(%ebp)\n\ - movl %edi,20(%ebp)\n\ - popl %ebp\n\ - xorl %eax,%eax\n\ - ret"); -#endif -int rb_setjmp (rb_jmp_buf); -#endif /* DJGPP */ -#endif /* __GNUC__ */ - #define GC_NOTIFY 0 void rb_vm_mark(void *ptr); -- cgit