5 Commits

Author SHA1 Message Date
Chris Johns
fd8a2c559f Add support to write a metadata ELF file.
This also adds support to the ELF classes that wrap libelf. While
this is now done and seems to work I will not be using an ELF
file to hold the metadata after all.
2012-11-20 19:53:24 +11:00
Chris Johns
596e5fa591 Add set_header support to the ELF files. 2012-11-19 10:37:37 +11:00
Chris Johns
f1cf3a9dd3 Better handling of archive open/close and begin/end. 2012-11-18 07:37:02 +11:00
Chris Johns
977c3de534 Refactor the ELF support to allow ELF write suppport.
The refactoring allows better reuse of the ELF support and cleans up
some hacks from the generic file and archive handling improving the
separation of the file handling from the file format, ie ELF. The
handling of ELF object files and ELF object files inside archives
is cleaner.

The refactor cleaned up the symbol handling where the symbols now
reside in the ELF file object and references are take in symbol
pointer containers and symbol table containers.

The main purpose of the refactor is to allow support for creating
and writing ELF files.

Also added an rtems-syms command where special symbol support
can be added.
2012-11-17 17:34:33 +11:00
Chris Johns
ec24a379bc Add to git. 2012-05-07 08:47:11 +10:00