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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to