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)
commit2aa90762b71af7f04032d2bebed6470070d3d801
tree227042b9ed311df00ec6123a1b37632eb9683a08
parenta4dd6c97bd5c7e2cc58f4d2a0b83145646f67cc7
plugin: Copy the no_export field to the IR dummy object

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.
ld/ChangeLog
ld/plugin.c
ld/testsuite/ld-plugin/lto.exp
ld/testsuite/ld-plugin/pr25618.d [new file with mode: 0644]
ld/testsuite/ld-plugin/pr25618a.cc [new file with mode: 0644]
ld/testsuite/ld-plugin/pr25618a.h [new file with mode: 0644]
ld/testsuite/ld-plugin/pr25618b.cc [new file with mode: 0644]
ld/testsuite/ld-plugin/pr25618b.h [new file with mode: 0644]
This page took 0.024533 seconds and 4 git commands to generate.