* coff-z80.c (z80coff_vec): Allow sections to be of type SEC_CODE or SEC_DATA

* ld-scripts/align.exp: Remove xfails for z80-*-coff
This commit is contained in:
Arnold Metselaar 2009-10-17 17:18:28 +00:00
parent a98330b801
commit 6c293e26a3
4 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2009-10-17 Arnold Metselaar <arnold.metselaar@planet.nl>
* coff-z80.c (z80coff_vec): Allow sections to be of type
SEC_CODE or SEC_DATA
2009-10-16 Alan Modra <amodra@bigpond.net.au>
PR binutils/10785

View File

@ -283,6 +283,7 @@ extra_case (bfd *in_abfd,
#undef coff_bfd_relax_section
#define coff_bfd_relax_section bfd_coff_reloc16_relax_section
CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL,
CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0,
SEC_CODE | SEC_DATA, '\0', NULL,
COFF_SWAP_TABLE)

View File

@ -1,3 +1,7 @@
2009-10-17 Arnold Metselaar <arnold.metselaar@planet.nl>
* ld-scripts/align.exp: Remove xfails for z80-*-coff
2009-10-16 Rafael Avila de Espindola <espindola@google.com>
* bootstrap.exp: Detect if plugins are enabled. Skip the static

View File

@ -46,11 +46,7 @@ if ![ld_simple_link $ld tmpdir/align "$LDFLAGS -T $srcdir/$subdir/align.t tmpdir
}
if ![is_aout_format] {
# The z80-coff port defaults to a "binary" like output
# file format which does not include a data section.
setup_xfail "z80-*-coff"
run_dump_test align2a
setup_xfail "z80-*-coff"
run_dump_test align2b
}
run_dump_test align2c