[ERROR]
A reference to a relocatable object has been detected during generation of an absolute file by the assembler.
XREF extData
DataSec: SECTION
data1: DS.W 1
ORG $800
entry:
DC.W extData
DC.W data1+2
When you are generating an absolute file, your application should be encoded in a single source file, and should only contain any relocatable symbol. So in order to avoid this message, define all your section as absolute section and remove all XREF directives from your source file.
ORG $B00
data1: DS.W 1
ORG $800
entry:
DC.W data1+2