]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
New plugin interface to get list of symbols wrapped with --wrap option. binutils-2_29-branch
authorSriraman Tallam <tmsriram@google.com>
Thu, 22 Feb 2018 21:56:46 +0000 (13:56 -0800)
committerSriraman Tallam <tmsriram@google.com>
Fri, 27 Apr 2018 22:00:42 +0000 (15:00 -0700)
commit8efd17cb25686c51b9db6531ae2fbeb2e6ef2399
tree2eba677c050c91e8e2eb6e412365c61b055c8c12
parent4ba9ba2ceb8ca16d414c5ec8f5f48792e60165e5
New plugin interface to get list of symbols wrapped with --wrap option.

2018-02-22  Sriraman Tallam  <tmsriram@google.com>

* plugin.cc (get_wrap_symbols): New plugin interface.
(load): Add get_wrap_symbols to transfer vector.
* plugin-api.h (ld_plugin_get_wrap_symbols): New plugin interface.
* testsuite/plugin_test.c (onload): Call and check get_wrap_symbols
interface.
* testsuite/plugin_test_wrap_symbols.sh: New test script.
* testsuite/plugin_test_wrap_symbols_1.cc: New file.
* testsuite/plugin_test_wrap_symbols_2.cc: New file.
* testsuite/Makefile.am (plugin_test_wrap_symbols): New test.
* testsuite/Makefile.in: Regenerate.

(cherry picked from commit 0b65c07b97c43e8891c2e14061270878a85222c8)
gold/ChangeLog
gold/options.h
gold/plugin.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/plugin_test.c
gold/testsuite/plugin_test_wrap_symbols.sh [new file with mode: 0755]
gold/testsuite/plugin_test_wrap_symbols_1.cc [new file with mode: 0644]
gold/testsuite/plugin_test_wrap_symbols_2.cc [new file with mode: 0644]
include/plugin-api.h