Wihshlist: Fully support ia16-omf style modules in the linker.
Currently, from my understanding gcc16-ia16 outputs object modules with an ELF style header.
However, most of complilers and linkers that I've encountered for 16 bit DOS systems ( like Microsft and Borland) use OMF style object modules, ( https://en.wikipedia.org/wiki/Relocatable_Object_Module_Format.), or direct assembler patches.
Thus at some future date, the linker for binutils-ia16 would I suggest need to recognise both ia16-elf and ia16-omf style object modules when linking, even if the compiler only outputs the elf variant. A conversion utillity for (LIB) files between OMF and ELF variants might also be a good idea.
In respect of the layout of OMF modules:- https://web.archive.org/web/20180709014501/http://www.iecc.com/linker/linker03.html has some details. However, there was not as much standardisation as with ELF under GNU/LINUX. The Wikipedia article has link to two versions of the spec for OMF modules.
I'm opening this issue so that those with better technical expertise are able to comment.