diff options
author | Chris Johns <chrisj@rtems.org> | 2012-12-01 08:05:47 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-12-01 08:05:47 +1100 |
commit | 803c60a946748179db8090aac2ad5548635df5a0 (patch) | |
tree | 43da541f4079e26bd8406d1662a91513f3ff0601 /linkers/rld-rap.h | |
parent | 1a5bdef7a557ed1d7ac609f45ad307f9a361c21a (diff) |
RAP format up to relocation records completed.
Do not write the script into the RAP file rather just write the
init and fini labels. These are appended to the string table and
offsets in the string table added to the image.
Fi the sizes so the sections can be correctly loaded on the target.
Diffstat (limited to 'linkers/rld-rap.h')
-rw-r--r-- | linkers/rld-rap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linkers/rld-rap.h b/linkers/rld-rap.h index f248a55..d29272c 100644 --- a/linkers/rld-rap.h +++ b/linkers/rld-rap.h @@ -45,12 +45,14 @@ namespace rld * maintained list that are exported. * * @param app The application image to write too. - * @param metadata The application metadata. + * @param init The application's initialisation entry point. + * @param exit The application's finish entry point . * @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, + const std::string& init, + const std::string& fini, const files::object_list& objects, const symbols::table& symbols); } |