Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Blackfin FD-PIC patch 4/6. | Bernd Schmidt | 2007-12-03 | 1 | -0/+7 | |
| | | | | Add a hash table for function descriptors on FD-PIC targets. | |||||
* | Blackfin FD-PIC patch 3/6. | Bernd Schmidt | 2007-12-03 | 3 | -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 Schmidt | 2007-12-03 | 1 | -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 Schmidt | 2007-12-03 | 1 | -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 the | Carmelo Amoroso | 2007-12-03 | 1 | -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 Amoroso | 2007-11-16 | 1 | -1/+2 | |
| | | | | <hcegtvedt@atmel.com> | |||||
* | Define _dl_assert in libdl only if __DOASSERTS__ is defined. Thanks to Peter ↵ | Carmelo Amoroso | 2007-11-09 | 1 | -7/+16 | |
| | | | | Mazinger | |||||
* | Added support for GNU hash style into dynamic linker | Carmelo Amoroso | 2007-11-07 | 3 | -3/+53 | |
| | ||||||
* | Blue Swirl writes: | Mike Frysinger | 2007-09-15 | 1 | -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 setups | Mike Frysinger | 2007-04-17 | 1 | -0/+6 | |
| | ||||||
* | Make _dl_malloc alignment arch configurable. | Joakim Tjernlund | 2007-02-17 | 1 | -0/+5 | |
| | | | | From Atsushi Nemoto. | |||||
* | - see if defined foo before trying to look at the value of foo (that should ↵ | Bernhard Reutner-Fischer | 2007-01-29 | 1 | -1/+1 | |
| | | | | be 0 in this case. Avoids some warnings). | |||||
* | bits/kernel_stat.h is for internal uClibc use only, fix a few other | Eric Andersen | 2006-12-06 | 1 | -1/+2 | |
| | | | | minor include file issues | |||||
* | Bernd Schmidt writes: | Mike Frysinger | 2006-11-17 | 1 | -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_PTR | Mike Frysinger | 2006-10-07 | 1 | -3/+9 | |
| | ||||||
* | Bernd Schmidt writes: | Mike Frysinger | 2006-10-07 | 1 | -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 Schmidt | Mike Frysinger | 2006-09-19 | 2 | -1/+13 | |
| | ||||||
* | patch from Bernd Schmidt to abstract away initializing of relocation addresses | Mike Frysinger | 2006-07-05 | 2 | -1/+34 | |
| | ||||||
* | patch from Bernd Schmidt to abstract away initializing of prog load addresses | Mike Frysinger | 2006-07-05 | 1 | -0/+8 | |
| | ||||||
* | patch from Bernd Schmidt to abstract away load address types | Mike Frysinger | 2006-07-05 | 4 | -6/+17 | |
| | ||||||
* | patch from Bernd Schmidt to abstract away load address checks | Mike Frysinger | 2006-07-05 | 1 | -0/+15 | |
| | ||||||
* | missed an ElfW(Addr) change | Mike Frysinger | 2006-07-05 | 1 | -1/+1 | |
| | ||||||
* | patch from Bernd Schmidt to abstract away load addresses | Mike Frysinger | 2006-07-05 | 1 | -1/+10 | |
| | ||||||
* | use ElfW(Addr) in more places | Mike Frysinger | 2006-07-05 | 1 | -11/+6 | |
| | ||||||
* | revert fdpic patch so we can merge it in bit by bit | Mike Frysinger | 2006-07-05 | 4 | -75/+6 | |
| | ||||||
* | Bernd Schmidt writes: abstract away addresses so we can support FDPIC ELFs | Mike Frysinger | 2006-06-30 | 4 | -6/+75 | |
| | ||||||
* | add a note as to why mips is special | Mike Frysinger | 2006-04-20 | 1 | -0/+4 | |
| | ||||||
* | forgotten to update gettimeofday here as well | Peter S. Mazinger | 2006-03-23 | 1 | -2/+6 | |
| | ||||||
* | macro out the /10 operation so arches can have their own versions ... and ↵ | Mike Frysinger | 2006-03-08 | 1 | -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 may | Peter Kjellerstedt | 2006-02-23 | 1 | -2/+2 | |
| | | | | need the defines from the former. | |||||
* | Allow MMAP2_PAGE_SHIFT to be specified by the architecture specific | Peter Kjellerstedt | 2006-02-23 | 1 | -1/+8 | |
| | | | | header files. | |||||
* | A little clean up. | Peter Kjellerstedt | 2006-02-23 | 1 | -18/+23 | |
| | ||||||
* | sync with glibc | Mike Frysinger | 2006-02-22 | 1 | -0/+16 | |
| | ||||||
* | Nicolas Bellido: switch up order of mmap preference to try and fix arm eabi ↵ | Mike Frysinger | 2006-02-22 | 1 | -27/+34 | |
| | | | | usage | |||||
* | move _dl_mmap_check_error() to related mmap bits of code as pointed out by ↵ | Mike Frysinger | 2006-02-22 | 1 | -13/+10 | |
| | | | | Nicolas Bellido | |||||
* | John Bowler writes in Bug 385: | Mike Frysinger | 2006-01-31 | 1 | -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 fails | Peter S. Mazinger | 2006-01-30 | 1 | -21/+21 | |
| | ||||||
* | use attribute_unused instead of hardcoded | Peter S. Mazinger | 2006-01-27 | 1 | -1/+1 | |
| | ||||||
* | - use keywords __asm__ and __inline__ c99. | Bernhard Reutner-Fischer | 2006-01-24 | 1 | -21/+21 | |
| | ||||||
* | fix building on alpha | Mike Frysinger | 2006-01-20 | 1 | -0/+15 | |
| | ||||||
* | move a bunch of arch-specific checks out of common files and into an arch ↵ | Mike Frysinger | 2006-01-19 | 1 | -1/+1 | |
| | | | | specific header file to make porting/updates a lot easier | |||||
* | cleanup whitespace | Mike Frysinger | 2006-01-17 | 1 | -61/+60 | |
| | ||||||
* | Revert 13276, cache corrupted on x86 | Peter S. Mazinger | 2006-01-14 | 1 | -11/+39 | |
| | ||||||
* | use regular headers rather than trying to get tricky | Mike Frysinger | 2006-01-14 | 1 | -39/+11 | |
| | ||||||
* | change to Lesser GPL 2.1 as pointed out by psm | Mike Frysinger | 2005-11-23 | 8 | -8/+8 | |
| | ||||||
* | add some copyright info | Mike Frysinger | 2005-11-22 | 8 | -0/+56 | |
| | ||||||
* | Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵ | Peter S. Mazinger | 2005-10-27 | 1 | -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 list | Peter S. Mazinger | 2005-10-11 | 1 | -1/+1 | |
| | ||||||
* | Sync unsecvars.h w/ glibc-2.3.5, remove unused vars in uClibc, update ↵ | Peter S. Mazinger | 2005-10-11 | 1 | -7/+6 | |
| | | | | comment about those in glibc | |||||
* | I really really HATE gcc-4.1 and its whimsical inline rules. | "Steven J. Hill" | 2005-09-23 | 1 | -1/+1 | |
| |