+2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/sizeofa.d: Skip on targets with leading char
+       in symbol name.
+       * testsuite/ld-elf/sizeofb.d: Likewise.
+       * testsuite/ld-elf/startofa.d: Likewise.
+       * testsuite/ld-elf/startofb.d: Likewise.
+
 2017-06-14  Georg-Johann Lay  <gjl@gcc.gnu.org>
 
        PR ld/21583
 
 #source: sizeof.s
 #ld: -Ur
 #readelf: -sW
+#notarget: bfin-*-* cr16-*-* cr16c-*-* cris*-*-* crx-*-* epiphany-*-*
+#notarget: h8300-*-* ip2k-*-* m10200-*-* m10300-*-* m32c-*-* metag-*-*
+#notarget: metag-*-* rl78-*-* rx-*-* sh*-*-* v850*-*-*
+# Targets with a leading char will faill this test.
 
 Symbol table '\.symtab' contains [0-9]+ entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
 
 #ld: -shared
 #readelf: -sW
 #target: *-*-linux* *-*-gnu*
+#notarget: bfin-*-* cr16-*-* cr16c-*-* cris*-*-* crx-*-* epiphany-*-*
+#notarget: h8300-*-* ip2k-*-* m10200-*-* m10300-*-* m32c-*-* metag-*-*
+#notarget: metag-*-* rl78-*-* rx-*-* sh*-*-* v850*-*-*
+# Targets with a leading char will faill this test.
 
 Symbol table '\.dynsym' contains [0-9]+ entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
 
 #source: startof.s
 #ld: -Ur
 #readelf: -sW
+#notarget: bfin-*-* cr16-*-* cr16c-*-* cris*-*-* crx-*-* epiphany-*-*
+#notarget: h8300-*-* ip2k-*-* m10200-*-* m10300-*-* m32c-*-* metag-*-*
+#notarget: metag-*-* rl78-*-* rx-*-* sh*-*-* v850*-*-*
+# Targets with a leading char will faill this test.
 
 Symbol table '\.symtab' contains [0-9]+ entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
 
 #ld: -shared
 #readelf: -sW
 #target: *-*-linux* *-*-gnu*
+#notarget: bfin-*-* cr16-*-* cr16c-*-* cris*-*-* crx-*-* epiphany-*-*
+#notarget: h8300-*-* ip2k-*-* m10200-*-* m10300-*-* m32c-*-* metag-*-*
+#notarget: metag-*-* rl78-*-* rx-*-* sh*-*-* v850*-*-*
+# Targets with a leading char will faill this test.
 
 Symbol table '\.dynsym' contains [0-9]+ entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name