title: Is there an equivalent to the GNU linker "--just-symbols" option for non-GNU linkers?
body: <blockquote>
  <p>-R filename</p>
  <p>--just-symbols=filename</p>
  <p>Read symbol names and their addresses from <em>filename</em>, but do not relocate it or include it in  the output. This allows your output file to refer symbolically to absolute locations of memory defined in other programs. You may use this option more than once.</p>
  </blockquote>
  <p>For example, on my Mac, <code>ld -R libsomething.a</code> or even <code>gcc -Wl,-R,libsomething.a</code> doesn't work.</p>