This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] QNX Neutrino/i386 support
- From: "Kris Warkentin" <kewarken at qnx dot com>
- To: "Mark Kettenis" <kettenis at chello dot nl>
- Cc: <gdb-patches at sources dot redhat dot com>
- Date: Sat, 8 Mar 2003 10:24:02 -0500
- Subject: Re: [RFC] QNX Neutrino/i386 support
- References: <200303081344.h28DiNvi040785@elgar.kettenis.dyndns.org>
> I'm still struggling with the shared library stuff. There's something
> fishy in there, but it seems that the comment in nto-tdep.c is wrong,
> or at least outdated.
There have been some fairly long thread on the mailing list about the solib
issue. Look for threads 'relocation of shared libs not based at 0' starting
back in November/December and some more recently. You may be right about
the comment - I should take a look at it again but the long and the short of
it is that we have a slightly different interpretation of the way
relocations are done. Our chief architect can explain it better but it's
possible that neither interpretation is wrong - one treats two base
addresses as the same, the other doesn't. Either way, the override of
relocate_section_addresses is ABSOLUTELY required. If this is not done,
global data in shared objects will be off by a page.
cheers,
Kris