diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-07-04 08:55:04 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-07-04 08:55:20 -0700 |
commit | c3e1c28ebfdb20ff4498bcc792228283b903d393 (patch) | |
tree | ad03cee00b4e79c0ca3c9cbbf7a864253fc4ed2d /install-sh | |
parent | 1dc8bf195d2c4d382e0d6d371f16ebfe83573acc (diff) | |
download | gdb-c3e1c28ebfdb20ff4498bcc792228283b903d393.zip gdb-c3e1c28ebfdb20ff4498bcc792228283b903d393.tar.gz gdb-c3e1c28ebfdb20ff4498bcc792228283b903d393.tar.bz2 |
Warn and return for duplicated plugin
If a plugin has been loaded already, we should warn and return, instead
of adding it on the plugin list.
PR ld/20321
* plugin.c (plugin_opt_plugin): Warn and return if plugin has
been loaded already.
* testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
* testsuite/ld-plugin/pr20321.c: New file.
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions