Ingo Weinhold 0c85bd054e * Reworked undefined symbol resolution in the runtime loader. Got rid of
the per-root-image breadth-first sorted image array. Instead we have a
  per-image hook function to resolve the symbols. The default function
  uses the sLoadedImages list directly, which is breadth-first sorted
  anyway. There's also a BeOS function for old-style symbol resolution
  and one for add-ons, which lacks a proper implementation yet (just
  uses old-style ATM).
* Made the dl*() functions POSIX compliant:
  - dlopen() does no longer use load_add_on(), but loads the object as a
    library. It also properly supports a NULL name, now -- the previous
    "_APP_" work-around did only work, if this soname was set on the
    program (unlikely for programs using this API).
  - Implemented RTLD_{GLOBAL,LOCAL}.
  - dlsym() looks up symbols properly now, i.e. not just in the given
    image, but breadth-first for an actual image or in load order for
    the global scope. It also supports the not-quite POSIX RTLD_DEFAULT
    and RTLD_NEXT extensions. Our RTLD_NEXT finds more symbols than in
    Linux (also in later dlopen()ed libraries), but that should be fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 22:40:56 +00:00
..
2008-06-25 22:57:34 +00:00
2008-03-29 12:37:05 +00:00
2008-05-10 21:30:34 +00:00
2008-10-15 12:33:59 +00:00
2008-05-10 21:30:34 +00:00
2008-05-10 21:30:34 +00:00
2008-08-31 10:40:58 +00:00
2007-10-25 00:36:36 +00:00
2008-05-10 21:30:34 +00:00
2003-07-31 00:57:04 +00:00
2008-05-10 21:30:34 +00:00
2008-05-10 21:30:34 +00:00
2002-10-26 00:35:43 +00:00
2008-09-11 22:45:17 +00:00
2008-05-10 21:30:34 +00:00
2008-05-19 02:16:12 +00:00
2008-05-10 21:30:34 +00:00
2008-05-10 21:30:34 +00:00
2008-05-10 21:30:34 +00:00
2008-09-11 22:27:55 +00:00
2008-05-21 21:08:47 +00:00
2008-03-29 12:52:10 +00:00
2008-06-25 19:29:03 +00:00
2004-07-05 23:20:43 +00:00
2008-05-10 21:30:34 +00:00