Chris Johns commented on a discussion on cpukit/libdl/rtl.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/679#note_129392

 > +  rtems_chain_node*    node;
 > +  
 > +  objects = rtems_rtl_objects_unprotected ();
 > +  if (!objects)
 > +    return NULL;
 > +
 > +  for (node = rtems_chain_first (objects);
 > +       !rtems_chain_is_tail (objects, node);
 > +       node = rtems_chain_next (node))
 > +  {
 > +    rtems_rtl_obj* obj = (rtems_rtl_obj*) node;
 > +    
 > +    if (obj->text_base && obj->text_size > 0)
 > +    {
 > +      if (addr >= obj->text_base && 
 > +          addr < (void*)((char*)obj->text_base + obj->text_size))

Look good. Minor minor point is the space before the arg `(` as the existing 
coding style has that.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/679#note_129392
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to