For Debug build, compile with -gxcoff and link with -Wl,-bbigtoc.