commit | fbcc8bafeb413a111cd3caab39b3ab57d5b8ce93 | [log] [tgz] |
---|---|---|
author | H.J. Lu <hjl.tools@gmail.com> | Fri Dec 07 15:39:49 2018 -0800 |
committer | H.J. Lu <hjl.tools@gmail.com> | Fri Dec 07 15:40:02 2018 -0800 |
tree | 4437adb9b4b852c95fdf3f3b1a841bf3d7ea6a96 | |
parent | d9c859da9fff9de47a33f52d75a6fef2495b3fc1 [diff] |
Override the previous definition from IR object Mark the previous definition from IR object as undefined so that the generic linker will override it. bfd/ PR ld/23958 * elflink.c (_bfd_elf_add_default_symbol): Override the previous definition from IR object. ld/ PR ld/23958 * testsuite/ld-plugin/lto.exp: Run PR ld/23958 test. * testsuite/ld-plugin/pr23958.c: New file. * testsuite/ld-plugin/pr23958.t: Likewise.