summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
2006-01-19Frank Mehnert writes:Mike Frysinger
in ldso/ldso.c, function _dl_get_ready_to_run, the variable app_tpnt_tmp is not initialized. The function _dl_parse_dynamic_info() initializes some of their members but not all. For example, if the binary does _not_ contain a DT_TEXTREL record, it is possible that the condition if (app_tpnt->dynamic_info[DT_TEXTREL]) is nevertheless true and we therefore enter the following code path (ldso.c:270). My suggestion is to add _dl_memset(&app_tpnt_rel, 0, sizeof(app_tpnt_rel)); just behind the variable declarations of _dl_get_ready_to_run().
2006-01-19update sparc code using x86_64 as a templateMike Frysinger
2006-01-19first pass at updating sparc ldso with code from glibcMike Frysinger
2006-01-19update syscall macros so both ldso and libc can use themMike Frysinger
2006-01-19move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger
specific header file to make porting/updates a lot easier
2006-01-17cut out unused codeMike Frysinger
2006-01-17cleanup whitespaceMike Frysinger
2006-01-17since just about everyone uses return _dl_elf_main for START() now, make it ↵Mike Frysinger
the default
2006-01-14grab some more fixes from x86_64Mike Frysinger
2006-01-14m68k ldso works again (well, lazy relocation is broken atm)Mike Frysinger
2006-01-14add back in _dl_start_userMike Frysinger
2006-01-14fixup so we can at least get to the ldso Standalone execution stepMike Frysinger
2006-01-14Revert 13276, cache corrupted on x86Peter S. Mazinger
2006-01-14use regular headers rather than trying to get trickyMike Frysinger
2006-01-13fix up ability to rename ldsoMike Frysinger
2006-01-12fix a (very unlikely) page leakMike Frysinger
2006-01-11need to include bits/sysnum.h for all of our __NR_* defsMike Frysinger
2006-01-10support a few more relocation typesMike Frysinger
2006-01-09list more relocsMike Frysinger
2006-01-08other half of lazy relocation from glibc dl-trampolineMike Frysinger
2006-01-08patch by Jocke to fix up lazy relocationMike Frysinger
2005-12-27nlist should be unsigned, not signed, as it tracks # of elements in ↵Mike Frysinger
init_fini_list
2005-12-27revert debug "fix" since it isnt correct and previous version worksMike Frysinger
2005-12-16Remove all trailing ; after *_alias and change 2 to use weak_alias instead ↵Peter S. Mazinger
of __attribute__ ...
2005-12-15Fix static apps on linux 2.6. Linux clobbers r7 in 2.6, soJoakim Tjernlund
use r3 instead to pass _dl_fini.
2005-12-14fix signed/unsigned warnings and unused warningsMike Frysinger
2005-12-14 remove .oS tooMike Frysinger
2005-12-11Fix debugging."Steven J. Hill"
2005-12-10Remove trailing ';' from strong_alias, thx Bernhard FischerPeter S. Mazinger
2005-11-28Added .oS asm targets and make ldso build w/ -DSHARED (needed by nptl)Peter S. Mazinger
2005-11-23change to Lesser GPL 2.1 as pointed out by psmMike Frysinger
2005-11-22Depedencies corrected (less make oldconfig/headers), rerunning make remakes ↵Peter S. Mazinger
only headers
2005-11-22rework depends and stripping so that libraries arent rebuilt all the time in ↵Mike Frysinger
a loop
2005-11-22remove headers_done since it broke buildroot againMike Frysinger
2005-11-22add some copyright infoMike Frysinger
2005-11-21Remove TOPDIRPeter S. Mazinger
2005-11-21Do not create any files (dl-progname.h) in ldso anymorePeter S. Mazinger
2005-11-21Partly undo earlier patch on vapier's requestPeter S. Mazinger
2005-11-21Guard debug_sym/debug_reloc, make sure elfinterp.c sees __SUPPORT_LD_DEBUG__Peter S. Mazinger
2005-11-21Do not create header links, use -I to find them. Moved dl-progname.h to ↵Peter S. Mazinger
ldso/ldso, that will exist if top_srcdir != top_builddir.
2005-11-20fix up ifdef checks so dl_iterate_phdr is defined in all the proper objectsMike Frysinger
2005-11-18make -j2 works herePeter S. Mazinger
2005-11-18Add info to CFLAGS about lib we are buildingPeter S. Mazinger
2005-11-17Include all lib*/Makefile.in in top_srcdir/Makefile.in, allows adding ↵Peter S. Mazinger
foreign objects to a lib
2005-11-17Use -z relro/-z now on all libs, add some new variables needed later, move ↵Peter S. Mazinger
common ldso/libdl parts to Rules.mak, remove strip from all TARGET_ARCH
2005-11-09update licenseMike Frysinger
2005-11-06Do not set the RELOCS_DONE flag until it is actually done. This order ↵"Steven J. Hill"
matters for NPTL libpthreads to work. Well, that was a nice waste of 3 hours.
2005-11-02Don't need this debug check anymore.Joakim Tjernlund
2005-11-02psm missed a spot :)Joakim Tjernlund
2005-11-02Move __SSP__ check to headerPeter S. Mazinger