diff options
author | Chris Johns <chrisj@rtems.org> | 2013-03-01 15:42:08 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-03-01 15:42:08 +1100 |
commit | b25e5ca78a597a17f3a0fab5405db9d601a562be (patch) | |
tree | 55c50afe4fcde55bfa2f872b2e5904f4d91f6421 /rtems-rapper.cpp | |
parent | 92b5d704dd5a6d367aa6e1a69e2b8bf0fbab500c (diff) |
Fix RELA in RAP formats.
Fixed the RELA handling in the merging of the object sections into the
RAP sections. A method in the rap::image class was not being used any
more and that code transferred the RELA setting from the object sections
to the image section. This change adds also transfers the rela field.
Diffstat (limited to 'rtems-rapper.cpp')
-rw-r--r-- | rtems-rapper.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rtems-rapper.cpp b/rtems-rapper.cpp index 6c8315b..af7ba81 100644 --- a/rtems-rapper.cpp +++ b/rtems-rapper.cpp @@ -750,8 +750,11 @@ rap_show (rld::files::paths& raps, { if (r.secs[s].relocs.size ()) { + const char* rela = r.secs[s].rela ? "(A)" : " "; std::cout << std::setw (16) << r.secs[s].name - << ": info offset addend symbol name" << std::endl; + << ": info offset addend " + << rela + << " symbol name" << std::endl; for (size_t f = 0; f < r.secs[s].relocs.size (); ++f) { rap::relocation& reloc = r.secs[s].relocs[f]; |