binutils-gdb/ld/testsuite/ld-plugin/pr23958.c
H.J. Lu fbcc8bafeb 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.
2018-12-07 15:40:02 -08:00

7 lines
96 B
C

void
dwarf_bytesize (void)
{
}
asm (".symver dwarf_bytesize,dwarf_bytesize@@@ELFUTILS_0.143");