aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-z80.c
diff options
context:
space:
mode:
authorArnold Metselaar <arnold.metselaar@planet.nl>2009-10-17 17:18:28 +0000
committerArnold Metselaar <arnold.metselaar@planet.nl>2009-10-17 17:18:28 +0000
commit6c293e26a3900d79876d54fca00c21b4d6406d98 (patch)
tree9e39cf0a19851086382b93c1585ec20d69027900 /bfd/coff-z80.c
parenta98330b80112d74eb8838bc5ff8985265bcaafc0 (diff)
downloadgdb-6c293e26a3900d79876d54fca00c21b4d6406d98.zip
gdb-6c293e26a3900d79876d54fca00c21b4d6406d98.tar.gz
gdb-6c293e26a3900d79876d54fca00c21b4d6406d98.tar.bz2
* 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
Diffstat (limited to 'bfd/coff-z80.c')
-rw-r--r--bfd/coff-z80.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/coff-z80.c b/bfd/coff-z80.c
index 62bb90b..05008cd 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)