Re: PR13802, referred common symbol not UNDefined

It looks like this one was previously just swept under the rug.  Prior
to git commit c4b126b87a, the arm backend emitted an absolute
dynamic symbol "foo" with value zero for what was originally a common
symbol.  That was just wrong.

The patch also removes an xfail for bfin-linux-uclibc.

	PR 13802
	* testsuite/ld-elf/comm-data.exp: Don't xfail arm or bfin-linux.
This commit is contained in:
Alan Modra 2020-06-06 11:58:09 +09:30
parent 070558eb0d
commit 1fc47f8089
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2020-06-06 Alan Modra <amodra@gmail.com>
* testsuite/ld-elf/comm-data.exp: Don't xfail arm or bfin-linux.
2020-06-06 Alan Modra <amodra@gmail.com>
* lexsup.c (ld_options): Accept -plugin and -plugin-opt when

View File

@ -74,10 +74,9 @@ if [istarget "*-*-hpux*"] {
append AFLAGS " --defsym HPUX=1"
}
# bfin does not currently support copy relocs.
# bfin-elf does not currently support copy relocs.
setup_xfail "bfin-*-*"
setup_xfail "arm*-*-*" "ld/13802"
clear_xfail "bfin-*-linux-uclibc*"
# Verify that a common symbol has been converted to an undefined
# reference to the global symbol of the same name defined above