[llvm-bugs] [Bug 24520] New: Section names containing forward slash	are rejected
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Thu Aug 20 03:25:10 PDT 2015
    
    
  
https://llvm.org/bugs/show_bug.cgi?id=24520
            Bug ID: 24520
           Summary: Section names containing forward slash are rejected
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: michael.m.kuperstein at intel.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified
This is accepted by gcc, but rejected by clang:
void foo() {
  asm volatile(
    ".section bar/buzz\n"
    );
}
I'm not sure whether this is a bug on our side or in gcc. The gas documentation
explicitly says which characters can appear in a symbol names (and slashes are
not on the list), but it's not clear whether this applies to section names.
This isn't a purely theoretical concern, since SeaBIOS actually uses __FILE__
when constructing section names.
-- 
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/20150820/2a941c36/attachment.html>
    
    
More information about the llvm-bugs
mailing list