Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Import jemalloc a8f8d7540d66ddee7337db80c92890916e1063ca (dev branch, | jasone | 2012-04-22 | 1 | -12/+12 |
| | | | | | | | | | prior to 3.0.0 release). This fixes several bugs related to memory initialization. Mangle __jemalloc_a0{malloc,calloc,free}() just like all the other library-internal symbols in jemalloc, and adjust the tls allocation code in libc to use the mangled names. | ||||
* | Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch, | jasone | 2012-04-17 | 1 | -9/+14 |
| | | | | | | | | prior to 3.0.0 release) as contrib/jemalloc, and integrate it into libc. The code being imported by this commit diverged from lib/libc/stdlib/malloc.c in March 2010, which means that a portion of the jemalloc 1.0.0 ChangeLog entries are relevant, as are the entries for all subsequent releases. | ||||
* | - Switch ARM and MIPS to TLS Variant I | gonzo | 2012-03-06 | 1 | -3/+10 |
| | | | | | | - Fix TLS allocation for Variant I: both rtld and libc allocators assume that tls_static_space includes space for TLS structure. So increment calculated static size by the size of it. | ||||
* | The static TLS size as given by tls_static_space includes TLS_TCB_SIZE | marcel | 2010-02-16 | 1 | -2/+2 |
| | | | | bytes of TCB in variant I. | ||||
* | o Add MIPS to the list of architectures with defined TLS_TCB_ALIGN | gonzo | 2008-04-29 | 1 | -2/+2 |
| | | | | | | o Stick with TLS Variant II for MIPS for the moment. Approved by: imp | ||||
* | Don't assert() the TLS allocation requested is big enough; just | kientzle | 2007-02-25 | 1 | -2/+2 |
| | | | | | | fix the argument. In particular, this is a step towards breaking crt1's dependence on stdio. | ||||
* | Fix TLS on sparc64 for statically and dynamically linked binaries | kmacy | 2006-10-08 | 1 | -1/+10 |
| | | | | | Approved by: rwatson (mentor) Reviewed by: jmg and marcel | ||||
* | Fix style(9) in code copied from rtld. | marcel | 2006-09-01 | 1 | -3/+3 |
| | |||||
* | Fix the variant I allocation for KSE: Allow a larger TCB and assume | marcel | 2006-09-01 | 1 | -46/+37 |
| | | | | | that the documented TCB is at the tail of the extended TCB. In other words, the base of the TCB has a negative offset from the TLS. | ||||
* | Remove stale comment about arm | imp | 2006-07-26 | 1 | -2/+0 |
| | |||||
* | Allocate space for thread pointer, this allows thread library to access | davidxu | 2006-03-28 | 1 | -3/+3 |
| | | | | its pointer from begin, and simplifies _get_curthread() in libthr. | ||||
* | Use __weak_reference macro to define weak symbols. | davidxu | 2005-03-21 | 1 | -31/+51 |
| | |||||
* | Fix incorrect comment. | davidxu | 2005-03-01 | 1 | -1/+1 |
| | |||||
* | Mark _rtld_allocate_tls and _rtld_free_tls as weak symbols for Variant I | davidxu | 2005-02-26 | 1 | -0/+5 |
| | | | | | | tls. Reviewed by: dfr | ||||
* | Arbitraly choose the Variant II for arm. | cognet | 2004-09-23 | 1 | -1/+2 |
| | |||||
* | Make sure we allocate at least enough space for the TCB for variant I TLS. | dfr | 2004-08-23 | 1 | -0/+2 |
| | | | | MFC after: 3 days | ||||
* | Always allocate a TLS area even if its empty - libpthread relies on | dfr | 2004-08-18 | 1 | -7/+4 |
| | | | | | | having a valid %gs when it initialises. MFC after: 2 days | ||||
* | Add support for TLS in statically linked programs. | dfr | 2004-08-15 | 1 | -2/+225 |
| | |||||
* | Add stubs for TLS functions. These will be replaced at runtime by the | dfr | 2004-08-03 | 1 | -0/+69 |
functional versions in rtld. |