Arm/COFF: accept .def outside of CCS mode

There's no reason to reject this common COFF directive when it doesn't
have any other meaning.
This commit is contained in:
Jan Beulich
2025-05-02 10:05:12 +02:00
parent 37d1afde86
commit 36e66b193b
4 changed files with 7 additions and 3 deletions

View File

@@ -163,7 +163,7 @@ if { [is_elf_format]
|| [istarget wasm32-*-*]
|| [istarget bpf-*-*]} {
set nm_1_src "nm-elf-1.s"
} elseif {[is_coff_format] && ![istarget arm*-*-*]} {
} elseif {[is_coff_format]} {
if {[istarget *c4x-*-*] || [istarget *c54x-*-*]} {
set nm_1_src "nm-coff-sdef-1.s"
} else {