[smpi] Use virtual memory layout to find the data segment
... Instead of extrating the position of the .data and .bss sections
with objdump:
* don't spawn a separate process (objdump);
* works even with PIE;
* works even without section header table;
* works even if weird sections are used;
* works at the segment granuality instead of the section granularity.
However some heuristic is used which might break in some cases: using
the help of the program header table would be a good idea (but would
add a dependency on ELF).
Currently only implemented on Linux but the SMPI privatisation was
only available on Linux anyway.
15 files changed: