summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
2006-02-23Specify a correct MMAP2_PAGE_SHIFT to use when calculating the offsetPeter Kjellerstedt
for mmap2() on CRIS.
2006-02-23Allow MMAP2_PAGE_SHIFT to be specified by the architecture specificPeter Kjellerstedt
header files.
2006-02-23A little clean up.Peter Kjellerstedt
2006-02-22sync with glibcMike Frysinger
2006-02-22Nicolas Bellido: switch up order of mmap preference to try and fix arm eabi ↵Mike Frysinger
usage
2006-02-22move _dl_mmap_check_error() to related mmap bits of code as pointed out by ↵Mike Frysinger
Nicolas Bellido
2006-02-18just let user decide CFLAGS instead of assuming stuff for himMike Frysinger
2006-02-18these defines are created for use in features.h so no point in duplicating ↵Mike Frysinger
work in the build system
2006-02-18make sure ldso is rebuilt if source files are updatedMike Frysinger
2006-02-15Add prototypesPeter S. Mazinger
2006-02-14after much deliberation, may i present Joseph S. Myers patch to add support ↵Mike Frysinger
for .init and .fini array processing for the gory details, see the mailing list: http://www.uclibc.org/lists/uclibc/2006-January/014079.html http://www.uclibc.org/lists/uclibc/2006-February/014285.html
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