Add -fcommon compiler command line option to linker tests that need common symbols.
authorNick Clifton <nickc@redhat.com>
Mon, 6 Jan 2020 16:24:23 +0000 (16:24 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 6 Jan 2020 16:24:23 +0000 (16:24 +0000)
commit0e1f1593bc441863d0e5dc586ca3dd8945d36782
tree7e7af261d7e7a2d2da9c4271a8599b5d6b724c99
parent8b7fcda2744145f2380af01c9db8e11986f7af6d
Add -fcommon compiler command line option to linker tests that need common symbols.

PR 25327
* testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
command line when building libcomm1.o and pr13250 tests.
* testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
ld/ChangeLog
ld/testsuite/ld-elf/shared.exp
ld/testsuite/ld-plugin/lto.exp