summaryrefslogtreecommitdiffstats
path: root/ldso/include/dl-elf.h
Commit message (Collapse)AuthorAgeFilesLines
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-311-2/+2
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-091-7/+14
| | | | 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>
* Added GNU hash support to ld.soCarmelo Amoroso2007-11-191-2/+19
| | | | | | | | | | | 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>
* Check in all code for TLS relocations. There is still clean up that"Steven J. Hill"2006-08-211-0/+4
| | | | | needs to be done, but I would rather wait until after merging with the other architectures.
* Merge from trunk that gives us a valid NPTL dynamic loader and the start of ↵"Steven J. Hill"2005-11-291-0/+7
| | | | the new build system. I have probably another 300 and some files to go *sigh*.
* Finalize the merge from the trunk. There are more files to be"Steven J. Hill"2005-07-301-14/+40
| | | | merged, but they will be done manually.
* Moved the addition of load address from the fast pathJoakim Tjernlund2005-03-291-3/+17
| | | | | where possible. This will also make ldso smaller. However the patch touches all archs and I have only tested PPC and x86.
* - Remove dynamic_size from struct elf_resolve.Joakim Tjernlund2004-11-021-1/+48
| | | | | | | | | | - Replace all open coded dynamic handling with a function. Reduces size. - Fold special MIPS dynamic code into the dynamic_info item. - Add RELRO support. - Support linking with "-z now". - prepare for DT_RELACOUNT/DT_RELCOUNT optimization. - Add -z now to ld.so linking, this is what ld.so does anyway so let the linker know that.
* Remove usage of _dl_parse_copy_information() from generic code.Joakim Tjernlund2004-10-071-2/+0
| | | | | | Remove definition of _dl_parse_copy_information() for powerpc. Remaining archs can do the same. Make debugging output of "relocation processing: xxx" a bit more sane.
* Puts common defines into dl-defs.h (in ldso/include) from dl-elf.h andJoakim Tjernlund2004-10-061-34/+1
| | | | | | dl-cache.h and make use of it. Also disables the lib-path-redundancy check for the case the cache is not used. Makes use of _PRELOAD_FILE_SUPPORT. From Peter Mazinger.
* This patch from Mike Frysinger, extended from an earlier patch from Peter S.Eric Andersen2004-10-031-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mazinger implements the changes suggested by me on the uclibc list. On Tuesday 28 September 2004 02:24 pm, Erik Andersen wrote: > What I think should be done is > > *) Someone that cares about USE_CACHE should fix that option > up to be sure it works, and give it a proper config entry > in extra/Configs/Config.in, and rename it to something > more appropriate such as LDSO_CACHE_SUPPORT. > > *) When LDSO_CACHE_SUPPORT=n, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be included in the default library search path in > dl-elf.c, ldd, and ldconfig. > > *) When LDSO_CACHE_SUPPORT=y, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be excluded from the default library search path in > dl-elf.c, ldd, and ldconfig, and those wishing to include > X11 stuff should add that into /etc/ld.so.conf and re-run > ldconfig. > > *) At present, LDSO_CONF and LDSO_CACHE use the same names > and same structure as glibc. This precludes > LDSO_CACHE_SUPPORT being uses in any sane fashion on a > dial glibc and uClibc system. Just as it was necessary > for use to use a different name for 'libuClibc' rather > than 'libc', and 'ld-uClibc.so.0' rather than > 'ld-linux.so.2' it seems that these configuration files > really ought to be given different names. >
* Patch from Stefan Allius:Joakim Tjernlund2004-08-251-3/+3
| | | | | Remove unused function parameter in ldso. Remove echo option '-e' since it is not supported on Solaris.
* Let dl-string.h include dl-sysdep.h, since it has proper include guardsEric Andersen2004-06-201-1/+1
|
* Sigh. I switched the values...Eric Andersen2004-02-201-2/+2
|
* Slightly cleaner formattingEric Andersen2004-02-201-4/+4
|
* Joakim Tjernlund writes:Eric Andersen2004-02-141-0/+13
| | | | | | | | | | | | | | | | | | Hi it is me again. This is the latest ldso patch. the NEW weak symbol handling works now with a little special handling in _dl_find_hash(). You get to chose if you want the new or old handling :) There was 2 missing _dl_check_if_named_library_is_loaded() calls in _dlopen(). I then disabled the _dl_check_if_named_library_is_loaded() in dl-elf.c since it is rendundant. Question, why does some _dl_linux_resolver(), like i386, have 2 calls to _dl_find_hash()? I think that is wrong, isn't it? I really hope you can check this out soon ...
* Rework file naming, aiming for at least a vague level of consistancyEric Andersen2004-02-101-1/+1
|
* Step one, begin shuffling things around a bitEric Andersen2004-02-071-2/+5
|
* Modify interfaces for _dl_parse_relocation_information()Eric Andersen2004-01-291-5/+5
| | | | | | | _dl_parse_lazy_relocation_information() and _dl_parse_copy_information() so they are all consistant, allowing for future consolidation. Trim some trailing whitespace as well.
* Scrub up use of ELF_USES_RELOCA and eliminte some unsightly ifdefsEric Andersen2004-01-291-0/+9
|
* Eliminate separate passes for _dl_copy_fixups() and _dl_fixup(), andEric Andersen2004-01-291-1/+0
| | | | do both operations in a single pass.
* Rework the config system. Better utilize the Kconfig languageEric Andersen2003-11-041-3/+3
| | | | | which should simplify enabling arbitrary architectures. -Erik
* Always build and install ldconfigEric Andersen2003-10-121-1/+2
|
* Weed out duplicates before trying to load libraries.... DelayedEric Andersen2003-08-311-0/+1
| | | | | checking for duplicates and returning an alias if an existing lib is already loaded is still correct for the dlopen case.
* Phase one of my evil plan to clean up ld.so...Eric Andersen2003-08-191-0/+91