From 9e4d08bbf4b4738add6ec8c143e64b4d80e5e49c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 6 Feb 2020 06:40:30 -0800 Subject: [PATCH] check_gc_sections_available: Mark z80 as not supported [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 | 5 +++++ ld/testsuite/lib/ld-lib.exp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 29630cbab5b..66a50490912 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2020-02-07 H.J. Lu + + * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark + z80 as not supported. + 2020-02-06 Alan Modra * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index bed5add77f0..08e2d6978af 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -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 } -- 2.30.2