From: Arnold Metselaar Date: Sat, 17 Oct 2009 17:18:28 +0000 (+0000) Subject: * coff-z80.c (z80coff_vec): Allow sections to be of type SEC_CODE or SEC_DATA X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c293e26a3900d79876d54fca00c21b4d6406d98;p=binutils-gdb.git * 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 --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bff11d99c00..f6b03d95f19 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2009-10-17 Arnold Metselaar + + * coff-z80.c (z80coff_vec): Allow sections to be of type + SEC_CODE or SEC_DATA + 2009-10-16 Alan Modra PR binutils/10785 diff --git a/bfd/coff-z80.c b/bfd/coff-z80.c index 62bb90bb8a0..05008cd5027 100644 --- a/bfd/coff-z80.c +++ b/bfd/coff-z80.c @@ -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) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index a0387629476..b46c834d5b8 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-10-17 Arnold Metselaar + + * ld-scripts/align.exp: Remove xfails for z80-*-coff + 2009-10-16 Rafael Avila de Espindola * bootstrap.exp: Detect if plugins are enabled. Skip the static diff --git a/ld/testsuite/ld-scripts/align.exp b/ld/testsuite/ld-scripts/align.exp index b0fb96299d3..9ea46d0fa33 100644 --- a/ld/testsuite/ld-scripts/align.exp +++ b/ld/testsuite/ld-scripts/align.exp @@ -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