[llvm-bugs] [Bug 50472] multiple out of order SECTIONS

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 26 15:56:29 PDT 2021


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

Fangrui Song <i at maskray.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 CC|                            |i at maskray.me

--- Comment #1 from Fangrui Song <i at maskray.me> ---
.sram.text is an orphan section. GNU ld places it after .text_pmusram and
ld.lld places it before ro. You can add an output section description to fix
this.

With `ro . : {}` instead of `ro : {}`, ro must be placed at DOT. If DOT is not
a multiple of alignment, ld.lld will give such an error.

-- 
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/20210526/cb5378d7/attachment.html>


More information about the llvm-bugs mailing list