2000-07-15 H.J. Lu (hjl@gnu.org)
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 15 Jul 2000 23:57:20 +0000 (23:57 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 15 Jul 2000 23:57:20 +0000 (23:57 +0000)
commit1345a0c087decf73553c7ed8e92ae0e997794eff
treea910b9d85cac1f865adf4dd604ceea3927027a8d
parent930d924dd4454c4e4cb0c8fd12eaba029fde23d9
2000-07-15  H.J. Lu  (hjl@gnu.org)

* ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure
for "protected_undef_def".

* ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when
PROTECTED_WEAK_TEST is defined.
Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is
defined.
Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined.

* ld-elfvsb/sh1.c (visibility): Mark protected only if
PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST
is defined.
(visibility_var): Likewise.
ld/testsuite/ChangeLog
ld/testsuite/ld-elfvsb/elfvsb.exp
ld/testsuite/ld-elfvsb/main.c
ld/testsuite/ld-elfvsb/sh1.c