diff options
author | H.J. Lu <hjl@lucon.org> | 2007-01-19 15:13:29 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2007-01-19 15:13:29 +0000 |
commit | 327073e2c37800ea4e76b675e3879d304c605d60 (patch) | |
tree | 7927f13ad97a10a564c27c05172e634297fd41a3 /ld/testsuite/ld-elf/dl6b.out | |
parent | 70e22cdfd1b11cea4ba73b6326f4fd2920d333ad (diff) | |
download | binutils-redhat-327073e2c37800ea4e76b675e3879d304c605d60.tar.gz |
ld/
2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
* ld.h (args_type): Add new symbolic and dynamic_list fields.
* ld.texinfo: Update -Bsymbolic-functions.
* ldmain.c (main): Initialize command_line.symbolic to
symbolic_unset and command_line.dynamic_list to
dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
--dynamic-list* before setting link_info.symbolic,
link_info.dynamic and link_info.dynamic_data.
* lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
(ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
-Bsymbolic-functions.
(parse_args): Handle -Bsymbolic-functions. Don't set
link_info.dynamic, link_info.dynamic_data and link_info.symbolic
here. Set command_line.symbolic for -Bsymbolic. Set
command_line.dynamic_list and command_line.symbolic for
--dynamic-list-data, --dynamic-list-cpp-new,
--dynamic-list-cpp-typeinfo and --dynamic-list.
ld/testsuite/
2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/dl6.c: New file.
* ld-elf/dl6a.out: Likewise.
* ld-elf/dl6amain.c: Likewise.
* ld-elf/dl6b.out: Likewise.
* ld-elf/dl6bmain.c: Likewise.
* ld-elf/dl6cmain.c: Likewise.
* ld-elf/dl6dmain.c: Likewise.
* ld-elf/shared.exp: Add new tests for -Bsymbolic,
-Bsymbolic-functions, --dynamic-list-data and
--dynamic-list-cpp-new.
Diffstat (limited to 'ld/testsuite/ld-elf/dl6b.out')
-rw-r--r-- | ld/testsuite/ld-elf/dl6b.out | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/dl6b.out b/ld/testsuite/ld-elf/dl6b.out new file mode 100644 index 0000000000..8cc87f50d1 --- /dev/null +++ b/ld/testsuite/ld-elf/dl6b.out @@ -0,0 +1 @@ +bar is in DSO. |