iOS progress

Dan Olson via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Feb 18 08:29:22 PST 2015


Jacob Carlborg <doob at me.com> writes:

> On 2015-02-17 19:10, Dan Olson wrote:
>
>> iOS has a stub tlv_initializer() so nothing gets done automatically. I
>> had to change threadLocalVariables.c to include working tlv_initializer
>> for __arm__.
>
> You can't implement that stub because it's in dyld? Or is it possible
> to override?

My thought would be that libdyld.dylib is statically linked to its
__arm__ stubbed tlv_initializer so my modified version can't override.

See

http://www.opensource.apple.com/source/dyld/dyld-353.2.1/src/dyldAPIsInLibSystem.cpp

and

http://www.opensource.apple.com/source/dyld/dyld-353.2.1/src/threadLocalVariables.c



More information about the digitalmars-d-ldc mailing list