"ld -d" assigns space to common symbols even if a relocatable output
file is specified (with '-r').
PR ld/21904
* testsuite/ld-elf/pr21904.d: New file.
* testsuite/ld-elf/pr21904.s: Likewise.
+2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/21904
+ * testsuite/ld-elf/pr21904.d: New file.
+ * testsuite/ld-elf/pr21904.s: Likewise.
+
2017-08-03 Nick Clifton <nickc@redhat.com>
PR ld/21884
--- /dev/null
+#ld: -d -r
+#readelf: -s
+
+#...
+.*: [0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ foo
+#pass
--- /dev/null
+ .ifdef HPUX
+foo .comm 4
+ .else
+ .comm foo, 4, 4
+ .endif