[llvm-bugs] [Bug 43401] [ARM] Issue with .got section and static linking

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 24 15:55:39 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43401

Peter Smith <peter.smith at linaro.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
 Fixed By Commit(s)|                            |368379

--- Comment #14 from Peter Smith <peter.smith at linaro.org> ---
I've tracked down the commit that fixed the problem. It is r368379 [ELF] Expand
regions for gaps due to explicit address

https://reviews.llvm.org/D65722

I think that this looks like it is an intentional fix for this problem, and not
just a side-effect.

Taking a hint from the patch notes, I can get a successful link by taking out
the ALIGN in the output section descriptors. For example .text ALIGN(16) :
ALIGN(16) goes to .text : 

I'll resolve this issue for LLD 10.0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190924/5a6c5bc0/attachment.html>


More information about the llvm-bugs mailing list