[llvm-bugs] [Bug 30733] New: section flags syntax differences between gas and llvm intergrated assembler

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 19 03:39:00 PDT 2016


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

            Bug ID: 30733
           Summary: section flags syntax differences between gas and llvm
                    intergrated assembler
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: Christof.Douma at arm.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

gas its .section directive nowadays accepts "a numeric value indicating the
bits to be set in the ELF section header's flags field". See:

https://sourceware.org/binutils/docs-2.27/as/Section.html#Section

Note that this can also be applied to builtin sections. For example this works
in gas (but not in llvm):
.section .text,"0x20000006",%progbits

-- 
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/20161019/6797a18e/attachment.html>


More information about the llvm-bugs mailing list