From fd1a5952e2cdc392ee966199ca09468fc7ee11cc Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 15 Jan 2013 09:48:15 +1100 Subject: Update comments. --- rtl.c | 2 +- rtl.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rtl.c b/rtl.c index 59cd869..9429046 100644 --- a/rtl.c +++ b/rtl.c @@ -440,7 +440,7 @@ rtems_rtl_load_object (const char* name, int mode) ++obj->users; /* - * FIXME: Resolving exsiting unresolved symbols could add more constructors + * FIXME: Resolving existing unresolved symbols could add more constructors * lists that need to be called. Make a list in the obj load layer and * invoke the list here. */ diff --git a/rtl.h b/rtl.h index 52149d5..82fa48a 100644 --- a/rtl.h +++ b/rtl.h @@ -251,7 +251,9 @@ void rtems_rtl_run_ctors (rtems_rtl_obj_t* obj); /** * Get the last error message clearing it. This operation locks the run time - * linker and therefore keeps the RTL thread safe. + * linker and therefore keeps the RTL thread safe but this call is not thread + * safe is multiple threads are loading object files at the same time. This + * call is provided to map to the dlopen family of calls. * * @param message Pointer to a buffer to copy the message into. * @param max_message The maximum message that can be copied. -- cgit v1.2.3