logoalt Hacker News

okanattoday at 1:32 AM1 replyview on HN

> The C compiler doesn't really care as much.

Until you define a thread local variable (C11) or use atomics (also C11) or define a global with an initial value. Then it happily generates code that depends on "whatever my target glibc + ld-linux.so needs".


Replies

ueckertoday at 1:48 AM

It depends on functions defined in a standardized ABI.

show 1 reply