Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2004-05-12 | Patch from Bradley D. LaRonde: | Eric Andersen | |
ld.so mprotect rwx .dyanmic segment for mips DT_DEBUG Allow writing debug_addr into the .dynamic segment. Even though the program header is marked RWE, the kernel gives it to us rx. | |||
2004-05-11 | As noticed by the sharp eyed Joakim Tjernlund, I stupidly | Eric Andersen | |
hard coded 4096 instead of PAGE_SIZE. Because I'm an idiot. | |||
2004-05-11 | make certain that getpagesize() returns correct the value for mips | Eric Andersen | |
by extracting the value from the ELF header. | |||
2004-02-17 | Kill off an arm specific hack, that fostered three other arch specific | Eric Andersen | |
hacks. Just check for the elf magic string one byte at a time.... | |||
2004-02-17 | When doing _dl_mmap to obtain a bit of anonymous memory, use a much more | Eric Andersen | |
sensible -1 fd, rather than pretending to work off of fd 0, which makes absolutely no sense. | |||
2004-02-14 | Joakim Tjernlund writes: | Eric Andersen | |
Hi it is me again. This is the latest ldso patch. the NEW weak symbol handling works now with a little special handling in _dl_find_hash(). You get to chose if you want the new or old handling :) There was 2 missing _dl_check_if_named_library_is_loaded() calls in _dlopen(). I then disabled the _dl_check_if_named_library_is_loaded() in dl-elf.c since it is rendundant. Question, why does some _dl_linux_resolver(), like i386, have 2 calls to _dl_find_hash()? I think that is wrong, isn't it? I really hope you can check this out soon ... |