summaryrefslogtreecommitdiff
path: root/ldso/include
AgeCommit message (Collapse)Author
2005-08-29some fixes by anemo in Bug 9 to play nicely with 32 or 64 bit hostsMike Frysinger
2005-08-15Just quote the whole darn thing so we can print any error msg we wantEric Andersen
2005-08-15remove quote char which doesnt belongMike Frysinger
2005-08-15move arch-specific checks out of shared dl-syscall.h and into arch-specific ↵Mike Frysinger
dl-syscalls.h
2005-08-12Remove hardcoded ld-uClibc.so.0 name in ldso.Joakim Tjernlund
2005-08-09disable early debug code if the arch relies on certain values (like ↵Mike Frysinger
load_addr) which are computer later
2005-07-13oops, fix typo in ELF_ST_BIND macrosMike Frysinger
2005-07-13use Elf32_Word instead of uint32_t since that is what the ELF spec refers toMike Frysinger
2005-07-11force hash buckets to work off of 32bit quantitiesMike Frysinger
2005-07-11create a new wrapper macro for debug early outputMike Frysinger
2005-07-11make sure the SEND_NUMBER_STDERR macro doesnt modify the number given to itMike Frysinger
2005-07-09we need the syscall6() version of mmapMike Frysinger
2005-07-08need _DEBUG macros for NUMBER tooMike Frysinger
2005-07-07clean up whitespaceMike Frysinger
2005-07-07make RUNPATH/RPATH support configurableMike Frysinger
2005-07-06need features.h for the misc attribute defines and uclibc featuresMike Frysinger
2005-07-06setup ELF_R_TYPE() wrapper for ELF{32,64}_R_TYPE()Mike Frysinger
2005-07-02use new __always_inline defineMike Frysinger
2005-07-02use new __always_inline defineMike Frysinger
2005-06-30create generic ELF_* macros to hide 32/64 bit differencesMike Frysinger
2005-06-30whitespace tweaksMike Frysinger
2005-06-30change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the ↵Mike Frysinger
bitsize
2005-06-30typecast to long instead of int so pointers on 64bit arches can be typecast ↵Mike Frysinger
safely
2005-06-30The function '_dl_memset' should always be inlined regardless of the"Steven J. Hill"
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'.
2005-06-25move _dl_if_debug_dprint() to shared ldso headerMike Frysinger
2005-06-25create some DEBUG macros for the ld debug earlyMike Frysinger
2005-06-25whitespace/syntax cleanupsMike Frysinger
2005-06-01Initial support for both RUNPATH support.Joakim Tjernlund
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).
2005-05-20Fix debug macros.Joakim Tjernlund
2005-04-27Get rid of extern references to ldso variables."Steven J. Hill"
2005-04-13Add missing definition for DL_OPENEDEric Andersen
2005-04-13On some wierd arches (i.e. mips), none of the early debug stuffEric Andersen
works at all, so disable the whole lot.
2005-04-13Don't write out the terminating NULL charEric Andersen
2005-04-13Rework the dl-startup.c ldso early debugging macros to beEric Andersen
significantly less horrible
2005-03-29Moved the addition of load address from the fast pathJoakim Tjernlund
where possible. This will also make ldso smaller. However the patch touches all archs and I have only tested PPC and x86.
2005-02-12no more cvsMike Frysinger
2004-12-22Cleanup for when LDSO_CACHE_SUPPORT is disabledEric Andersen
2004-12-20- added LD_TRACE_LOADED_OBJECTS to be stripped from the env on suid execNed Ludd
2004-12-20- dont use dos formatNed Ludd
2004-12-11Partial commit of a patch from Alexandre Oliva:Eric Andersen
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,
2004-11-10Add RTLD_LOCAL support for dlopened libs. Reported byJoakim Tjernlund
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.
2004-11-02- Remove dynamic_size from struct elf_resolve.Joakim Tjernlund
- 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.
2004-10-12Mark Rakes writes:Joakim Tjernlund
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.
2004-10-07Remove usage of _dl_parse_copy_information() from generic code.Joakim Tjernlund
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.
2004-10-06Peter S. Mazinger writes:Joakim Tjernlund
Hello! Here is the modified unsecvars patch that applies to cvs.
2004-10-06Puts common defines into dl-defs.h (in ldso/include) from dl-elf.h andJoakim Tjernlund
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.
2004-10-03This patch from Mike Frysinger, extended from an earlier patch from Peter S.Eric Andersen
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. >
2004-09-08Second attempt to fix the INIT/FINI order. This time I think I got it right :)Joakim Tjernlund
This needs testing with apps that have complex dependencies.
2004-09-03First attempt to fix the INIT/FINI ordering. Fingers crossed :)Joakim Tjernlund
2004-09-02Remove unused variables. From Peter Mazinger.Joakim Tjernlund