summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
2006-02-01disable lazy code for nowMike Frysinger
2006-01-31s:THUMB_INTERWORK:USE_BX:, thx Khem RajPeter S. Mazinger
2006-01-31John Bowler says: use (!thumb) instead of (arm) since thumb defines armMike Frysinger
2006-01-31John Bowler writes in Bug 385:Mike Frysinger
This patch changes all cases where the ARM assembler mov pc,rx instructions are used to ensure that the thumb/arm interwork change of process more works - in essence mov pc,rx needs to become bx rc. The ldr pc or ldm rx, {pc} instructions are not changed - this is fine on ARM >=v5 but will fail to restore thumb mode on ARM v4T, i.e. this code will not provide support for thumb on ARM v4T. One mov pc is left in resolve.S, this is fixed in a different patch - thumb-resolve.patch The changes are protected by __THUMB_INTERWORK__ - the original mov instruction will work on newer architectures and is required on arch v4 (not v4t) and earlier - those which did not support thumb - so this is safe. See gcc lib1asmfuncs for a more exact test.
2006-01-31John Bowler writes in Bug 385:Mike Frysinger
in various places defined(__arm__) is used to protect/select code which is ARM specific, that code must also be selected for __thumb__ because __thumb__ is an ARM but __arm__ is not set...
2006-01-30back to inline, mips failsPeter S. Mazinger
2006-01-29rename local i var to idx to get rid of shadow warningMike Frysinger
2006-01-29remove unneeded double reloc_type definitionMike Frysinger
2006-01-29change variable names so we dont shadow othersMike Frysinger
2006-01-29use diff variable names so we dont shadow each otherMike Frysinger
2006-01-29Bernhard Fischer writes: remove unused variable nameMike Frysinger
2006-01-29remove excess whitespaceMike Frysinger
2006-01-27use attribute_unused instead of hardcodedPeter S. Mazinger
2006-01-27Some warnings go awayPeter S. Mazinger
2006-01-26Get rid of missing prototype warningsPeter S. Mazinger
2006-01-24- use keywords __asm__ and __inline__ c99.Bernhard Reutner-Fischer
2006-01-23Make i386 build w/ -std=c99 (almost)Peter S. Mazinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-20fix building on alphaMike Frysinger
2006-01-19would help if i used the right variable name ...Mike Frysinger
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