title: C/C++ linker CALL16 reloc at xxxxx not against global symbol
body: <p>I'm getting these errors while linking, both messages have to do with the same object file.</p>
  
  <pre><code>CALL16 reloc at 0x5f8 not against global symbol
  </code></pre>
  
  <p>and</p>
  
  <pre><code>could not read symbols: Bad value
  </code></pre>
  
  <p>The 2nd message seems to be the reason I'm getting the CALL16 error, but the file compiles just fine.</p>
  
  <p>Any tips on fixing this?</p>
  
  <p>FYI, I'm cross compiling for a MIPS target and using gcc 4.1.2</p>
  
  <p><strong>EDIT:</strong> No luck so far: <br />
  Here are my flags used:
  -fPIC,-Wl,-rpath,-Wl,-O1</p>
  
  <p>I've also tried the following without success:<br />
  -mno-explicit-relocs <br />
  -mexplicit-relocs <br />
  -mlong-calls <br />
  -mno-long-calls <br />
  -mxgot <br />
  -mno-xgot <br /></p>
  
  <p><br />
  Meanwhile, I'll go back to the source at this point and investigate more.</p>