summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2004-08-25Mike Frysinger writes:Eric Andersen
this was sent earlier in a different form: http://www.uclibc.org/lists/uclibc/2004-January/008136.html find attached a smaller version ... perhaps adding a fprintf to stderr before calling abort would be nice like in the glibc patch, but whatever glibc has since adopted a similar fix for their malloc (third hunk, line 1970) http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/malloc/malloc.c.diff?r1=1.121&r2=1.122&cvsroot=glibc&f=h -mike
2004-08-25Mike Frysinger writes:Eric Andersen
i sent this earlier but perhaps people missed it the first time around :) http://www.uclibc.org/lists/uclibc/2004-August/009544.html basically if you try to #include <sys/ucontext.h> on arm it'll fail because ucontext.h utilizes typedefs found in bits/sigcontext.h ... i386 already has this fix in uClibc find attached a trivial patch to fix this -mike
2004-08-25Joakim Tjernlund writes:Eric Andersen
Hi Manuel & Erik I think I know why MIPS is broken. _dl_perform_mips_global_got_relocations() is broken. It will due to my latest changes reloctate ldso. This function needs to die and its job should be done inside _dl_parse_relocation_information(). It is mostly a copy and paste job, Also PERFORM_BOOTSTRAP_GOT and PERFORM_BOOTSTRAP_RELOCATION should be fixed, they use symbols which aren't passed as arguments. Jocke
2004-08-25Patch by Carl SHAW <carl.shaw@st.com>...Manuel Novoa III
Below is a patch to make the pread and pwrite calls work on the SH architecture. I've only tested this on the SH4 with a 2.4.24 kernel - a fairly recent kernel is required as the problem is partially fixed in the kernel itself. For more information (in relation to glibc, but the problem is the same) see the thread at http://sourceforge.net/mailarchive/message.php?msg_id=2375908 Someone should really test this on the SH2/3...
2004-08-25Patch from Stefan Allius:Joakim Tjernlund
Remove unused function parameter in ldso. Remove echo option '-e' since it is not supported on Solaris.
2004-08-25Hopefully fix Laszlo and Jacobs dlopen problem.Joakim Tjernlund
2004-08-23Note a security item for the next releaseEric Andersen
2004-08-22Make the stub profiling stuff workEric Andersen
2004-08-21The "Delete current profiling code because it is complete crap"Eric Andersen
TODO item is now done.
2004-08-21Attempt to support 'gcc -finstrument-functions', which seems muchEric Andersen
more sane than 'gcc -pg' and seems much easier to support. -Erik
2004-08-21Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen
size and performance penalty to profiling applications this way, as well as Heisenberg effects, where the act of measuring changes what is measured. There are better tools for doing profiling, such as OProfile, that do not require gcc to instrument the application code. -Erik
2004-08-20Enable only for architectures where __NR_madvise is definedEric Andersen
-Erik
2004-08-19Never directly include kernel sourcesEric Andersen