[cfe-commits] r68363 - in /cfe/trunk: include/clang/Basic/TargetInfo.h lib/Basic/Targets.cpp lib/CodeGen/CodeGenModule.cpp test/CodeGen/darwin-string-literals.c

Mike Stump mrs at apple.com
Thu Apr 2 23:24:12 PDT 2009


On Apr 2, 2009, at 11:03 PM, Eli Friedman wrote:
> On Thu, Apr 2, 2009 at 10:45 PM, Daniel Dunbar <daniel at zuster.org>  
> wrote:
>>> Also, I'm kind of curious, why does this matter?  It's an internal
>>> symbol, nothing should be able to see it...
>>
>> You'd think! It matters because the name of the internal symbol on  
>> Darwin
>> influences the linker. Symbols prefixed with L have special  
>> behavior, which
>> I don't claim to fully understand...
>
> Wow, that's nasty... good to know, though.

http://sourceware.org/binutils/docs-2.19/as/Symbol-Names.html#Symbol-Names

It is a unix standard that has been around, of, just about forever.   
Kinda amazing to me see history getting so lost.  :-)



More information about the cfe-commits mailing list