From 9e4d08bbf4b4738add6ec8c143e64b4d80e5e49c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 6 Feb 2020 06:40:30 -0800 Subject: 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/testsuite/lib/ld-lib.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ld/testsuite/lib') diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index bed5add..08e2d69 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 } -- cgit v1.1