summaryrefslogtreecommitdiffstats
path: root/ldso/include
Commit message (Collapse)AuthorAgeFilesLines
...
* make RUNPATH/RPATH support configurableMike Frysinger2005-07-071-0/+2
|
* need features.h for the misc attribute defines and uclibc featuresMike Frysinger2005-07-061-0/+1
|
* setup ELF_R_TYPE() wrapper for ELF{32,64}_R_TYPE()Mike Frysinger2005-07-061-0/+2
|
* use new __always_inline defineMike Frysinger2005-07-022-11/+11
|
* use new __always_inline defineMike Frysinger2005-07-021-2/+2
|
* create generic ELF_* macros to hide 32/64 bit differencesMike Frysinger2005-06-301-0/+20
|
* whitespace tweaksMike Frysinger2005-06-302-17/+16
|
* change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the ↵Mike Frysinger2005-06-303-4/+4
| | | | bitsize
* typecast to long instead of int so pointers on 64bit arches can be typecast ↵Mike Frysinger2005-06-301-2/+2
| | | | safely
* The function '_dl_memset' should always be inlined regardless of the"Steven J. Hill"2005-06-301-14/+14
| | | | | | | | optimization level chosen. This allows uClibc to be compiled with the latest GCC-4.1.0. While tracking down the specific culprit causing the segmentation fault of the dynamic loader with GCC-4.1.0 I was able to force inlining of other functions such that I shaved 512 bytes off the size of the loader, yay. Also fixed warning in 'dl-hash.c'.
* move _dl_if_debug_dprint() to shared ldso headerMike Frysinger2005-06-251-3/+7
|
* create some DEBUG macros for the ld debug earlyMike Frysinger2005-06-251-1/+9
|
* whitespace/syntax cleanupsMike Frysinger2005-06-251-45/+46
|
* Initial support for both RUNPATH support.Joakim Tjernlund2005-06-011-0/+4
| | | | | | RPATH sematics changed to match RUNPATH. Only difference is that RPATH is searched before LD_LIBRARY_PATH and RUNPATH after. This is not complete but better than the current mess(I think).
* Fix debug macros.Joakim Tjernlund2005-05-201-5/+6
|
* Get rid of extern references to ldso variables."Steven J. Hill"2005-04-271-2/+0
|
* Add missing definition for DL_OPENEDEric Andersen2005-04-131-4/+5
|
* On some wierd arches (i.e. mips), none of the early debug stuffEric Andersen2005-04-131-0/+10
| | | | works at all, so disable the whole lot.
* Don't write out the terminating NULL charEric Andersen2005-04-131-2/+2
|
* Rework the dl-startup.c ldso early debugging macros to beEric Andersen2005-04-131-38/+54
| | | | significantly less horrible
* Moved the addition of load address from the fast pathJoakim Tjernlund2005-03-292-4/+17
| | | | | 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-6/+0
|
* Cleanup for when LDSO_CACHE_SUPPORT is disabledEric Andersen2004-12-221-3/+4
|
* - added LD_TRACE_LOADED_OBJECTS to be stripped from the env on suid execNed Ludd2004-12-201-0/+1
|
* - dont use dos formatNed Ludd2004-12-201-26/+25
|
* Partial commit of a patch from Alexandre Oliva:Eric Andersen2004-12-111-0/+8
| | | | | | | | | | 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 RTLD_LOCAL support for dlopened libs. Reported byJoakim Tjernlund2004-11-101-2/+2
| | | | | | | 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.
* - Remove dynamic_size from struct elf_resolve.Joakim Tjernlund2004-11-022-9/+51
| | | | | | | | | | - 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.
* Mark Rakes writes:Joakim Tjernlund2004-10-121-4/+5
| | | | | | | | | without LDSO_CACHE_SUPPORT turned on, LDSO_CONF and LDSO_CACHE are not defined anywhere, but still used by ldconfig.c This patch allows ldconfig to build again, although there may be a cleaner way to fix this???? Applied with minor modification.
* Remove usage of _dl_parse_copy_information() from generic code.Joakim Tjernlund2004-10-072-7/+4
| | | | | | 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.
* Peter S. Mazinger writes:Joakim Tjernlund2004-10-061-0/+26
| | | | | | Hello! Here is the modified unsecvars patch that applies to cvs.
* Puts common defines into dl-defs.h (in ldso/include) from dl-elf.h andJoakim Tjernlund2004-10-062-34/+45
| | | | | | 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. >
* Second attempt to fix the INIT/FINI order. This time I think I got it right :)Joakim Tjernlund2004-09-082-3/+9
| | | | This needs testing with apps that have complex dependencies.
* First attempt to fix the INIT/FINI ordering. Fingers crossed :)Joakim Tjernlund2004-09-032-0/+9
|
* Remove unused variables. From Peter Mazinger.Joakim Tjernlund2004-09-021-2/+0
|
* 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.
* Remove poor man's malloc. Not needed anymore.Joakim Tjernlund2004-08-191-2/+1
|
* Move "debug_addr" ptr from dl-startup.c to ldso.cJoakim Tjernlund2004-08-191-1/+1
|
* Move the app specific stuff from dl-startup.c to ldso.c.Joakim Tjernlund2004-08-191-2/+1
|
* Let ldso decide if it should relocate itselft a second time. ThisJoakim Tjernlund2004-08-171-1/+1
| | | | | | | is needed if ldso should use libcs malloc whenever possible. Fix RTLD_LAZY propagation to RTLD_NOW relocation when requested by libdl.
* Fixup PAGE_SIZE problemsEric Andersen2004-08-131-5/+1
| | | | -Erik
* Optimze _dl_memset() for PowerPC.Joakim Tjernlund2004-08-101-0/+28
| | | | | Other arches may also benefit from this iff it can do unaligned stores.
* Forgot _dl_memcpy in previous checkin.Joakim Tjernlund2004-08-101-5/+6
|
* _dl_strlen,_dl_strcat,_dl_strcpy,_dl_strcmp,_dl_strncmp,Joakim Tjernlund2004-08-101-36/+28
| | | | | | _dl_strchr,_dl_strrchr,_dl_strstr,_dl_memcmp: Optimize for archs which can do pre increment/decrement and load/store in one instruction.
* _dl_get_last_path_component:Joakim Tjernlund2004-08-101-31/+19
| | | | | | | | handle "" strings and optimze it. _dl_simple_ltoa,_dl_simple_ltoahex: Optimize for archs which can do pre increment/decrement and load/store in one instruction.
* Teach libdl to use normal libc symbols whenever possible, i.e. mallocEric Andersen2004-07-302-3/+6
| | | | | rather than _dl_malloc, fprintf rather than _dl_printf, etc. -Erik
* Revert this stuff for nowEric Andersen2004-07-161-1/+1
|
* Sigh. I got things working this morning, then checked stuff in from the wrongEric Andersen2004-07-141-1/+0
| | | | | tree. Bad boy, No doughnut. -Erik
* Based on a patch from Alexandre Oliva, make sure _dl_malloc returns a nicelyEric Andersen2004-07-141-0/+1
| | | | aligned pointer that may be aligned up to page_size. Also add _dl_free,