[llvm-bugs] [Bug 44984] New: unknown directive: FORCE_COMMON_ALLOCATION in lld linker

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 20 23:17:04 PST 2020


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

            Bug ID: 44984
           Summary: unknown directive: FORCE_COMMON_ALLOCATION in lld
                    linker
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: dmgaust at gmail.com
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com

unknown directive

ld.lld: error: /tmp/catmparLufS:12: unknown directive: FORCE_COMMON_ALLOCATION
>>> FORCE_COMMON_ALLOCATION
>>> ^

This is the result of a linker script like this:

FORCE_COMMON_ALLOCATION
SECTIONS
{
    .text : {
        *(.text .text.* .fixup .rodata .rodata.* .data .data.* .sdata*)
    }

    _EDATA = .;
    .bss : {
        *(.bss)
        *(.bss.*)
        *(COMMON)
    }
    _END = .;
}

-- 
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/20200221/91ec2876/attachment.html>


More information about the llvm-bugs mailing list