summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-09-23Make do_rem() safe. From Peter Kjellerstedt.Joakim Tjernlund
2004-09-23Don't allow undefined global symbols to pass.Joakim Tjernlund
Move COPY relocs back to _dl_do_reloc().
2004-09-23Make powerpc look more like the other archs.Joakim Tjernlund
2004-09-17Added back dl_iterate_phdr in ldso(with some small changes).Joakim Tjernlund
Someone needs to test if it works to build and run gcj.
2004-09-17Formatting cleanups from Peter Kellerstedt.Joakim Tjernlund
2004-09-17Bugfix: Add r_addend to final address. The r_addend is mostly zeroJoakim Tjernlund
but can be nonzero for JMP relocs as well. All Rela arches need to do this, test and send a patch :) Remove unneeded test in R_PPC_COPY.
2004-09-17Don't allow undefined global symbols to pass(all archs needs fixing,Joakim Tjernlund
but powerpc). If you are using buildroot and soft floating point, you may have to rebuild the libm.so library, copy it to staging_dir/lib and rebuild your application. Move handling of R_386_COPY back into _dl_do_reloc(all archs should do this). Adjust the first argument to _dl_memcpy as it looks wrong to have symtab[symtab_index].st_value as destination for the mem copy.
2004-09-16Don't allow undefined global symbols to pass(all archs needs fixing).Joakim Tjernlund
If you are using buildroot and soft floating point, you may have to rebuild the libm.so library, copy it to staging_dir/lib and rebuild your application. Cleanups as well.
2004-09-10Hide some x86-specific devel asserts.Manuel Novoa III
2004-09-08Fixup URLEric Andersen
2004-09-08Second attempt to fix the INIT/FINI order. This time I think I got it right :)Joakim Tjernlund
This needs testing with apps that have complex dependencies.
2004-09-08Doh! As noted by Mike Frysinger I was too agressive at culling stuffEric Andersen
2004-09-07Disable prototypes for unimplemented functionsEric Andersen
2004-09-07Yet another bit of joy for mjn3Eric Andersen
2004-09-07Audit and disable unimplemented stuffEric Andersen
2004-09-07Implement gethostent_rEric Andersen
2004-09-07Remove stale leftoversEric Andersen
2004-09-07Audit and scrub malloc.h, which was a messEric Andersen
2004-09-07We do not use dl_iterate_phdr, so no need to define itEric Andersen
2004-09-07uClibc gettext support is under development and really shouldn'tEric Andersen
be used by the unsuspecting masses quite yet.
2004-09-07The 'Somebody Else's Problem Field' was just activatedEric Andersen
2004-09-07First pass prototype removals from auditing header files:Eric Andersen
a.out.h to libgen.h (omitting complex.h for a later separate effort for the math stuff)
2004-09-07Use a more appealing name, matching the function prototypeEric Andersen
2004-09-07Add missing imaxdiv and lldiv needed for SuSv3. Adjust ldiv toEric Andersen
match glibc's quotient truncation behavior.
2004-09-03First attempt to fix the INIT/FINI ordering. Fingers crossed :)Joakim Tjernlund
2004-09-02Add a couple of mips-specific string funcs.Manuel Novoa III
Port the generic optimized string funcs from glibc, with some tweaks to cut their size a little. The main change is making memmove call memcpy for forward copying to trim redundant code. Make use of both the generic and arch-specific speed-optimized string funcs configurable. Arch-specific take precedence over generic, and generic takes precedence over basic size-optimized uClibc funcs.
2004-09-02Fix a couple of symbol name issues.Manuel Novoa III
2004-09-02Remove unused variables. From Peter Mazinger.Joakim Tjernlund
2004-08-31Restore item I erronenously removed, mention mips string funcsEric Andersen
2004-08-31Dont mess with __curbrk in ldsoEric Andersen
2004-08-30Typo fix from Peter Mazinger.Joakim Tjernlund
2004-08-30Mention kernel abi selectionEric Andersen
2004-08-28solar asked that this bit be reverted.Manuel Novoa III
2004-08-27Preliminary PIE support for powerpc, i386 was used as template.Joakim Tjernlund
Requested by Peter Mazinger. Testing wanted.
2004-08-27#include "dl-startup.c into ldso.c, making ldso one compilation unit.Joakim Tjernlund
Now all functions and vaiables can be made static to reduce relocs. Basicly, all variables should be merged into one struct variable and then export that struct. Exported functions should be exported as functions pointers in the above struct. This will reduce the number of relocs inside ldso to a handful. Add -Bsymbolic to linker for ldso. This will resolve all functions (all JMP_SLOT goes away) and the remaining relocs are transformed into RELATIVE relocs.
2004-08-27Forgot to commit this file. Patch from Stefan Allius.Joakim Tjernlund
2004-08-27As Mike Frysinger notes, this code is still needed. IJoakim Tjernlund
misread this code and removed it, sorry. I printed the values of _dl_brkp and _dl_envp in ldso and got this when executing: ls: __curbrk: 0x300c16e0 __environ: 0x1008372c ldd: __curbrk: 0x300776e0 __environ: 0x3007759c why is__environ in the app when executing ls but not ldd?
2004-08-26Partial patch from Alexandre Oliva to update the frv portEric Andersen
2004-08-26Patch from Alexandre Oliva to update the frv default configEric Andersen
2004-08-26Partial patch from Alexandre Oliva:Eric Andersen
- adjust licensing terms of sources for crt*.o - change the stat ABI to speed it up, matching changes in the kernel - assorted bug-fixes, improvements and updates in the FR-V port etc.
2004-08-26Mention FunctionCheckEric Andersen
2004-08-26Update TODO list a bitEric Andersen
2004-08-26Only print debug stuff when askedEric Andersen
2004-08-26Fixup a couple of warningsEric Andersen
2004-08-26Avoid multiple passes to perform mips GOT relocations, and doEric Andersen
the whole lot in a single pass. -Erik
2004-08-26Fixes from gentoo.Manuel Novoa III
2004-08-26Let ldso find libc's malloc function and set _dl_malloc_function.Joakim Tjernlund
This removes some crap in libdl.c(and future libs which needs to access ldso functions). What do you think?
2004-08-26Added test for RTLD_GLOBAL flag in _dl_find_hash().Joakim Tjernlund
Fixed a bug in libdl.c where the RTLD_GLOBAL was assigned wronly.
2004-08-26Relocations of the application's global GOT entries were not being run, andEric Andersen
only the global GOT entry relocations for the loaded shared libs were being handled. This made applications segfault when using un-fixedup symbols. After many hours debugging to track down the problem, this patch makes the mips port happy again. -Erik
2004-08-26Stefan Allius writes:Joakim Tjernlund
"I fixed the _dl_parse_copy_information in the same way than for the powerpc and it works fine for me. You may luck at the patch for the powerpc/elfinterp.c, where I change the paramter of a dl_dprintf statement. Now we use the same parameters than for the relocation copy." Arch mantainers, please do the same. When all arches has been fixed, we can remove of _dl_parse_copy_information, it is just a waste of CPU cycles.