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

            Bug ID: 31335
           Summary: We fail to detect that '.' moved backwards
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: rafael.espind...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Given

SECTIONS { .text 0x2000 : {. = 0x100 ; *(.text) } }

lld will compute the size of text as 0x100 - 0x2000 and then try to create a
really large file.

bfd actually accepts this. I am not entirely sure what it does with it. We
should at least produce a better error message.

-- 
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