Ticket #1948 (new enhancement)
Make dl*() Functions Standard Compliant
| Reported by: | bonefish | Owned by: | axeld |
|---|---|---|---|
| Priority: | normal | Milestone: | R1 |
| Component: | System/libroot.so | Version: | R1 development |
| Cc: | Blocked By: | ||
| Platform: | All | Blocking: |
Description
Our dl*() have several issues ATM:
- Multiple calls to dlopen() should open the object only once.
- Passing NULL to dlopen() should open the executable.
- The flags passed to dlopen() are ignored. That is OK for RTLD_LAZY/RTLD_NOW (we always relocate everything when loading), but probably not for RTLD_GLOBAL/RTLD_LOCAL.
- dlsym() searches only the object itself, not dependencies.
- Other issues I have missed.
Change History
Note: See
TracTickets for help on using
tickets.
