[llvm-bugs] [Bug 37997] Compiler generating assembly that causes a warning about incorrect section attributes when assembled

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 1 17:17:35 PDT 2018


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

Eric Christopher <echristo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Eric Christopher <echristo at gmail.com> ---
Fixed thusly:

echristo at athyra ~/s/llvm> git svn dcommit
Committing to https://llvm.org/svn/llvm-project/llvm/trunk ...
        M       lib/MC/MCParser/ELFAsmParser.cpp
        M       test/MC/ELF/extra-section-flags.s
Committed r336072

Author: Eric Christopher <echristo at gmail.com>
Date:   Mon Jul 2 00:16:39 2018 +0000

    Add an entry for rodata constant merge sections to the default
    section flags in the ELF assembler. This matches the defaults
    given in the rest of MC.

    Fixes PR37997 where we couldn't assemble our own assembly output
    without warnings.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336072
91177308-0d34-0410-b5e6-96231b3b80d8

-- 
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/20180702/b73eaf79/attachment.html>


More information about the llvm-bugs mailing list