<div dir="ltr">One example is SBCL. I believe this is the code where it generates PC32 relocations against non-ALLOC section, but I may be wrong.<div><br></div><div><a href="https://github.com/sbcl/sbcl/blob/ea395cb6fb53f04e081254738c1cdc1f3e6fef7f/tools-for-build/editcore.lisp#L958">https://github.com/sbcl/sbcl/blob/ea395cb6fb53f04e081254738c1cdc1f3e6fef7f/tools-for-build/editcore.lisp#L958</a><br></div><div><br></div><div>GNU linkers relocate such relocations as if they were at address 0, as I wrote in the comment. With this patch. SBCL works.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 15, 2018 at 1:46 PM, Rui Ueyama via Phabricator <span dir="ltr"><<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ruiu updated this revision to Diff 134502.<br>
ruiu added a comment.<br>
<br>
- fix typos in test<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<a href="https://reviews.llvm.org/D43351" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D43351</a><br>
<br>
Files:<br>
  lld/ELF/InputSection.cpp<br>
  lld/test/ELF/invalid/invalid-<wbr>debug-relocations.test<br>
  lld/test/ELF/non-abs-reloc.s<br>
<br>
</div></div></blockquote></div><br></div>