Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-14 | ldso: performs bootstrap relocations only if required by the arch. | Carmelo Amoroso | |
It is controlled by ARCH_NEEDS_BOOTSTRAP_RELOCS macro. Signed-off-by: Jirka <olsajiri@gmail.com> Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com> | |||
2009-01-10 | simple optimizations and style fixes in dynamic loading | Denis Vlasenko | |
text data bss dec hex filename - 16709 240 92 17041 4291 lib/ld-uClibc.so + 16634 236 92 16962 4242 lib/ld-uClibc.so - 4602 344 4 4950 1356 lib/libdl-0.9.30-svn.so + 4571 328 4 4903 1327 lib/libdl-0.9.30-svn.so - 4602 344 4 4950 1356 lib/libdl.so + 4571 328 4 4903 1327 lib/libdl.so | |||
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-05-30 | - Avoid warning about missing brace. No obj-code changes. | Bernhard Reutner-Fischer | |
2007-12-03 | Blackfin FD-PIC patches 5/6. | Bernd Schmidt | |
A couple more target macros for ld.so to deal with FD-PIC support. We need special code to compute the initial got and dpnt, and we need to pass extra arguments to _dl_get_ready_to_run. | |||
2007-11-16 | Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵ | Carmelo Amoroso | |
<hcegtvedt@atmel.com> | |||
2006-11-17 | Bernd Schmidt writes: | Mike Frysinger | |
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. | |||
2006-10-07 | Bernd Schmidt writes: | Mike Frysinger | |
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. | |||
2006-09-19 | merge some more FDPIC related fixes from Bernd Schmidt | Mike Frysinger | |
2006-07-05 | patch from Bernd Schmidt to abstract away initializing of relocation addresses | Mike Frysinger | |
2006-07-05 | patch from Bernd Schmidt to abstract away load address types | Mike Frysinger | |
2006-07-05 | patch from Bernd Schmidt to abstract away load addresses | Mike Frysinger | |
2006-07-05 | revert fdpic patch so we can merge it in bit by bit | Mike Frysinger | |
2006-06-30 | Bernd Schmidt writes: abstract away addresses so we can support FDPIC ELFs | Mike Frysinger | |
2006-06-30 | Bernd Schmidt writes: too many semicolons! | Mike Frysinger | |
2006-01-17 | since just about everyone uses return _dl_elf_main for START() now, make it ↵ | Mike Frysinger | |
the default | |||
2005-12-16 | Remove all trailing ; after *_alias and change 2 to use weak_alias instead ↵ | Peter S. Mazinger | |
of __attribute__ ... | |||
2005-08-09 | disable early debug code if the arch relies on certain values (like ↵ | Mike Frysinger | |
load_addr) which are computer later | |||
2005-07-13 | dump the address we transfer control to | Mike Frysinger | |
2005-07-11 | minor touchups in debug output/comments | Mike Frysinger | |
2005-07-11 | base __rtld_stack_end off of argv instead of args so we dont have to worry ↵ | Mike Frysinger | |
about how each arch treats args | |||
2005-07-08 | add some more useful debug output | Mike Frysinger | |
2005-07-08 | need _DEBUG macros for NUMBER too | Mike Frysinger | |
2005-07-07 | get rid of arch-specific defines in dl-startup.c and make each arch declare ↵ | Mike Frysinger | |
its requirements about initial bootstrapping | |||
2005-07-07 | add debug code for showing argc/argv/envp and touch up some other debug output | Mike Frysinger | |
2005-07-04 | use the a_val member instead of a_ptr/a_fcn since newer elf defines dropped ↵ | Mike Frysinger | |
the other values | |||
2005-06-30 | create generic ELF_* macros to hide 32/64 bit differences | Mike Frysinger | |
2005-06-30 | change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the ↵ | Mike Frysinger | |
bitsize | |||
2005-06-27 | Add __libc_stack_end to ld.so. The libc.a version remains to do. | Joakim Tjernlund | |
sjhill, feel free to comment :) | |||
2005-06-25 | create some DEBUG macros for the ld debug early | Mike Frysinger | |
2005-04-13 | Adjust indentation | Eric Andersen | |
2005-04-13 | This update gets mips working again. | Eric Andersen | |
2005-04-12 | Remove __FORCE_SHAREABLE_TEXT_SEGMENTS__ hack from ldso itself. | Joakim Tjernlund | |
2005-03-29 | Moved the addition of load address from the fast path | Joakim Tjernlund | |
where possible. This will also make ldso smaller. However the patch touches all archs and I have only tested PPC and x86. | |||
2005-03-18 | Remove dead code. | Joakim Tjernlund | |
2005-03-17 | General arch cleanup and prepare support for standalone | Joakim Tjernlund | |
execution of ldso. Added new asm for MIPS to be tested. All arches should retest. | |||
2005-03-14 | Generalize optimized relative reloc procesing. | Joakim Tjernlund | |
Add elf_machine_dynamic() and elf_machine_load_address() for all archs. elf_machine_dynamic() replaces the #ifdef mess to get at the GOT. elf_machine_load_address() is needed to execute ldso directly, this is not complete yet. I probably broke one or two archs(only tested PPC) so please try and report problems. For a report to be useful you need to enable __SUPPORT_LD_DEBUG_EARLY__ and __SUPPORT_LD_DEBUG__ | |||
2005-01-12 | Use the inlined __dl_parse_dynamic_info() in DL_BOOT() for CRIS too. | Peter Kjellerstedt | |
2005-01-05 | fix eriks e-mail address | Mike Frysinger | |
2004-11-02 | - Remove dynamic_size from struct elf_resolve. | Joakim Tjernlund | |
- Replace all open coded dynamic handling with a function. Reduces size. - Fold special MIPS dynamic code into the dynamic_info item. - Add RELRO support. - Support linking with "-z now". - prepare for DT_RELACOUNT/DT_RELCOUNT optimization. - Add -z now to ld.so linking, this is what ld.so does anyway so let the linker know that. | |||
2004-10-06 | Remove unneeded -D<somedefine>, and use instead #ifdef __somedefine__ | Joakim Tjernlund | |
From Peter Mazinger. | |||
2004-08-19 | Accunt for ELF_MACHINE_PLTREL_OVERLAP when relocating ldso. | Joakim Tjernlund | |
2004-08-19 | Remove poor man's malloc. Not needed anymore. | Joakim Tjernlund | |
2004-08-19 | Move "debug_addr" ptr from dl-startup.c to ldso.c | Joakim Tjernlund | |
2004-08-19 | Move the app specific stuff from dl-startup.c to ldso.c. | Joakim Tjernlund | |
2004-08-19 | Oops, forgot to remove unused variable. | Joakim Tjernlund | |
2004-08-19 | This is now done in ldso.c | Joakim Tjernlund | |
2004-08-16 | The pagesize variable used when starting up is _not_ the same | Eric Andersen | |
as the _dl_pagesize global, so do not alias the global. -Erik | |||
2004-06-27 | Joakim Tjernlund writes: | Eric Andersen | |
Hi yet again :) in dl-startup.c when performing boot strap relocation the following test exists to make sure that only "_dl_" symbols are relocated: /* We only do a partial dynamic linking right now. The user is not supposed to define any symbols that start with a '_dl', so we can do this with confidence. */ if (!symname || !_dl_symbol(symname)) { continue; } However on PPC(and the other archs as well I suspect) all symbols are "_dl_" symbols so the test is never true. The test can be removed and the whole loop simplified(smaller). This also makes it possible to simplify elfinterp.c This remove the scanning of ldso.so relocs, making relocation faster. I have tested this on PPC and it works well. Do you think this optimization will work for the other arches as well? I can't see why not. Jocke * Tested on x86, arm, mipsel, and powerpc by Erik and works nicely -Erik | |||
2004-05-13 | Bradley D. LaRonde writes: | Eric Andersen | |
Oops, this adds the page alignment offset to the mprotected size. Regards, Brad |