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 | ec33003a31d442a3e2b9fbc5d361ddfcb3fd2ac9 (patch) | |
tree | 77a291c59edf66c5e9d1e24190ac6e75fc63dc15 /rld-outputter.cpp | |
parent | c23f29ec5f5fa18e6b068317cd94a735fceba684 (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 'rld-outputter.cpp')
-rw-r--r-- | rld-outputter.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/rld-outputter.cpp b/rld-outputter.cpp index c773d04..40acb8a 100644 --- a/rld-outputter.cpp +++ b/rld-outputter.cpp @@ -311,13 +311,10 @@ namespace rld files::object_list dep_copy (dependents); files::object_list objects; std::string header; - std::string script; files::image app (name); header = "RAP,00000000,0001,LZ77,00000000\n"; - script = script_text (entry, exit, dependents, cache, true); - cache.get_objects (objects); objects.merge (dep_copy); objects.unique (); @@ -327,7 +324,7 @@ namespace rld try { - rap::write (app, script, objects, symbols); + rap::write (app, entry, exit, objects, symbols); } catch (...) { |