summaryrefslogtreecommitdiffstats
path: root/ldso/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Blackfin FD-PIC patch 4/6.Bernd Schmidt2007-12-031-0/+7
| | | | Add a hash table for function descriptors on FD-PIC targets.
* Blackfin FD-PIC patch 3/6.Bernd Schmidt2007-12-033-2/+28
| | | | | | | | | | | | | | | Change _dl_find_hash to _dl_lookup_hash, as on the NPTL branch. _dl_find_hash is now a wrapper function around it; unlike on the NPTL branch, it retains the old interface so that not all callers need to be changed. _dl_lookup_hash can optionally give its caller a pointer to the module where the symbol was found. Introduce ELF_RTYPE_CLASS_DLSYM for lookups from libdl. Spelling fixes in the Blackfin port, since Alex Oliva's original version of these patches used _dl_find_hash_mod as the name of the function rather than _dl_lookup_hash.
* Blackfin FD-PIC patch 2/6.Bernd Schmidt2007-12-031-0/+6
| | | | | | Add the necessary changes in ld.so and libdl to deal with targets that prepend an underscore to symbol names.
* Blackfin FD-PIC patch 1/6.Bernd Schmidt2007-12-031-1/+2
| | | | | | | Add a new function _dl_free. In _dl_malloc, ensure we always get back a full page from mmap. Reset _dl_malloc_function and _dl_free_function when libdl is initialized.
* Some versions of gcc consider inline merely a hint. AVR32 depends on theCarmelo Amoroso2007-12-031-20/+20
| | | | | | | | | system calls actually being inlined, so AVR32 needs to use __always_inline instead of just inline. The attached patch changes this for the system calls. Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
* Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso2007-11-161-1/+2
| | | | <hcegtvedt@atmel.com>
* Define _dl_assert in libdl only if __DOASSERTS__ is defined. Thanks to Peter ↵Carmelo Amoroso2007-11-091-7/+16
| | | | Mazinger
* Added support for GNU hash style into dynamic linkerCarmelo Amoroso2007-11-073-3/+53
|
* Blue Swirl writes:Mike Frysinger2007-09-151-0/+4
| | | | | | | | | | | | | | | | | | | | I got the library to compile with the attached patches, though dynamic loader crashes early. In buildroot I changed the architecture name by hand from sparc to sparc64, otherwise the compiler produced 32-bit files with V9 (64-bit) instructions. This configuration is not supported by QEMU, so I aimed for pure 64-bit. I think Sparc64 option needs to be added to buildroot. The _Qp_ ops seem to be required by the ABI. This and setjmp patches are just hacks to get the compilation further. The _Qp_ ops can be found in glibc, would it be OK to use those? V9 assembler requires declarations for global register use. The mem* functions in sparc32 directory did not work. They are actually used only by the hybrid 32-bit + V9 CPU configuration.
* fix ld.so.cache handling on no-mmu setupsMike Frysinger2007-04-171-0/+6
|
* Make _dl_malloc alignment arch configurable.Joakim Tjernlund2007-02-171-0/+5
| | | | From Atsushi Nemoto.
* - see if defined foo before trying to look at the value of foo (that should ↵Bernhard Reutner-Fischer2007-01-291-1/+1
| | | | be 0 in this case. Avoids some warnings).
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-061-1/+2
| | | | minor include file issues
* Bernd Schmidt writes:Mike Frysinger2006-11-171-0/+6
| | | | | | | 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.
* fixup from Bernd Schmidt to properly document DL_ADDR_TO_FUNC_PTRMike Frysinger2006-10-071-3/+9
|
* Bernd Schmidt writes:Mike Frysinger2006-10-071-0/+13
| | | | | | | | | | | 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.
* merge some more FDPIC related fixes from Bernd SchmidtMike Frysinger2006-09-192-1/+13
|
* patch from Bernd Schmidt to abstract away initializing of relocation addressesMike Frysinger2006-07-052-1/+34
|
* patch from Bernd Schmidt to abstract away initializing of prog load addressesMike Frysinger2006-07-051-0/+8
|
* patch from Bernd Schmidt to abstract away load address typesMike Frysinger2006-07-054-6/+17
|
* patch from Bernd Schmidt to abstract away load address checksMike Frysinger2006-07-051-0/+15
|
* missed an ElfW(Addr) changeMike Frysinger2006-07-051-1/+1
|
* patch from Bernd Schmidt to abstract away load addressesMike Frysinger2006-07-051-1/+10
|
* use ElfW(Addr) in more placesMike Frysinger2006-07-051-11/+6
|
* revert fdpic patch so we can merge it in bit by bitMike Frysinger2006-07-054-75/+6
|
* Bernd Schmidt writes: abstract away addresses so we can support FDPIC ELFsMike Frysinger2006-06-304-6/+75
|
* add a note as to why mips is specialMike Frysinger2006-04-201-0/+4
|
* 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-081-2/+10
| | | | create some default macros for do_rem/do_div_10 so we dont duplicate the samething in many arch header files
* Include bits/uClibc_page.h before dl-syscall.h as the latter mayPeter Kjellerstedt2006-02-231-2/+2
| | | | need the defines from the former.
* 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
* move _dl_mmap_check_error() to related mmap bits of code as pointed out by ↵Mike Frysinger2006-02-221-13/+10
| | | | Nicolas Bellido
* John Bowler writes in Bug 385:Mike Frysinger2006-01-311-2/+2
| | | | | | 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...
* back to inline, mips failsPeter S. Mazinger2006-01-301-21/+21
|
* use attribute_unused instead of hardcodedPeter S. Mazinger2006-01-271-1/+1
|
* - use keywords __asm__ and __inline__ c99.Bernhard Reutner-Fischer2006-01-241-21/+21
|
* fix building on alphaMike Frysinger2006-01-201-0/+15
|
* move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger2006-01-191-1/+1
| | | | specific header file to make porting/updates a lot easier
* cleanup whitespaceMike Frysinger2006-01-171-61/+60
|
* Revert 13276, cache corrupted on x86Peter S. Mazinger2006-01-141-11/+39
|
* use regular headers rather than trying to get trickyMike Frysinger2006-01-141-39/+11
|
* change to Lesser GPL 2.1 as pointed out by psmMike Frysinger2005-11-238-8/+8
|
* add some copyright infoMike Frysinger2005-11-228-0/+56
|
* Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵Peter S. Mazinger2005-10-271-0/+6
| | | | to _dl_setup_stack_chk_guard, as in glibc. SSP requires now binutils-2.16.1 and newer. Add NOT_IN_libc/IS_IN_libc. Began using -DSHARED in uClibc_main.c, there are more candidates in there. Move back dl_protect_relro to it's earlier place.
* Remove TMPDIR from glibc's commented listPeter S. Mazinger2005-10-111-1/+1
|
* Sync unsecvars.h w/ glibc-2.3.5, remove unused vars in uClibc, update ↵Peter S. Mazinger2005-10-111-7/+6
| | | | comment about those in glibc
* I really really HATE gcc-4.1 and its whimsical inline rules."Steven J. Hill"2005-09-231-1/+1
|