[llvm-bugs] [Bug 30387] New: cannot handle EXCLUDE_FILE in the middle of a input section description

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 14 12:00:21 PDT 2016


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

            Bug ID: 30387
           Summary: cannot handle EXCLUDE_FILE in the middle of a input
                    section description
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

We fail to parse

SECTIONS
{
  foo :
  {
    *(sec0 EXCLUDE_FILE (zed1.o) sec1  EXCLUDE_FILE (zed2.o) sec2 )
  }
}

The semantics according to bfd are:

* Include sec1 from every file but zed1.o
* Include sec2 from every file but zed2.o
* Include sec0 from every file

-- 
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/20160914/1291bc40/attachment.html>


More information about the llvm-bugs mailing list