summaryrefslogtreecommitdiff
path: root/linkers/rld-rap.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-11-26 11:50:21 +1100
committerChris Johns <chrisj@rtems.org>2012-11-26 11:50:21 +1100
commitae353d3bb0924ffd9b033e1c2267720032670009 (patch)
treebe5b5b96ac7e65065853eb367ec83a28172856b1 /linkers/rld-rap.h
parenteb825b1deb6e5ee0397e958a55ad3b9bdecea4ff (diff)
Comment clean up.
Diffstat (limited to 'linkers/rld-rap.h')
-rw-r--r--linkers/rld-rap.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/linkers/rld-rap.h b/linkers/rld-rap.h
index 11d71b5..f248a55 100644
--- a/linkers/rld-rap.h
+++ b/linkers/rld-rap.h
@@ -33,6 +33,21 @@ namespace rld
{
/**
* Write a RAP format file.
+ *
+ * The symbol table is provided to allow incremental linking at some point
+ * in the future. I suspect this will also require extra options being
+ * added to control symbol visibility in the RAP file. For example an
+ * "application" may be self contained and does not need to export any
+ * symbols therefore no symbols are added and the only ones are part of the
+ * relocation records to bind to base image symbols. Another case is the
+ * need for an application to export symbols because it is using dlopen to
+ * load modules. Here the symbols maybe 'all' or it could be a user
+ * maintained list that are exported.
+ *
+ * @param app The application image to write too.
+ * @param metadata The application metadata.
+ * @param objects The list of object files in the application.
+ * @param symbols The symbol table used to create the application.
*/
void write (files::image& app,
const std::string& metadata,