* solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.

This commit is contained in:
Ulrich Weigand 2007-07-12 20:15:24 +00:00
parent 0d37add962
commit f1e5580630
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-07-12 Ulrich Weigand <uweigand@de.ibm.com>
* solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.
2007-07-10 Nick Roberts <nickrob@snap.net.nz> 2007-07-10 Nick Roberts <nickrob@snap.net.nz>
* breakpoint.c: Include "top.h". * breakpoint.c: Include "top.h".

View File

@ -184,7 +184,7 @@ LM_ADDR_CHECK (struct so_list *so, bfd *abfd)
don't adjust the base offset in the latter case, although don't adjust the base offset in the latter case, although
odds are that, if things really changed, debugging won't odds are that, if things really changed, debugging won't
quite work. */ quite work. */
if ((l_addr & align) == 0 && ((dynaddr - l_dynaddr) & align) == 0) if ((l_addr & align) == ((l_dynaddr - dynaddr) & align))
{ {
l_addr = l_dynaddr - dynaddr; l_addr = l_dynaddr - dynaddr;