This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

getting linker to provide offset for relative assembly branch

I am trying to get an assembly branch working where the destination is in another file.

   .global  xxxDEST   ; a label defined in another file

   .asg xxxDEST, DEST  ; string replacement

   MVK.S2  (jump - DEST), B0

   MVKH.S2  (jump - DEST), B0

jump:

   B.S2   B0

This assembles fine, but when I try to build the project I get a linker warning telling me that relocation type is static base-relative, but that references to my section are not relative to any static base, so this relocation cannot be performed.  The next warning says that the output cannot be loaded and run on a target system.  This is my first foray into assembly, what am I doing wrong?