mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-19 13:40:59 +08:00
Update.
* sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for comparing ftab elements. (_dl_unmap): Fix typo in test.
This commit is contained in:
parent
ceb927c971
commit
f903b5155c
@ -1,6 +1,8 @@
|
||||
2003-05-02 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/generic/dl-fptr.c (_dl_unmap): Fix typo in test.
|
||||
* sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for
|
||||
comparing ftab elements.
|
||||
(_dl_unmap): Fix typo in test.
|
||||
(_dl_make_fptr): Fix typos introduced in last change.
|
||||
|
||||
* sysdeps/generic/dl-fptr.c: Put back one optimization from the
|
||||
|
@ -220,7 +220,7 @@ _dl_make_fptr (struct link_map *map, const ElfW(Sym) *sym,
|
||||
INTUSE(_dl_signal_error) (0, NULL, NULL, N_("\
|
||||
internal error: symidx out of range of fptr table"));
|
||||
|
||||
while (ftab[symidx] == NULL)
|
||||
while (ftab[symidx] == 0)
|
||||
{
|
||||
/* GOT has already been relocated in elf_get_dynamic_info -
|
||||
don't try to relocate it again. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user