Chris Johns commented on a discussion on cpukit/include/rtems/rtl/rtl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/679#note_129396 > + * > + * @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); > + Calls related to using the sym table are functionally grouped. Also I think `rtems_rtl_obj_find_sym_by_addr` aligns to the other sym calls and as a result I also think this call should be under `rtems_rtl_base_sym_global_add` ? -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/679#note_129396 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
