This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] check_gc_sections_available: Mark z80 as not supported
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 6 Feb 2020 06:41:44 -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 29630cbab5..66a5049091 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index bed5add77f..08e2d6978a 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.24.1