plugin: Copy the no_export field to the IR dummy object
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 2 Mar 2020 01:07:12 +0000 (17:07 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 2 Mar 2020 01:10:49 +0000 (17:10 -0800)
Copy the no_export field to the IR dummy object when claiming an IR
object.

PR ld/25618
* plugin.c (plugin_object_p): Copy the no_export field to the IR
dummy object.
* testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
PR ld/25618 tests.
* testsuite/ld-plugin/pr25618.d: New file.
* testsuite/ld-plugin/pr25618a.cc: Likewise.
* testsuite/ld-plugin/pr25618a.h: Likewise.
* testsuite/ld-plugin/pr25618b.cc: Likewise.
* testsuite/ld-plugin/pr25618b.h: Likewise.


No differences found
This page took 0.025662 seconds and 4 git commands to generate.