check_gc_sections_available: Mark z80 as not supported
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 6 Feb 2020 14:40:30 +0000 (06:40 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 6 Feb 2020 14:42:11 +0000 (06:42 -0800)
[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.

ld/ChangeLog
ld/testsuite/lib/ld-lib.exp

index 29630cbab5bb5f928429f41cdb2d86a2c16feca2..66a50490912801f6a35ec6c6f01c6ef3f816797d 100644 (file)
@@ -1,3 +1,8 @@
+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
index bed5add77f01a9a15967138e514fc6b0be436d9d..08e2d6978af1f45fa647bea3456500468462ef21 100644 (file)
@@ -1062,7 +1062,8 @@ proc check_gc_sections_available { } {
            || [istarget pj*-*-*]
            || [istarget pru*-*-*]
            || [istarget s12z-*-*]
-           || [istarget xgate-*-*] } {
+           || [istarget xgate-*-*]
+           || [istarget z80-*-*] } {
            set gc_sections_available_saved 0
            return 0
        }