diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-07-12 20:15:24 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-07-12 20:15:24 +0000 |
commit | f1e55806303788564a5a67395b4690b522c62b41 (patch) | |
tree | 9ce187a3b9a1e1725ac58302e229bbd857a72e55 /gdb/solib-svr4.c | |
parent | 0d37add96298857bfc56467b9cb81e1d38c88b41 (diff) | |
download | gdb-f1e55806303788564a5a67395b4690b522c62b41.zip gdb-f1e55806303788564a5a67395b4690b522c62b41.tar.gz gdb-f1e55806303788564a5a67395b4690b522c62b41.tar.bz2 |
* solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r-- | gdb/solib-svr4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 3f6be94..1ef2d1e 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -184,7 +184,7 @@ LM_ADDR_CHECK (struct so_list *so, bfd *abfd) don't adjust the base offset in the latter case, although odds are that, if things really changed, debugging won't 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; |