summaryrefslogtreecommitdiffstats
path: root/ldso/libdl
Commit message (Collapse)AuthorAgeFilesLines
* ldso: clean up breakage in tls mergeMike Frysinger2009-10-161-25/+14
| | | | | | | | | | | The TLS merge 534661b91c9849 introduced multiple style problems as well as random breakage: - missing _dl_free - incomplete parametrization of _dl_lookup_hash - restore FDPIC handling in _dl_lookup_hash Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fix coding styleBernhard Reutner-Fischer2009-10-161-25/+16
| | | | | | | TODO: use likely/unlikely Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* tls: test for DTV vs TCB at TP correctlyAustin Foxley2009-09-231-2/+2
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* guard tls.h includeAustin Foxley2009-09-201-0/+3
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-191-0/+2
| | | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk: miscellaneous changes, mostly cleanup,Carmelo Amoroso2009-01-221-9/+9
| | | | | | | code styling, comments. No object-code changes. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* simple optimizations and style fixes in dynamic loadingDenis Vlasenko2009-01-101-28/+30
| | | | | | | | | | | text data bss dec hex filename - 16709 240 92 17041 4291 lib/ld-uClibc.so + 16634 236 92 16962 4242 lib/ld-uClibc.so - 4602 344 4 4950 1356 lib/libdl-0.9.30-svn.so + 4571 328 4 4903 1327 lib/libdl-0.9.30-svn.so - 4602 344 4 4950 1356 lib/libdl.so + 4571 328 4 4903 1327 lib/libdl.so
* Synch with trunk @ 24160Carmelo Amoroso2008-11-271-2/+2
| | | | Step 13: build system updates.
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-091-33/+52
| | | | 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>
* Synch the whole build system. Also including recent fix on testsuite build ↵Carmelo Amoroso2008-07-091-3/+5
| | | | system
* Merge nptl branch tree with trunk. Carmelo Amoroso2008-03-161-2/+2
| | | | | | | Step 6: fix Makefiles to use $(VERSION) and the compiler-driver for the link stage Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge ldso tree with trunk. Carmelo Amoroso2008-03-052-25/+36
| | | | | | Step 1: basically code formatting and minor changes Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* This patch solves a problem in dladdr caused by the wrong valueCarmelo Amoroso2008-01-181-15/+44
| | | | | | | of elf_resolve's loadaddr field for the main application. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Removed #if USE_TLS guard around tls_tpnt, otherwise it will not compileCarmelo Amoroso2007-11-221-4/+1
| | | | | | | if TLS is disabled (once merged into the trunk) Pointed out by Peter Mazinger. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Added GNU hash support to ld.soCarmelo Amoroso2007-11-192-108/+141
| | | | | | | | | | | Added TLS support to sh4 Replaced _dl_find_hash implementation with sh4 based code. Merged some fixes into libdl.c Changes committes as requested by sjhill for the mips-sh4 nptl merge. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Add missing dl_error_names string for TLS relocation error. Submitted by ↵"Steven J. Hill"2007-03-051-0/+1
| | | | Khem Raj.
* Check in all code for TLS relocations. There is still clean up that"Steven J. Hill"2006-08-211-41/+358
| | | | | needs to be done, but I would rather wait until after merging with the other architectures.
* Merge from trunk."Steven J. Hill"2006-03-271-1/+1
|
* Merge from trunk that gives us a valid NPTL dynamic loader and the start of ↵"Steven J. Hill"2005-11-292-14/+9
| | | | the new build system. I have probably another 300 and some files to go *sigh*.
* Dynamic loader now builds with new build system. Fix problems with ↵"Steven J. Hill"2005-11-202-97/+12
| | | | 'dl-sysdep.h' and the loader that I should have caught a while ago.
* Sync up with trunk."Steven J. Hill"2005-11-191-2/+2
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-28/+36
|
* Massive merge from trunk."Steven J. Hill"2005-11-171-1/+1
|
* Copy from trunk."Steven J. Hill"2005-10-301-0/+51
|
* Add '-DSHARED' flag when building the shared 'libdl'."Steven J. Hill"2005-10-291-0/+3
|
* Sync with trunk."Steven J. Hill"2005-10-061-1/+1
|
* Bring in changes from trunk."Steven J. Hill"2005-10-041-9/+9
|
* Fix up build system for NPTL. I admit it is much cleaner now, but I lost my ↵"Steven J. Hill"2005-10-041-36/+46
| | | | entire Saturday fixing this $!#$!#@$T! up.
* Rename option PTHREADS_NATIVE to be UCLIBC_HAS_THREADS_NATIVE instead. What ↵"Steven J. Hill"2005-09-241-1/+1
| | | | a stupid name to start with. What idiot thought of that?
* More TLS stuff for ld.so."Steven J. Hill"2005-09-231-0/+3
|
* Finish merge from trunk."Steven J. Hill"2005-09-131-0/+7
|
* Sync with trunk."Steven J. Hill"2005-08-251-2/+3
|
* Merge/sync with trunk."Steven J. Hill"2005-08-172-1/+2
|
* Changes made to the dynamic loader for TLS/NPTL support. Additional changes ↵"Steven J. Hill"2005-08-091-1/+7
| | | | made to libpthread and libc for remaining support.
* Merge with latest changes from the trunk."Steven J. Hill"2005-08-042-26/+16
|
* Finalize the merge from the trunk. There are more files to be"Steven J. Hill"2005-07-301-98/+75
| | | | merged, but they will be done manually.
* Massive clean up of makefiles with a focus on being able to compile correctly"Steven J. Hill"2005-07-221-2/+8
| | | | | both thread library models. Items of interest are the 'Rules.mak' changes at the top level as well as the new 'Rules.mak' for the NPTL library.
* Fix dlopen to handle circular dependency libs. Wouldn't surprise me if ↵Joakim Tjernlund2005-04-231-5/+18
| | | | | | something else broke. I hate libdl :(
* Cleanup library loading.Joakim Tjernlund2005-04-231-16/+6
|
* Fix bug 214, reported by aurel. This is a major update thatJoakim Tjernlund2005-04-131-58/+107
| | | | | possibly break other apps. Please test. Send a LD_DEBUG=1 log if there is a problem.
* Moved the addition of load address from the fast pathJoakim Tjernlund2005-03-291-3/+3
| | | | | where possible. This will also make ldso smaller. However the patch touches all archs and I have only tested PPC and x86.
* no more cvsMike Frysinger2005-02-121-2/+0
|
* clean up dependencies so libraries are only rebuilt when needed and so that ↵Mike Frysinger2005-01-191-8/+5
| | | | parallel build works correctly
* Avoid compiler warnings.Peter Kjellerstedt2005-01-191-3/+3
|
* Fixup function prototypes to match definitions in include/dlfcn.hEric Andersen2005-01-101-2/+4
|
* fix eriks e-mail addressMike Frysinger2005-01-051-1/+1
|
* Cleaned up patch from Peter S. Mazinger adding support forEric Andersen2004-12-221-1/+1
| | | | | -fstack-protector and -fno-stack-protector-all security options
* Partial commit of a patch from Alexandre Oliva:Eric Andersen2004-12-111-1/+1
| | | | | | | | | | Here's an updated version of the patch I posted about a month ago. It leaves -nostdinc alone, and uses -print-file-name=include instead of -print-search-dirs to figure out where GCC's internal headers are. Please let me know whether there are any portions of this patch you'd like me to break into smaller pieces, to rework, or to give up trying to get into uClibc :-) Thanks,
* Add BIND NOW support to MIPS.Joakim Tjernlund2004-11-171-8/+10
| | | | | Mips did not honour the LD_BIND_NOW env. variable or the DT_BIND_NOW flag in the dynamic section.
* Add RTLD_LOCAL support for dlopened libs. Reported byJoakim Tjernlund2004-11-101-11/+25
| | | | | | | Andrew de Quincey, who has been most helpful getting this sorted out, thanks. Thanks also to Peter Mazinger who did alot of testing. Removed all traces of dl_parse_copy_information() since it is no longer used.