summaryrefslogtreecommitdiffstats
path: root/ldso
Commit message (Collapse)AuthorAgeFilesLines
...
* Use constant pool instead of and adr Khem Raj2006-11-211-15/+11
| | | | instruction in unoptimized builds and thumb: thanks Paul Brook
* Bernd Schmidt writes: [blackfin updates] add support for FDPIC and include ↵Mike Frysinger2006-11-177-0/+1605
| | | | L1 functions
* Bernd Schmidt writes:Mike Frysinger2006-11-172-2/+7
| | | | | | | This reintroduces a mechanism identical to the DL_BOOT macro present in older versions of uClibc. On Blackfin and FRV, we want to pass more than one argument to _dl_start. We also want to do something special before returning, so delete the warning when the START macro is defined.
* revert rev 16527 changes to ldso/ldso/dl-hash.cEric Andersen2006-11-161-42/+20
|
* Paul Brook writes:Eric Andersen2006-11-161-5/+9
| | | | | | | | | | | | The patch below fixes a bug in the new ARM _ld_linux_resolve implementation. I'm don't know if/how the current implementation was tested, but it's completely broken. This patch makes the prologue and epilogue agree on how big the stack frame is, and also makes sure EABI doubleword stack alignment is preserved. Tested on arm-linux-gnueabi.
* This change reimplements the ARM _dl_linux_resolve entry point - this isEric Andersen2006-11-103-53/+192
| | | | | | | called to resolve DLL PLT entries. The assembler is changed to be thumb compatible and slightly faster, the C function, _dl_linux_resolver (note the extra r) is changed to take a byte address in place of an 8 byte count (faster in caller and callee, and slightly easier to understand).
* arm thumb:Eric Andersen2006-11-101-0/+35
| | | | | | | | | | | | | | | | | | | | | | Put the call_via_rx code into each executable - call_via_ip cannot possibly work if called through the PLT! ldso requires this code too as it is not linked with the crt stuff and thumb ldso does make calls via a register. The patch puts the code into crti.S so that it is linked into every normally built application (if thumb or interworking is selected). This is only 30 extra bytes and it works - the previous code did not because nothing both implemented and exported the APIs (they were in libgcc, but not in the version script). crti.S and crtn.S is also brought up to date with GCC 3.4.4 - this is essential for thumb support because the .init and .fini sections must use arm or thumb code to match the compilation of the libraries. Note that code which pushes stuff into .init or .fini must be compiled with or without -mthumb to match the uclibc compilation - and gcc itself (which does do this) must therefore be compiled to match.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-044-27/+224
| | | | | | 64bit MIPS ELF format tweaks. (from glibc) Elf32/ElfW convertions. asm code adjustments.
* Make _dl_linux_resolve interworking safe. Thanks Paul BrookKhem Raj2006-10-101-0/+6
|
* fixup from Bernd Schmidt to properly document DL_ADDR_TO_FUNC_PTRMike Frysinger2006-10-071-3/+9
|
* Bernd Schmidt writes:Mike Frysinger2006-10-072-10/+25
| | | | | | | | | | | This introduces a new SEND_EARLY_STDERR macro that is to be used in dl-startup.c before ld.so is relocated. It is needed on Blackfin (and frv) FDPIC since we have to use special tricks to get the address of a string constant. EARLY_STDERR_SPECIAL gets defined on such a machine and prevents printing of debug strings inside the loop that relocates ld.so, since we can't decide which of the two variants to use.
* Don't use r10 to find PIC base. In GCC 4.1.1 onwards ARM PIC handling uses ↵Khem Raj2006-10-071-5/+29
| | | | pseudo register for PIC base so load and relocate it.
* merge some more FDPIC related fixes from Bernd SchmidtMike Frysinger2006-09-196-16/+27
|
* patch from Bernd Schmidt to abstract away initializing of relocation addressesMike Frysinger2006-07-057-46/+84
|
* patch from Bernd Schmidt to abstract away initializing of prog load addressesMike Frysinger2006-07-052-1/+9
|
* convert #if 0 code to _dl_if_debug_print()Mike Frysinger2006-07-051-11/+8
|
* patch from Bernd Schmidt to abstract away load address typesMike Frysinger2006-07-058-13/+25
|
* patch from Bernd Schmidt to abstract away load address checksMike Frysinger2006-07-052-7/+18
|
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-051-2/+1
| | | | I had clearly run search/replace on that were cluttering things up.
* update licenseMike Frysinger2006-07-057-144/+45
|
* missed an ElfW(Addr) changeMike Frysinger2006-07-051-1/+1
|
* patch from Bernd Schmidt to abstract away load addressesMike Frysinger2006-07-052-3/+12
|
* use ElfW(Addr) in more placesMike Frysinger2006-07-054-19/+14
|
* revert fdpic patch so we can merge it in bit by bitMike Frysinger2006-07-059-167/+78
|
* Bernd Schmidt writes: abstract away addresses so we can support FDPIC ELFsMike Frysinger2006-06-309-78/+167
|
* Bernd Schmidt writes: too many semicolons!Mike Frysinger2006-06-301-1/+1
|
* eat extraneous ; and insert some whitespace where it belongsMike Frysinger2006-06-1912-53/+53
|
* eat whitespaceMike Frysinger2006-06-191-5/+3
|
* use unsigned long like every other port as pointed out by Peter S. MazingerMike Frysinger2006-06-072-4/+4
|
* add a note as to why mips is specialMike Frysinger2006-04-201-0/+4
|
* doh, forgot to copy the final \0Eric Andersen2006-04-121-1/+1
|
* micro-optimization -- we already know how long the source isEric Andersen2006-04-121-1/+1
|
* cleanup whitespaceEric Andersen2006-04-121-4/+4
|
* fixup a big 'ol memory leak in search_for_named_library()Eric Andersen2006-04-121-6/+20
|
* typo stderrrPeter S. Mazinger2006-03-241-1/+1
|
* forgotten to update gettimeofday here as wellPeter S. Mazinger2006-03-231-2/+6
|
* macro out the /10 operation so arches can have their own versions ... and ↵Mike Frysinger2006-03-0810-21/+11
| | | | create some default macros for do_rem/do_div_10 so we dont duplicate the samething in many arch header files
* Remove additional endif pointed out by vapierPeter S. Mazinger2006-03-071-2/+1
|
* Add UCLIBC_HAS_SSP_COMPAT option guarding gcc-3.x ssp supportPeter S. Mazinger2006-03-071-1/+9
|
* make all the warnings the same and add line #s so we can pick em out at runtimeMike Frysinger2006-03-022-9/+9
|
* kill spurious semicolonsMike Frysinger2006-03-021-12/+12
|
* clean out arch subdirs as wellMike Frysinger2006-03-021-1/+1
|
* Added support for the new CRISv32 architecture.Peter Kjellerstedt2006-02-233-31/+116
|
* Moved the definition of MMAP2_PAGE_SHIFT from ldso/ldso/cris/dl-syscalls.hPeter Kjellerstedt2006-02-231-2/+0
| | | | to libc/sysdeps/linux/cris/bits/uClibc_page.h where it belongs.
* Include bits/uClibc_page.h before dl-syscall.h as the latter mayPeter Kjellerstedt2006-02-231-2/+2
| | | | need the defines from the former.
* Specify a correct MMAP2_PAGE_SHIFT to use when calculating the offsetPeter Kjellerstedt2006-02-231-0/+2
| | | | for mmap2() on CRIS.
* Allow MMAP2_PAGE_SHIFT to be specified by the architecture specificPeter Kjellerstedt2006-02-231-1/+8
| | | | header files.
* A little clean up.Peter Kjellerstedt2006-02-231-18/+23
|
* sync with glibcMike Frysinger2006-02-221-0/+16
|
* Nicolas Bellido: switch up order of mmap preference to try and fix arm eabi ↵Mike Frysinger2006-02-221-27/+34
| | | | usage