Changeset 11908


Ignore:
Timestamp:
Apr 8, 2009, 5:40:02 PM (10 years ago)
Author:
gb
Message:

On 64-bit Darwin platforms, define 'objc_personality_v0" as an opaque
pointer, and initiallze the OBJC_2_PERSONALITY kernel global to point
to it. (This has to do with working around limitations of new, improved
linkers.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/pmcl-kernel.c

    r11839 r11908  
    14941494}
    14951495
     1496#ifdef DARWIN
     1497#if WORD_SIZE==64
     1498void *__objc_personality_v0 = NULL;
     1499#endif
     1500#endif
    14961501
    14971502int
     
    17591764  lisp_global(INTERRUPT_SIGNAL) = (LispObj) box_fixnum(SIGNAL_FOR_PROCESS_INTERRUPT);
    17601765#endif
     1766#ifdef DARWIN
     1767#if WORD_SIZE==64
     1768  lisp_global(OBJC_2_PERSONALITY) = (LispObj) &__objc_personality_v0;
     1769#endif
     1770#endif
     1771
    17611772  tcr->vs_area->active -= node_size;
    17621773  *(--tcr->save_vsp) = nrs_TOPLFUNC.vcell;
Note: See TracChangeset for help on using the changeset viewer.