relocation of shared libs not based at 0

Kris Warkentin kewarken@qnx.com
Wed Feb 12 18:19:00 GMT 2003


> I can understand wanting to do (2) for expediency's sake.  If you do
> so, please create a new solib backend.  Basically, this will consist
> of making a copy of solib-svr4.c and hacking on it 'til it works as
> desired.  (Some small configury changes will also be needed.)

I was actually able to cheat without creating a whole new backend just by
overriding svr4_relocate_section_addresses in one of my backend files.  That
way I only had to grab a couple support functions from solib-svr4.c

cheers,

Kris



More information about the Gdb mailing list