diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-23 17:04:31 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-23 17:04:31 -0400 |
commit | 5f51d529155429e607c5c51d5d461b0b98e6be52 (patch) | |
tree | 3f097bdc17e0a037739d3599de256d799e78bdd9 /tools | |
parent | f109781c16b0cf82cf6bf523ff77ab98a023a999 (diff) | |
download | musl-5f51d529155429e607c5c51d5d461b0b98e6be52.tar.gz musl-5f51d529155429e607c5c51d5d461b0b98e6be52.tar.xz musl-5f51d529155429e607c5c51d5d461b0b98e6be52.zip |
make __init_tp function static when static linking
this slightly reduces the code size cost of TLS/thread-pointer for static linking since __init_tp can be inlined into its only caller and removed. this is analogous to the handling of __init_libc in __libc_start_main, where the function only has external linkage when it needs to be called from the dynamic linker.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions