SPRAB89A September 2011 – March 2014
How a variable is addressed depends on its designation as near or far, its visibility, and the code generation model (for example, position-independent vs. position-dependent).
Only objects designated as near can be addressed with near DP-relative addressing. Near objects may also be addressed in other ways, for example with absolute addressing (position dependent) or through the GOT (position-independent), but none of these ways are inconsistent with near placement.
Variables designated as far cannot be addressed using near DP-relative addressing.