Sun Studio 12: C++ User's Guide

A.2.42 –KPIC

SPARC: Same as –xcode=pic32.

x86: Same as –Kpic.

Use this option to compile source files when building a shared library. Each reference to a global datum is generated as a dereference of a pointer in the global offset table. Each function call is generated in pc-relative addressing mode through a procedure linkage table.