Aleksandar Ristovski wrote:
* i386-nto-tdep.c (i386nto_init_abi): Remove nto_svr4_so_ops.
Initialize solib ops direcly and set them.
+ /* Our loader handles solib relocations differently than svr4. */
+ svr4_so_ops.relocate_section_addresses = nto_relocate_section_addresses;
Sorry, this is not correct.
The SVR4 operations must remain unchanged. For example, you might want to
debug both native Linux (using SVR4 solib ops) and remote NTO (using the NTO
solib ops) in a single GDB session -- if the NTO code clobbers the SVR4 ops,
this won't be possible.
Bye,
Ulrich