Max Horn
7ace85e636
PLUGINS: Simplify ELF plugin providers & DLObject subclasses
...
* Remove DLObject virtual methods allocSegment and freeSegment.
As long as all DLObject implementations use memalign + free to
allocate/release segments, there is no point in wrapping those.
This enables further simplifications.
* Add TemplatedELFPlugin template class. Use this instead of explicit
ELFPlugin subclasses.
* Rename DLObject::discard_symtab to discardSymtab
svn-id: r54082
2010-11-05 01:20:34 +00:00
Yotam Barnoy
09cb941690
PLUGINS: Fix function arguments in MIPS loader
...
Derived virtual function wasn't overwriting base function.
svn-id: r52749
2010-09-16 17:37:31 +00:00
Andre Heider
41834499ed
PLUGINS: Cleanup.
...
- Unify ELF loader handling in configure
- Rename ELF_LOADER_TARGET to USE_ELF_LOADER
svn-id: r52728
2010-09-15 07:43:16 +00:00
Andre Heider
d8b85ffcb8
PLUGINS: Formatting.
...
Misformatted casts in an earier commit, oops.
svn-id: r52572
2010-09-05 21:58:45 +00:00
Andre Heider
402c71860f
PLUGINS: Make the file stream a member of DLObject.
...
No point in passing it to functions all over the place. Release the
stream when it's not required anymore.
svn-id: r52558
2010-09-05 12:53:15 +00:00
Andre Heider
3b2a9734d1
PLUGINS: Type cleanup.
...
Use our types, get rid of some casts.
svn-id: r52557
2010-09-05 12:52:49 +00:00
Andre Heider
c4a88559a5
PLUGINS: Move platform specific code out of the generic ELF loader.
...
Instead overwrite pure virtual functions in a backend specific class.
svn-id: r52556
2010-09-05 12:52:17 +00:00
Andre Heider
86f4dbd956
PLUGINS: Move all ELF loader related files to its own directory.
...
svn-id: r52555
2010-09-05 12:51:25 +00:00