RTEMS | Add dladdr() support to RTEMS (!679)

mazen Adel (@mez3n) gitlab at rtems.org
Sun Aug 24 13:08:10 UTC 2025




mazen Adel commented on a discussion on cpukit/libdl/rtl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/679#note_129373

 > +    {
 > +      if (!best_sym || sym->value > best_addr)
 > +      {
 > +        best_sym = sym;
 > +        best_addr = sym->value;
 > +        
 > +        if (sym->value == addr)
 > +          return best_sym;
 > +      }
 > +    }
 > +  }
 > +  
 > +  for (i = 0; i < obj->local_syms; ++i)
 > +  {
 > +    rtems_rtl_obj_sym* sym = &obj->local_table[i];
 > +    

Done.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/679#note_129373
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/cb11da08/attachment-0001.htm>


More information about the bugs mailing list