> This was improved in ld64-234.

Awesome! Is it shipping already?

> The linker tries to merge NS/CFString objects in case two files each use the 
> same @“” string.
> But to merge the objects the linker must know what string they point to.  
> Currently, NS/CFString
> objects can point to UTF8 strings in __cstring or UTF16 strings in __ustring 
> section.
> When the linker saw a NS/CFString object point to a string in some other 
> section, it would
> assert.  The recent improvement was to have the linker just consider the 
> NS/CFString to
> be unmergable in that case.

Cool. I committed r199688 with a workaround. I am currently testing a
change to remove the old hack and let us use L labels again.

Cheers,
Rafael

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to