summaryrefslogtreecommitdiff
path: root/extra
AgeCommit message (Collapse)Author
2004-10-06PIE option correction for Config.in. From Peter Mazinger.Joakim Tjernlund
2004-10-05Peter Kjellerstedt writes:Joakim Tjernlund
After the addition of a configuration option for enabling the support of /etc/ld.so.cache, I thought it might be a good idea to add one for the support of the /etc/ld.so.preload file too. So here it is. While doing this, I also noticed that the dynamic linker would hang indefinitely if either LD_PRELOAD or /etc/ld.so.preload contained a library which was already loaded, so I made a patch for that too. And of course, I could not resist from doing a little clean up of comments and indentation, so here is a patch for that too.
2004-10-03This patch from Mike Frysinger, extended from an earlier patch from Peter S.Eric Andersen
Mazinger implements the changes suggested by me on the uclibc list. On Tuesday 28 September 2004 02:24 pm, Erik Andersen wrote: > What I think should be done is > > *) Someone that cares about USE_CACHE should fix that option > up to be sure it works, and give it a proper config entry > in extra/Configs/Config.in, and rename it to something > more appropriate such as LDSO_CACHE_SUPPORT. > > *) When LDSO_CACHE_SUPPORT=n, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be included in the default library search path in > dl-elf.c, ldd, and ldconfig. > > *) When LDSO_CACHE_SUPPORT=y, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be excluded from the default library search path in > dl-elf.c, ldd, and ldconfig, and those wishing to include > X11 stuff should add that into /etc/ld.so.conf and re-run > ldconfig. > > *) At present, LDSO_CONF and LDSO_CACHE use the same names > and same structure as glibc. This precludes > LDSO_CACHE_SUPPORT being uses in any sane fashion on a > dial glibc and uClibc system. Just as it was necessary > for use to use a different name for 'libuClibc' rather > than 'libc', and 'ld-uClibc.so.0' rather than > 'ld-linux.so.2' it seems that these configuration files > really ought to be given different names. >
2004-09-07uClibc gettext support is under development and really shouldn'tEric Andersen
be used by the unsuspecting masses quite yet.
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-08-28solar asked that this bit be reverted.Manuel Novoa III
2004-08-26Patch from Alexandre Oliva to update the frv default configEric Andersen
2004-08-26Fixes from gentoo.Manuel Novoa III
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-19Never directly include kernel sourcesEric Andersen
2004-07-16Pete Popov writes:Eric Andersen
Hi Erik, I'm not sure why the NIOS support is not in uClibc -- perhaps the patch was rejected or never submitted? In any case, I'm playing with some NIOS stuff and created this patch against 0.9.26. The work was done by Microtronix. I'm not sure who else contributed to it. It would be great to have the NIOS support available in uClibc so developers don't have to go searching for these bits. Pete
2004-07-15Peter Kjellerstedt at axis.com writes:Eric Andersen
Hello, the attached patch should bring extra/config in line with the Linux 2.6.7 sources. The following are the commit messages for the respective files from the Linux bk-repository: checklist.c: * fix menuconfig choice item help display confdata.c: * config: choice fix * kconfig: don't rename target dir when saving config expr.c, expr.h: * config: disable debug prints mconf.c: * fix menuconfig choice item help display menu.c: * Kconfig: use select statements symbol.c: * config: choice fix * Avoid bogus warning about recursive dependencies * c99 struct initialiser conversions textbox.c: * janitor: don't init statics to 0 util.c: * fix lxdialog behaviour //Peter
2004-05-07UCLIBC_COMPLETELY_PIC does nothing, so kill itEric Andersen
2004-03-18Alexandre Oliva writes:Eric Andersen
This patch arranges for the .so files in say /usr/lib to be soft links to ../../lib, instead of to /some/arbitrary/pathname/lib. This enables seamless relocation of a toolchain containing the development and run time trees in a sys-root.
2004-03-09More detail about malloc-simpleEric Andersen
2004-02-19Update the x86 processor listing a bit, to preempt further questionsEric Andersen
about the best settings the AMD Elan and the VIA Nehemiah.
2004-02-18Alexandre Oliva writes:Eric Andersen
This patch adds code to uClibc to support a new ABI designed for the FR-V architecture, that enables text segments of executables and shared libraries to be shared by multiple processes on an OS such as uClinux, that can run on FR-V processors without an MMU. Patches for binutils and GCC have just been posted in the corresponding mailing lists. The binutils patch was approved, but there's one additional patch pending review, that I posted this week. An updated GCC patch will be posted to gcc-patches@gcc.gnu.org as soon as I complete testing (I used a known-good compiler to test the uClibc patch below). Since the existing dynamic loader code didn't support independent relocation of segments, it required changes that were somewhat extensive. I've added a number of new machine-specific macros to try to keep the platform and ABI-specific details outside the generic code. I hope this is not a problem.
2004-02-12Add our own copies of the include/scsi header files, per what glibcEric Andersen
does, rather than depending on the kernel header files. -Erik
2004-02-05Allow building on 64 bit archs. Hopefully the last cvs activity thisManuel Novoa III
stuff will see other than "delete".
2004-01-16s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen
2004-01-16Fixup selection of endianness, since select does not work on choiceEric Andersen
items, we have to declare what endianness cpus are capable of supporting and work using dependancies.
2004-01-16Minor updates from linux 2.6.1Eric Andersen
2004-01-09As mjn3 noticed, 64 bit arches should select UCLIBC_HAS_LFSEric Andersen
2004-01-02Peter S. Mazinger writes:Eric Andersen
Hello Erik! I have made some cosmetical changes to the files, removed the added SCRT=-fPIC option from building the crt0.S file (but it is a requirement to build them with -fPIC), and changed some comments. I have left the ldso.c patch with PIE_SUPPORT ifdefs, but consider applying it w/o them (see some earlier comment from PaX Team on this issue, as it is considered a bug). To have it work correctly, you'll also need removing COMPLETELY_PIC. One thing is missing: PIE_SUPPORT should be usable only for i386 (for now). Also added the support for propolice protection (that works for me and catches memcpy/strcpy attacks (but needs a special gcc version). Thanks, Peter
2004-01-02Cope with 2.6.x headersEric Andersen
2003-12-30Rework malloc. The new default implementation is based on dlmalloc from DougEric Andersen
Lea. It is about 2x faster than the old malloc-930716, and behave itself much better -- it will properly release memory back to the system, and it uses a combination of brk() for small allocations and mmap() for larger allocations. -Erik
2003-12-17Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen
Here's the patch for the ldso bits for sh64. This is still in need of a bunch of debugging, testing, etc. and is really only being submitted for general completeness. This assumes that the previous patches I've submitted have already been applied. I plan on playing with this and buildroot some more later, as I'd definitely like to see buildroot images for sh64.
2003-12-05Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen
This patch adds the libpthread backend bits for sh64. As noted previously, we can't inline things like the testandset() in pt-machine.h as we need to use a completely different ISA / CFLAGS in order for this to work. As a result, this patch is somewhat of a RFC as well to see what people think of the libpthread/linuxthreads/sysdeps Makefile approach, etc. The approach I've taken currently has been to provide a sysdeps/Makefile with a note that TARGET_ARCHs that want build rules can simply add themselves into the list of matching architectures to add to the subdir rule for. This probably isn't the cleanest solution, but it's quite transparent and works quite well.
2003-12-04Set the default stdio buffer size to 4096, rather then 256.Eric Andersen
256 is fine of course, but many applications use this value and expect it to be larger.
2003-12-03Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen
Nothing overly interesting here, this renames Hitachi/Mitsubishi to Renesas for the relevant platforms (in this case, h8, sh, and m32r). The same changes have already been going on in gcc/binutils/gdb/glibc/etc.
2003-12-03force enable FORCE_SHAREABLE_TEXT_SEGMENTS for sh4Eric Andersen
2003-12-02Disable pthreads for sh64 for the time being (since it is notEric Andersen
currently supported)
2003-11-29Minor typo fix.Manuel Novoa III
2003-11-18Kill ARCH_HAS_NO_MMU and use HAS_FPU only. Wether floating point opsManuel Novoa III
are implemented in hardware or via kernel emulation doesn't matter to the libc code.
2003-11-16Patch from Jeffrey Baitis <baitisj@evolution.com> for mips arch tuning.Manuel Novoa III
2003-11-11Stefan Allius writes:Eric Andersen
Another little patch fix the configuration for the SH3 targets. The SH3 has no FPU, but our ldso runs fine on a SH3 target. (I think the ldso should also run on a SH2 target, so you might want to enable the ldso for SH2 targets too. But I can't test it, since I have no such a system) :
2003-11-06George Thanos writes:Eric Andersen
Dear Erik, We downloded uClibc lattest version from the CVS. Still there are some minor problems with extra/Configs/Config.e1 You have actually set ARCH_HAS_C_SYMBOL_PREFIX to NO which is not correct for our architecture. Please apply the patch that will fix the problem. Best Regards, - George P.S. Patch also removes some irritating comments we have added in the past.
2003-11-05Kill initfini.awkEric Andersen
2003-11-05v850 appers to be little endian onlyEric Andersen
2003-11-05duh. the alpha has an fpuEric Andersen
2003-11-05Yet more messing with selecting sane default configsEric Andersen
2003-11-05Yet more config system updatesEric Andersen
2003-11-05m68k is always big endian afaikEric Andersen
2003-11-05powerpc is always big endianEric Andersen
2003-11-05Force cris to be little endian. Afaik, there is no bigEric Andersen
endian cris architecture.
2003-11-05OopsEric Andersen
2003-11-05Do not provide a default for endianness. This needs to be selectedEric Andersen
on a per-arch basis, or left to the user to choose.
2003-11-05Kill off "mipsel" and just use "mips"Eric Andersen
2003-11-04As Peter S. Mazinger has pointed out, the config system wantsEric Andersen
some defaults. So give it some empty defaults and let people select their own options.
2003-11-04Peter S. Mazinger writes:Eric Andersen
Hello! The latest changes document ldd in RUNTIME_PREFIX/bin, but it is installed in RUNTIME_PREFIX/usr/bin Peter