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

            Bug ID: 29093
           Summary: version script does not support [chars] wildcards
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: ema...@freebsd.org
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

GNU ld supports [chars] wildcards in version scripts, to match a single
instance of any of the chars. I encountered this on FreeBSD building GNU
libstdc++ (which is not used in the base system on x86-64, but is on MIPS). A -
may be used to specify a range of characters (e.g. [a-z]) and ^ inverts the
sense (so any character not in the set, e.g. [^a-z]).

Here is an excerpt from libstdc++'s version script in FreeBSD:

    extern "C++"
    {
...
      std::locale::_[T-Za-z]*;                                                 
#     std::[A-Zm-r]*;                                                          
      std::[A-Zm]*;                                                            
      std::n[^u]*;                                                             
      std::nu[^m]*;                                                            
      std::num[^e]*;                                                           
...
    }

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