mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
59e31fd742
A following patch will add visibility support in ld for XCOFF. Thus, ld-elfvsb is renamed ld-vsb and a suffix is added to files targeting only ELF format. ld/ChangeLog: * testsuite/ld-elfvsb: rename as ld-vsb. * testsuite/ld-elfvsb/hidden0.d: move to ld-vsb and rename with suffix -elf.d. * testsuite/ld-elfvsb/hidden1.d: Likewise. * testsuite/ld-elfvsb/hidden2.d: Likewise. * testsuite/ld-elfvsb/internal0.d: Likewise. * testsuite/ld-elfvsb/internal1.d: Likewise. * testsuite/ld-elfvsb/protected0.d: Likewise. * testsuite/ld-elfvsb/protected1.d: Likewise.
27 lines
725 B
Plaintext
27 lines
725 B
Plaintext
mainvar == 1
|
|
overriddenvar == 2
|
|
shlibvar1 == 3
|
|
shlib_mainvar () == 1
|
|
shlib_overriddenvar () == 2
|
|
shlib_shlibvar1 () == 3
|
|
shlib_shlibvar2 () == 4
|
|
shlib_shlibcall () == 5
|
|
shlib_shlibcall2 () == 8
|
|
shlib_maincall () == 6
|
|
main_called () == 6
|
|
shlib_checkfunptr1 (shlib_shlibvar1) == 1
|
|
shlib_checkfunptr2 (main_called) == 1
|
|
shlib_getfunptr1 () == shlib_shlibvar1
|
|
shlib_getfunptr2 () == main_called
|
|
shlib_check () == 1
|
|
visibility_check () == 1
|
|
visibility_checkfunptr () == 1
|
|
main_visibility_check () == 1
|
|
visibility_checkvar () == 1
|
|
visibility_checkvarptr () == 1
|
|
main_visibility_checkvar () == 1
|
|
main_visibility_checkcom () == 1
|
|
shlib_visibility_checkcom () == 1
|
|
main_visibility_checkweak () == 1
|
|
shlib_visibility_checkweak () == 1
|