[hjl@gnu-cfl-2 tmpdir]$ ../ld-new -V --gc-sections pr22319.o
GNU ld (GNU Binutils) 2.34.50.
20200206
  Supported emulations:
   elf32z80
../ld-new: warning: gc-sections option ignored
../ld-new: warning: cannot find entry symbol _start; defaulting to 
0000000000000100
[hjl@gnu-cfl-2 tmpdir]$
	* testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
	z80 as not supported.
+2020-02-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
+       z80 as not supported.
+
 2020-02-06  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
 
            || [istarget pj*-*-*]
            || [istarget pru*-*-*]
            || [istarget s12z-*-*]
-           || [istarget xgate-*-*] } {
+           || [istarget xgate-*-*]
+           || [istarget z80-*-*] } {
            set gc_sections_available_saved 0
            return 0
        }