Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-17 | check if USE_TLS is defined before use | Hans-Christian Egtvedt | |
This patch will convert all the #ifdef USE_TLS and #if USE_TLS to #if defined(USE_TLS) && USE_TLS. By checking if the USE_TLS is defined before checking its value will result in correct behavior for architectures not defining this config symbol. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Acked-by: Carmelo AMOROSO <carmelo.amoroso@st.com> | |||
2009-10-15 | ldso: clean up breakage in tls merge | Mike Frysinger | |
The TLS merge 534661b91c9849 introduced multiple style problems as well as random breakage: - missing _dl_free - incomplete parametrization of _dl_lookup_hash - restore FDPIC handling in _dl_lookup_hash Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2009-09-26 | ldso/: tls support for dynamic linker | Austin Foxley | |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com> | |||
2009-07-05 | Avoid type-punned pointers that break strict-aliasing | Ron | |
Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
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 | |