aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-07-04 06:27:58 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-07-04 06:29:13 -0700
commit94d401b8b88a76b1372ce44e805516756a4f737b (patch)
tree62f580d5a657896a602fad555ea6b11c7cdc48fa /gdb/nat
parentb14b7ff14ffe911ec562004304841cf7d2775a19 (diff)
downloadgdb-94d401b8b88a76b1372ce44e805516756a4f737b.zip
gdb-94d401b8b88a76b1372ce44e805516756a4f737b.tar.gz
gdb-94d401b8b88a76b1372ce44e805516756a4f737b.tar.bz2
ld: Set non_ir_ref_regular for --undefined SYMBOL
Set non_ir_ref_regular to TRUE for symbols forced into the output file so that they won't be removed by garbage collection with LTO. PR ld/23309 * ldlang.c (insert_undefined): Set non_ir_ref_regular to TRUE. * plugin.c (is_visible_from_outside): Don't scan entry_symbol. * testsuite/ld-plugin/pr23309.c: New file. * testsuite/ld-plugin/pr23309.d: Likewise.
Diffstat (limited to 'gdb/nat')
0 files changed, 0 insertions, 0 deletions