Ignore:
Timestamp:
Aug 23, 2009, 12:14:54 PM (10 years ago)
Author:
gb
Message:

Remove leading underscores from foreign symbol addresses. (We're using
dlsym() on Darwin now - no more 10.3 support - and dlsym doesn't think
that the underscores are there.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/objc-bridge/objc-support.lisp

    r12483 r12648  
    145145           (setf (%get-ptr (%int-to-ptr (+ (target-nil-value) (%kernel-global-offset offset))))
    146146                 (foreign-symbol-address name))))
    147     (set-global 'objc-2-personality "___objc_personality_v0")
    148     (set-global 'objc-2-begin-catch "_objc_begin_catch")
    149     (set-global 'objc-2-end-catch "_objc_end_catch")
    150     (set-global 'unwind-resume "__Unwind_Resume")))
     147    (set-global 'objc-2-personality "__objc_personality_v0")
     148    (set-global 'objc-2-begin-catch "objc_begin_catch")
     149    (set-global 'objc-2-end-catch "objc_end_catch")
     150    (set-global 'unwind-resume "_Unwind_Resume")))
    151151
    152152
Note: See TracChangeset for help on using the changeset viewer.