2000-05-21 H.J. Lu (hjl@gnu.org)
* ld-elfvsb/main.c (main_visibility_check): Fix the protected visibility test.
This commit is contained in:
parent
0aa5d42641
commit
e80778cf3d
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-05-21 H.J. Lu (hjl@gnu.org)
|
||||
|
||||
* ld-elfvsb/main.c (main_visibility_check): Fix the protected
|
||||
visibility test.
|
||||
|
||||
2000-05-13 H.J. Lu (hjl@gnu.org)
|
||||
|
||||
* lib/ld-lib.exp (default_ld_link): Redirect the linker output
|
||||
|
|
|
@ -29,13 +29,19 @@ visibility ()
|
|||
{
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int
|
||||
main_visibility_check ()
|
||||
{
|
||||
return visibility_funptr () != visibility;
|
||||
}
|
||||
#else
|
||||
static int
|
||||
main_visibility_check ()
|
||||
{
|
||||
return visibility_funptr () == visibility;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* This function is called by the shared library. */
|
||||
|
||||
|
|
Loading…
Reference in a new issue