projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d6acc6
)
Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
author
Roland McGrath
<roland@gnu.org>
Thu, 13 Jun 1996 06:50:11 +0000
(06:50 +0000)
committer
Roland McGrath
<roland@gnu.org>
Thu, 13 Jun 1996 06:50:11 +0000
(06:50 +0000)
* elf/dl-lookup.c (_dl_lookup_symbol): If no value and *REF is
null, consider it a strong reference and give the error.
elf/dl-lookup.c
patch
|
blob
|
history
diff --git
a/elf/dl-lookup.c
b/elf/dl-lookup.c
index
7ceffa2
..
a1a964f
100644
(file)
--- a/
elf/dl-lookup.c
+++ b/
elf/dl-lookup.c
@@
-130,7
+130,7
@@
_dl_lookup_symbol (const char *undef_name, const ElfW(Sym) **ref,
}
if (weak_value.s == NULL &&
-
!*ref || ELFW(ST_BIND) ((*ref)->st_info) != STB_WEAK
)
+
(*ref == NULL || ELFW(ST_BIND) ((*ref)->st_info) != STB_WEAK)
)
{
/* We could find no value for a strong reference. */
const char msg[] = "undefined symbol: ";