summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove stale leftoversEric Andersen2004-09-071-9/+0
|
* Audit and scrub malloc.h, which was a messEric Andersen2004-09-071-67/+3
|
* We do not use dl_iterate_phdr, so no need to define itEric Andersen2004-09-073-44/+0
|
* uClibc gettext support is under development and really shouldn'tEric Andersen2004-09-072-1/+6
| | | | be used by the unsuspecting masses quite yet.
* The 'Somebody Else's Problem Field' was just activatedEric Andersen2004-09-071-0/+3
|
* First pass prototype removals from auditing header files:Eric Andersen2004-09-075-66/+23
| | | | | a.out.h to libgen.h (omitting complex.h for a later separate effort for the math stuff)
* Use a more appealing name, matching the function prototypeEric Andersen2004-09-071-6/+6
|
* Add missing imaxdiv and lldiv needed for SuSv3. Adjust ldiv toEric Andersen2004-09-073-26/+119
| | | | match glibc's quotient truncation behavior.
* First attempt to fix the INIT/FINI ordering. Fingers crossed :)Joakim Tjernlund2004-09-034-70/+83
|
* Add a couple of mips-specific string funcs.Manuel Novoa III2004-09-0235-2/+3726
| | | | | | | | | 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.
* Fix a couple of symbol name issues.Manuel Novoa III2004-09-021-5/+8
|
* Remove unused variables. From Peter Mazinger.Joakim Tjernlund2004-09-022-3/+0
|
* Restore item I erronenously removed, mention mips string funcsEric Andersen2004-08-311-0/+9
|
* Dont mess with __curbrk in ldsoEric Andersen2004-08-311-5/+0
|
* Typo fix from Peter Mazinger.Joakim Tjernlund2004-08-301-1/+1
|
* Mention kernel abi selectionEric Andersen2004-08-301-0/+6
|
* solar asked that this bit be reverted.Manuel Novoa III2004-08-281-1/+0
|
* Preliminary PIE support for powerpc, i386 was used as template.Joakim Tjernlund2004-08-272-3/+26
| | | | Requested by Peter Mazinger. Testing wanted.
* #include "dl-startup.c into ldso.c, making ldso one compilation unit.Joakim Tjernlund2004-08-272-2/+3
| | | | | | | | | | | | 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.
* Forgot to commit this file. Patch from Stefan Allius.Joakim Tjernlund2004-08-271-1/+1
|
* As Mike Frysinger notes, this code is still needed. IJoakim Tjernlund2004-08-271-0/+10
| | | | | | | | | | | | | | | 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?
* Partial patch from Alexandre Oliva to update the frv portEric Andersen2004-08-263-423/+501
|
* Patch from Alexandre Oliva to update the frv default configEric Andersen2004-08-261-0/+2
|
* Partial patch from Alexandre Oliva:Eric Andersen2004-08-2618-75/+635
| | | | | | | | | | - 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.
* Mention FunctionCheckEric Andersen2004-08-261-0/+3
|
* Update TODO list a bitEric Andersen2004-08-261-28/+16
|
* Only print debug stuff when askedEric Andersen2004-08-261-1/+2
|
* Fixup a couple of warningsEric Andersen2004-08-261-2/+2
|
* Avoid multiple passes to perform mips GOT relocations, and doEric Andersen2004-08-262-47/+53
| | | | | the whole lot in a single pass. -Erik
* Fixes from gentoo.Manuel Novoa III2004-08-267-11/+73
|
* Let ldso find libc's malloc function and set _dl_malloc_function.Joakim Tjernlund2004-08-262-10/+4
| | | | | | This removes some crap in libdl.c(and future libs which needs to access ldso functions). What do you think?
* Added test for RTLD_GLOBAL flag in _dl_find_hash().Joakim Tjernlund2004-08-262-2/+5
| | | | | Fixed a bug in libdl.c where the RTLD_GLOBAL was assigned wronly.
* Relocations of the application's global GOT entries were not being run, andEric Andersen2004-08-263-78/+44
| | | | | | | | 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
* Stefan Allius writes:Joakim Tjernlund2004-08-262-53/+14
| | | | | | | | | | | | "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.
* Mike Frysinger writes:Eric Andersen2004-08-251-0/+3
| | | | | | | | | | | 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
* Mike Frysinger writes:Eric Andersen2004-08-251-0/+1
| | | | | | | | | | | | 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
* Joakim Tjernlund writes:Eric Andersen2004-08-251-1/+46
| | | | | | | | | | | | | | 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
* Patch by Carl SHAW <carl.shaw@st.com>...Manuel Novoa III2004-08-252-1/+107
| | | | | | | | | | | | 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...
* Patch from Stefan Allius:Joakim Tjernlund2004-08-2513-50/+40
| | | | | Remove unused function parameter in ldso. Remove echo option '-e' since it is not supported on Solaris.
* Hopefully fix Laszlo and Jacobs dlopen problem.Joakim Tjernlund2004-08-252-2/+5
|
* Note a security item for the next releaseEric Andersen2004-08-231-0/+4
|
* Make the stub profiling stuff workEric Andersen2004-08-222-98/+4
|
* The "Delete current profiling code because it is complete crap"Eric Andersen2004-08-211-3/+0
| | | | TODO item is now done.
* Attempt to support 'gcc -finstrument-functions', which seems muchEric Andersen2004-08-213-0/+120
| | | | | more sane than 'gcc -pg' and seems much easier to support. -Erik
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-2140-1796/+48
| | | | | | | | 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
* Enable only for architectures where __NR_madvise is definedEric Andersen2004-08-201-0/+2
| | | | -Erik
* Never directly include kernel sourcesEric Andersen2004-08-192-2/+2
|
* 'pagesize' was local to dl-startup.c. In ldso.c we needEric Andersen2004-08-191-1/+1
| | | | | to use '_dl_pagesize' -Erik
* Fix dependencies.Manuel Novoa III2004-08-191-1/+3
|
* Accunt for ELF_MACHINE_PLTREL_OVERLAP when relocating ldso.Joakim Tjernlund2004-08-191-2/+6
|