Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2004-10-11  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-sym.c (do_sym): Avoid using global variable.

	* elf/dl-addr.c (_dl_addr): Really use match everywhere.
  • Loading branch information
Ulrich Drepper committed Oct 11, 2004
1 parent af1c579 commit 173a06e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2004-10-11 Ulrich Drepper <drepper@redhat.com>

* elf/dl-sym.c (do_sym): Avoid using global variable.

* elf/dl-addr.c (_dl_addr): Really use match everywhere.

2004-10-09 Andreas Schwab <schwab@suse.de>

* sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Remove use of cast as
Expand Down
6 changes: 3 additions & 3 deletions elf/dl-sym.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ do_sym (void *handle, const char *name, void *who,
{
if (__builtin_expect (match == GL(dl_loaded), 0))
{
if (! GL(dl_loaded)
|| caller < GL(dl_loaded)->l_map_start
|| caller >= GL(dl_loaded)->l_map_end)
if (match == NULL
|| caller < match->l_map_start
|| caller >= match->l_map_end)
GLRO(dl_signal_error) (0, NULL, NULL, N_("\
RTLD_NEXT used in code not dynamically loaded"));
}
Expand Down

0 comments on commit 173a06e

Please sign in to comment.