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

Fangrui Song <i...@maskray.me> changed:

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

--- Comment #1 from Fangrui Song <i...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to