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

            Bug ID: 32657
           Summary: linker script parsing error
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: dav...@freebsd.org
                CC: llvm-bugs@lists.llvm.org

/* This is x86 linker script. */
/* Ensure everything goes in the right order. */
ENTRY(_start)
OUTPUT_FORMAT(elf32-i386)

SECTIONS
{
    PAGE_SIZE = 4096;

    . =  0; /* This is relocatable executable, it will be relocated to
appropriate position in memory. */
    .text ALIGN (4) :
    {
        *(.text*)
        *(.rodata*)
        /* global static initializers */
        . = ALIGN(4);
        ctors_GLOBAL = .;
        *(SORT(.ctor*))
        QUAD(0)
        dtors_GLOBAL = .;
        *(SORT(.dtor*))
        QUAD(0)
        FILL(0x90)
    }

    .data ALIGN (4) :
    {
        *(.data*)
        FILL(0x00)
    }

    .bss ALIGN (4) :
    {
        *(COMMON*)
        *(.bss*)
    }

    /* Strip unnecessary stuff */
    /DISCARD/ : { *(.comment .note* .eh_frame) } /* FIXME: eh_frame is needed
for dwarf debug info! */
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to