RTEMS | Add dladdr() support to RTEMS (!679)
mazen Adel (@mez3n)
gitlab at rtems.org
Sun Aug 24 13:11:39 UTC 2025
mazen Adel commented on a discussion on cpukit/include/rtems/rtl/rtl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/679#note_129379
> + *
> + * @param obj The object to get the base address for.
> + * @return void* The base address of the object.
> + */
> +void* rtems_rtl_obj_base_address (const rtems_rtl_obj* obj);
> +
> +/**
> + * Find the symbol closest to (but not exceeding) the given address in an object.
> + *
> + * @param obj The object to search in.
> + * @param addr The address to find the closest symbol for.
> + * @return rtems_rtl_obj_sym* The closest symbol, or NULL if none found.
> + */
> +rtems_rtl_obj_sym* rtems_rtl_obj_find_symbol_by_addr (const rtems_rtl_obj* obj,
> + const void* addr);
> +
I'm not sure what do you mean by the sym call.
Please review the changes and tell me if it needs any more modifications.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/679#note_129379
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250824/0e43470b/attachment-0001.htm>
More information about the bugs
mailing list