Using DOSTEXT(x) accesses x in LGROUP and DOSDATA(x) in DGROUP. This is necessary since ia16-elf-gcc does not understand data in far segments. For non-macro'ed symbols, FP_SEG needs to be replaced by explicit segment references.
Use "make all COMPILER=gcc". Linking does not work yet with these changes.