diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-04 13:12:13 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-04 13:12:13 +0000 |
commit | bbbd9c0b7be96824e4648b551b3a66763df38788 (patch) | |
tree | 6ff6cd1d2496e9394fb712108e63906f6b2d9e0c /gc.c | |
parent | 0c0e636b19559715798dcbf6493cb4327c60488f (diff) |
* x68/_dtos18.c: removed. Ruby no longer supports human68k.
* x68/_round.c: ditto.
* x68/fconvert.c: ditto.
* x68/select.c: ditto.
* ext/Setup.x68: ditto.
* missing/x68.c: ditto.
* dln.c (dln_find_exe_r): removed human68k supports.
(dln_find_1): ditto.
* lib/mkmf.rb: ditto.
* ext/extmk.rb (Init_ext): ditto.
* ext/socket/socket.c (init_sock): ditto.
* gc.c (GC_MALLOC_LIMIT): ditto.
(rb_setjmp, rb_jmpbuf): ditto.
(mark_current_machine_context): ditto.
* include/ruby/defines.h (PATH_ENV): ditto.
* io.c: ditto.
* process.c: ditto.
* ruby.c: ditto.
* test/ruby/test_env.rb: ditto.
* test/ruby/test_path.rb: ditto.
* LEGAL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 18 |
1 files changed, 4 insertions, 14 deletions
@@ -75,7 +75,7 @@ void *alloca (); #endif /* __GNUC__ */ #ifndef GC_MALLOC_LIMIT -#if defined(MSDOS) || defined(__human68k__) +#if defined(MSDOS) #define GC_MALLOC_LIMIT 200000 #else #define GC_MALLOC_LIMIT 8000000 @@ -1859,18 +1859,9 @@ obj_free(rb_objspace_t *objspace, VALUE obj) } #ifdef __GNUC__ -#if defined(__human68k__) || defined(DJGPP) +#if defined(DJGPP) #undef rb_setjmp #undef rb_jmp_buf -#if defined(__human68k__) -typedef unsigned long rb_jmp_buf[8]; -__asm__ (".even\n\ -_rb_setjmp:\n\ - move.l 4(sp),a0\n\ - movem.l d3-d7/a3-a5,(a0)\n\ - moveq.l #0,d0\n\ - rts"); -#else #if defined(DJGPP) typedef unsigned long rb_jmp_buf[6]; __asm__ (".align 4\n\ @@ -1888,9 +1879,8 @@ _rb_setjmp:\n\ xorl %eax,%eax\n\ ret"); #endif -#endif int rb_setjmp (rb_jmp_buf); -#endif /* __human68k__ or DJGPP */ +#endif /* DJGPP */ #endif /* __GNUC__ */ #define GC_NOTIFY 0 @@ -1932,7 +1922,7 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_thread_t *th) #ifdef __ia64 rb_gc_mark_locations(th->machine_register_stack_start, th->machine_register_stack_end); #endif -#if defined(__human68k__) || defined(__mc68000__) +#if defined(__mc68000__) mark_locations_array((VALUE*)((char*)STACK_END + 2), (STACK_START - STACK_END)); #endif |