[lld] [lld/ELF][X86] Respect outSecOff when checking if GOTPCREL can be relaxed (PR #86334)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 13:15:12 PDT 2024


================
@@ -47,6 +50,13 @@ SECTIONS {
   data 0x80200000 : { *(data) }
 }
 #--- lds2
+SECTIONS {
+  .text.foo 0x100000 : { *(.text.foo) }
----------------
Artem-B wrote:

Do we need any checks to go along with the new sections?

https://github.com/llvm/llvm-project/pull/86334


More information about the llvm-commits mailing list