summaryrefslogtreecommitdiffstats
path: root/ldso/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Make powerpc use sys/syscall.h, instead of defining its own syscalls.Joakim Tjernlund2005-09-201-3/+0
|
* Remove unused function.Joakim Tjernlund2005-09-181-1/+0
|
* Fix bug 430 and reduce ldso size with 1KB :). Not sure if I need to use ↵Joakim Tjernlund2005-09-172-1/+9
| | | | | | fstat64, but I am sure someone will tell me.
* some fixes by anemo in Bug 9 to play nicely with 32 or 64 bit hostsMike Frysinger2005-08-292-4/+5
|
* Just quote the whole darn thing so we can print any error msg we wantEric Andersen2005-08-151-1/+1
|
* remove quote char which doesnt belongMike Frysinger2005-08-151-1/+1
|
* move arch-specific checks out of shared dl-syscall.h and into arch-specific ↵Mike Frysinger2005-08-151-2/+3
| | | | dl-syscalls.h
* Remove hardcoded ld-uClibc.so.0 name in ldso.Joakim Tjernlund2005-08-121-1/+0
|
* disable early debug code if the arch relies on certain values (like ↵Mike Frysinger2005-08-091-0/+1
| | | | load_addr) which are computer later
* oops, fix typo in ELF_ST_BIND macrosMike Frysinger2005-07-131-2/+2
|
* use Elf32_Word instead of uint32_t since that is what the ELF spec refers toMike Frysinger2005-07-131-4/+4
|
* force hash buckets to work off of 32bit quantitiesMike Frysinger2005-07-111-2/+2
|
* create a new wrapper macro for debug early outputMike Frysinger2005-07-111-5/+11
|
* make sure the SEND_NUMBER_STDERR macro doesnt modify the number given to itMike Frysinger2005-07-111-1/+2
|
* we need the syscall6() version of mmapMike Frysinger2005-07-091-1/+1
|
* need _DEBUG macros for NUMBER tooMike Frysinger2005-07-081-0/+2
|
* clean up whitespaceMike Frysinger2005-07-071-11/+9
|
* 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. >