The executable file format, IIRC, provides a list of addresses that need to be adjusted for relocation. Also, the 68000 has a sizable range for relative branching (+/- 32KB) and highly orthogonal addressing modes, so it's entirely possible to construct code that doesn't use fixed addresses at all.