Changeset 15271


Ignore:
Timestamp:
Mar 23, 2012, 10:55:24 PM (7 years ago)
Author:
gb
Message:

Android's #_dlopen() returns a pointer to an soinfo structure.
Deal with that in %REOPEN-USER-LIBRARIES; let xGetSharedLibrary call
dlopen().

Location:
trunk/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-0/l0-cfm-support.lisp

    r15086 r15271  
    896896                       :unsigned-fullword *dlopen-flags*
    897897                       :address))
    898                 #-(or freebsd-target solaris-target) (setq map handle)
     898                #-(or freebsd-target solaris-target android-target) (setq map handle)
     899                #+android-target (setq map
     900                                       (if (%null-ptr-p handle)
     901                                         handle
     902                                         (pref handle :soinfo.linkmap)))
    899903                #+(or freebsd-target solaris-target)
    900904                (setq map
  • trunk/source/lisp-kernel/pmcl-kernel.c

    r15257 r15271  
    21562156xGetSharedLibrary(char *path, int mode)
    21572157{
    2158 #ifdef ANDROID
    2159   /* Hopefully temporary bug workaround */
    2160   return NULL;
    2161 #else
    21622158  return dlopen(path, mode);
    2163 #endif
    21642159}
    21652160#endif
Note: See TracChangeset for help on using the changeset viewer.