Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add a __resp ptr for the no threads case | Austin Foxley | 2009-09-20 | 1 | -0/+1 |
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> | ||||
* | Readd the thread local version of __res_state | Austin Foxley | 2009-07-10 | 1 | -9/+0 |
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> | ||||
* | Sync nptl branch to master | Austin Foxley | 2009-07-09 | 1 | -0/+11 |
| | | | | | | | | | | | | | | Cherry picked these commits: afdfa59588: Do not install libc-XXX.h files fb863f7592: Make HARDWIRED_ABSPATH a config option e0c8160a38: Allow people to run hostutils targets without .config e0da861a29: Don't rely on features.h ac1087a727: Denis's resolv.c cleanup Pulled out the thread local __res_state in resolv. Will reapply it in a future commit. Signed-off-by: Austin Foxley <austinf@cetoncorp.com> | ||||
* | Use __UCLIBC_HAS_TLS__ (now available) as guard for TLS related | Carmelo Amoroso | 2009-02-20 | 1 | -2/+2 |
| | | | | | | | | stuff, instead of __UCLIBC_HAS_THREADS_NATIVE__. This is in preparation on trunk merge to make TLS compatible with LT (new) and NPTL. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | ||||
* | _res needs to be a macro (*__res_state()) having threads. | Carmelo Amoroso | 2009-02-19 | 1 | -4/+0 |
| | | | | | Revert latest change. | ||||
* | - whitespace cleanup; no obj-code changes (r24600) | Bernhard Reutner-Fischer | 2008-12-29 | 1 | -1/+1 |
| | |||||
* | Get non nptl threads compiled on x86. | Khem Raj | 2008-12-23 | 1 | -35/+72 |
| | |||||
* | BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵ | Carmelo Amoroso | 2008-07-09 | 1 | -0/+2 |
| | | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | ||||
* | Clean up '_res' such that it will now work for, NPTL, linuxthreads and | "Steven J. Hill" | 2006-01-15 | 1 | -1/+1 |
| | | | | | even no threads. Fix 'pthread_atfork' function and clean up duplicate of '__set_errno' that is not needed. | ||||
* | Make resolver state pointer '__resp' to be TLS variable. Again, these ↵ | "Steven J. Hill" | 2006-01-05 | 1 | -156/+165 |
| | | | | changes work for the threaded and non-threaded cases. | ||||
* | Rename option PTHREADS_NATIVE to be UCLIBC_HAS_THREADS_NATIVE instead. What ↵ | "Steven J. Hill" | 2005-09-24 | 1 | -1/+1 |
| | | | | a stupid name to start with. What idiot thought of that? | ||||
* | This will hopefully be the last modification to the resolver code for a ↵ | "Steven J. Hill" | 2005-08-12 | 1 | -5/+9 |
| | | | | while. The complexity comes from the code used only during library build time, to non-threaded programs to threaded programs such that things are not a mess. I was getting undefined '_res' when doing a buildroot, but things are fixed now. This is much cleaner and more sane. | ||||
* | Fixed up resolver and errno code such that both thread models can compile ↵ | "Steven J. Hill" | 2005-07-22 | 1 | -69/+71 |
| | | | | without stepping on each other. The original implementation pulled from glibc was done incorrectly and has been fixed. | ||||
* | Update structures and defines necessary to make resolver code thread | "Steven J. Hill" | 2005-06-03 | 1 | -0/+18 |
| | | | | | | safe for TLS and NPTL. Our name resolver code is so out of date, we made not be able to correctly utilize it in multi-threaded programs compiled with NPTL. | ||||
* | Fixup struct _res handling so apps using struct _res can actually | Eric Andersen | 2002-08-19 | 1 | -3/+2 |
| | | | | | compile ("worst standard ever!") -Erik | ||||
* | Remove thread-specific stuff entirely. | Miles Bader | 2002-08-16 | 1 | -16/+5 |
| | |||||
* | (_res): Define as a macro if __UCLIBC_HAS_THREADS__ is defined, | Miles Bader | 2002-08-16 | 1 | -3/+9 |
| | | | | regardless of _LIBC. | ||||
* | Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__ | Eric Andersen | 2002-08-16 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | The resolver is still using the old API so we cannot use the new resolver | David McCullough | 2002-01-17 | 1 | -1/+2 |
| | | | | version numbers or apps get confused. | ||||
* | Rev all the header files to sync things with glibc 2.2.4 | Eric Andersen | 2001-09-27 | 1 | -66/+354 |
| | |||||
* | Added __BEGIN_DECLS and __END_DECLS to the files that didn't have | David McCullough | 2001-07-11 | 1 | -0/+4 |
| | | | | | | it and that I could see needed it. Should be pretty low impact as these are only defined when using C++. | ||||
* | Cleanup some stupid warnings | Eric Andersen | 2001-05-31 | 1 | -11/+0 |
| | |||||
* | Added res_init and res_query | David McCullough | 2001-02-26 | 1 | -0/+4 |
| | |||||
* | Fix up the set of include files pulled into resolv.h | Eric Andersen | 2001-02-03 | 1 | -1/+9 |
| | |||||
* | Lots and lots of cleanups. | Eric Andersen | 2000-07-06 | 1 | -4/+4 |
| | | | | -Erik | ||||
* | Initial revision0_9_1 | Erik Andersen | 2000-05-14 | 1 | -0/+85 |