How to tell / force GNU ld to put a section/symbol in a specific part of the output ELF file?
In order to put the section before .text
, have you already tried to make it allocated (A
) and executable (X
)?
If the .interp
hack works, then that's fine as well, of course.