aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-02-06 06:40:30 -0800
committerH.J. Lu <hjl.tools@gmail.com>2020-02-06 06:42:11 -0800
commit9e4d08bbf4b4738add6ec8c143e64b4d80e5e49c (patch)
tree110497a9ccdb3e1b398c1a1d01435b9e6f206f09 /ld
parentb93a662bcf1eaebac6af70684fbc5bd510fcadcf (diff)
downloadgdb-9e4d08bbf4b4738add6ec8c143e64b4d80e5e49c.zip
gdb-9e4d08bbf4b4738add6ec8c143e64b4d80e5e49c.tar.gz
gdb-9e4d08bbf4b4738add6ec8c143e64b4d80e5e49c.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/lib/ld-lib.exp3
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 29630cb..66a5049 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 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
}