09e2aba432
* elflink.c (find_version_for_sym): Remove from here, ... * linker.c (bfd_find_version_for_sym): ... rename, replace here, make public and update all callers. * bfd-in2.h: Regenerate. ld/ChangeLog * NEWS: Mention new feature. * ld.texinfo (--version-script): Document extent of PE support. (WIN32): Mention --version-script. Extend auto-export description. * pe-dll.c (process_def_file): Use version script info to filter symbols from auto-export. * testsuite/ld-pe/vers-script-1.d: New file. * testsuite/ld-pe/vers-script-2.d: New file. * testsuite/ld-pe/vers-script-3.d: New file. * testsuite/ld-pe/vers-script-4.d: New file. * testsuite/ld-pe/vers-script-1.ver: New file. * testsuite/ld-pe/vers-script-2.ver: New file. * testsuite/ld-pe/vers-script-3.ver: New file. * testsuite/ld-pe/vers-script-4.ver: New file. * testsuite/ld-pe/vers-script-dll.c: New file. * testsuite/ld-pe/vers-script.exp: New test script.
10 lines
197 B
Plaintext
Executable File
10 lines
197 B
Plaintext
Executable File
# GNU ld version script to hide boehm-gc, libffi and fdlibm
|
|
# symbols in libgcj.so.
|
|
|
|
TEST_1_0 {
|
|
local: *;
|
|
};
|
|
|
|
TEST_1_1 {
|
|
global: Jv*; _Jv_*; __gcj_personality_v0; __gcj_personality_sj0; _Z*;
|
|
}; |