summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-01-15 09:48:15 +1100
committerChris Johns <chrisj@rtems.org>2013-01-15 09:48:15 +1100
commitfd1a5952e2cdc392ee966199ca09468fc7ee11cc (patch)
tree6fffecf8fde97f4ad18d5b62190d4f1d3e393105
parent76172ffa93a1205c82e0fb3aa4bc69788240a981 (diff)
Update comments.
-rw-r--r--rtl.c2
-rw-r--r--rtl.h4
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.