PR13802, referred common symbol not UNDefined

Alan Modra amodra@gmail.com
Sat Jun 6 05:14:08 GMT 2020


It looks like this one was previously just swept under the rug.  Prior
to git commit c4b126b87a6c, 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.

diff --git a/ld/testsuite/ld-elf/comm-data.exp b/ld/testsuite/ld-elf/comm-data.exp
index c735fe244c..87ae3b2991 100644
--- a/ld/testsuite/ld-elf/comm-data.exp
+++ b/ld/testsuite/ld-elf/comm-data.exp
@@ -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

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list