Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-28 | Remove check for the relocation type check in the resolver, | Carmelo Amoroso | |
from all archs. Signed-off-by: Jiri Olsa <olsajiri@gmail.com> | |||
2009-01-04 | ldso/ldso/dl-startup.c: make _dl_elf_main static; remove one dead variable. | Denis Vlasenko | |
ldso/ldso/avr32/dl-startup.h: remove superfluous definition of START() macro. ldso/ldso/*/dl-startup.h: fix a typo in comment text data bss dec hex filename - 16752 244 92 17088 42c0 lib/ld-uClibc.so + 16709 240 92 17041 4291 lib/ld-uClibc.so | |||
2008-12-03 | - Use runtime pagesize (Jeremy Kerr) | Bernhard Reutner-Fischer | |
Some powerpc machines can support 64k pages, enabled by the CONFIG_64K_PAGES option in linux. However, the uClibc dynamic loader won't currently work on these machines, as it uses hard-coded values (PAGE_ALIGN, ADDR_ALIGN and OFFS_ALIGN) in the ldso architecture-specific headers. When running on a kernel with 64k pages, ld.so tries to mmap with 4k-aligned addresses, rather than 64k, so mmap fails with -EINVAL. When booting a 64k machine with a uClibc dynamic linker, init fails with: /init:500: can't map '/lib/libc.so.0' /init:500: can't map '/lib/libc.so.0' /init:500: can't map '/lib/libc.so.0' /init: can't load library 'libc.so.0' Kernel panic - not syncing: Attempted to kill init! This change allows ld.so determine these alignment masks at runtime, rather than compile-time. Since we have the _dl_pagesize variable available, we can use that to generate the appropriate masks. Since almost all of the architectures can use the common definitions for the _ALIGN macros, we can consolidate them all in ldso.h, and override in the sysdep headers where necessary (ie, mips). This allows me to start a uClibc-based root fs on a 64k machine. Signed-off-by: Jeremy Kerr <jk at ozlabs org> | |||
2007-07-29 | Remove stray code alignment (.align 16 and .align 4 directives) | Denis Vlasenko | |
from i386 and x86_64. | |||
2006-06-19 | eat extraneous ; and insert some whitespace where it belongs | Mike Frysinger | |
2006-03-08 | macro out the /10 operation so arches can have their own versions ... and ↵ | Mike Frysinger | |
create some default macros for do_rem/do_div_10 so we dont duplicate the samething in many arch header files | |||
2006-01-24 | - use keywords __asm__ and __inline__ c99. | Bernhard Reutner-Fischer | |
2006-01-19 | move 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-17 | since just about everyone uses return _dl_elf_main for START() now, make it ↵ | Mike Frysinger | |
the default | |||
2006-01-10 | support a few more relocation types | Mike Frysinger | |
2006-01-09 | list more relocs | Mike Frysinger | |
2006-01-08 | other half of lazy relocation from glibc dl-trampoline | Mike Frysinger | |
2006-01-08 | patch by Jocke to fix up lazy relocation | Mike Frysinger | |
2005-11-21 | Partly undo earlier patch on vapier's request | Peter S. Mazinger | |
2005-11-21 | Guard debug_sym/debug_reloc, make sure elfinterp.c sees __SUPPORT_LD_DEBUG__ | Peter S. Mazinger | |
2005-09-21 | __set_errno must be redefined after #include "sys/syscall.h". | Joakim Tjernlund | |
syscall.h should not have it's own version of __set_errno, instead syscall.h should include errno.h(see powerpc) since errno handling depends on threads/no threads. I leave the the fixing of syscall.h since there might be some smaller compile problems. | |||
2005-08-18 | use generic ELF wrappers | Mike Frysinger | |
2005-08-15 | move arch-specific checks out of shared dl-syscall.h and into arch-specific ↵ | Mike Frysinger | |
dl-syscalls.h | |||
2005-07-14 | a [mostly working] elfinterp.c based on i386 / glibc | Mike Frysinger | |
2005-07-14 | remove unused instructions | Mike Frysinger | |
2005-07-11 | dont use void* when we know the type of pointer we want | Mike Frysinger | |
2005-07-08 | err, x86_64 is RELA, not REL | Mike Frysinger | |
2005-07-08 | fix GET_ARGV() so it pulls out the argc/argv/envp properly | Mike Frysinger | |
2005-07-07 | remove broken asm code in elf_machine_dynamic() and just do it the glibc way ↵ | Mike Frysinger | |
(since it works) | |||
2005-07-07 | rip out all the duplicated debug code and move into a shared file | Mike Frysinger | |
2005-07-06 | import start of ldso based on glibc | Mike Frysinger | |