Descriptionliblink, cmd/5l: restore flag_shared
CL 56120043 fixed and cleaned up TLS on ARM after introducing liblink, but
left flag_shared broken. This CL restores the (unsupported) flag_shared
behaviour by simply rewriting access to $runtime.tlsgm(SB) with
runtime.tlsgm(SB), to compensate for the extra indirection when going from
the R_ARM_TLS_LE32 relocation to the R_ARM_TLS_IE32 relocation.
Also, remove unnecessary symbol lookup left after 56120043.
Patch Set 1 #Patch Set 2 : diff -r 7d1281494058 https://code.google.com/p/go #Patch Set 3 : diff -r 7d1281494058 https://code.google.com/p/go #
Total comments: 1
Patch Set 4 : diff -r 7d1281494058 https://code.google.com/p/go #Patch Set 5 : diff -r 7d1281494058 https://code.google.com/p/go #
MessagesTotal messages: 11
|