summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Paul Mundt, lethal at linux-sh dot org,Eric Andersen2004-01-311-0/+4
| | | | add sh/sh64: ABORT_INSTRUCTION definitions
* Andrew May writes:Eric Andersen2004-01-303-2/+5
| | | | | | Here are some simple fixes for things that broke for PPC with the recent syscall cleanup. I am not sure they are correct but they seem pretty trivial.
* Add missing abort instruction for powerpcEric Andersen2004-01-301-1/+5
|
* Paul Mundt, lethal at linux-sh dot org writes:Eric Andersen2004-01-302-1/+61
| | | | Boredom got the better of me, here's strlen() for sh64..
* Joakim Tjernlund writes:Eric Andersen2004-01-301-117/+87
| | | | | | | | | | | | | | | | | | | | > Not there yet, but the interfaces are much closer now... > Heading to bed though, since its 5:30am. :-) This works, but I discovered something "funny". For all relocs but COPY you can use scope instead of scope->dyn->symbol_scope and it is much faster to do that. Search for "Funny" in the patch to see what I mean. Probably I probably broke something, please let me know if it works for you too. I think I am done with ldso now. Has been fun and I hope to actually use uClibc/busybox soon in a project. Ohh, there is one thing left, double sized PLT entries, but maybe these aren't needed in uClibc? Sweet dreams Jocke
* Modify interfaces for _dl_parse_relocation_information()Eric Andersen2004-01-2913-250/+245
| | | | | | | _dl_parse_lazy_relocation_information() and _dl_parse_copy_information() so they are all consistant, allowing for future consolidation. Trim some trailing whitespace as well.
* Scrub up use of ELF_USES_RELOCA and eliminte some unsightly ifdefsEric Andersen2004-01-296-93/+87
|
* Joakim Tjernlund writes:Eric Andersen2004-01-291-50/+46
| | | | | | | | | | | | | Here is the cleaned up laze reloc patch. Summary: - Minor cleanup. - disable the "if (finaladdr <= 0x01fffffc || finaladdr >= 0xfe000000)" test since it almost never triggered. - Optimized the lazy relocs handling. Would be great if you could commit ASAP. Jocke
* Eliminate separate passes for _dl_copy_fixups() and _dl_fixup(), andEric Andersen2004-01-297-136/+49
| | | | do both operations in a single pass.
* Fixup silly typoEric Andersen2004-01-291-1/+1
|
* Patch from Joakim Tjernlund:Eric Andersen2004-01-292-38/+20
| | | | | Removed R_PPC_NONE and R_PPC_REL24 as these does not seem to be used. Corrected R_PPC_ADDR32 and R_PPC_JMP_SLOT
* Patch from Joakim Tjernlund to get rid of an annoying warning.Eric Andersen2004-01-272-2/+2
|
* Joakim Tjernlund writes:Eric Andersen2004-01-273-1/+245
| | | | | | | | | | | | Hi Erik I have had some fun trying to optimize memcpy, memset and memmove for PPC. There are only boot tested, but I don't expect any problems :) Read the comments in powerpc/string.c for more info. Patch is relative to libc/string Jocke
* Oleksandr G. Zhadan writes:Eric Andersen2004-01-241-0/+11
| | | | | | | | | | Hi Eric, The attached diff file includes BUS_ISA fix for kernel since 2.4.23/ Kind regards, Oleks
* Imre Sunyi writes:Eric Andersen2004-01-241-11/+16
| | | | | | | | | | | | | | | | | | | | | Hi Erik I have corrected a bug in uClibc/libc/inet/resolv.c in function __dns_lookup(). Have attaced a txt file with my diffs regarding to uClibc 0.9.26. If two nameservers are included in /etc/resolv.conf and the first one is wrong and the secondary is correct the algorithm never looked up the secondary one. Please review my diff and feel free to submit the patch onto your CVS. If reading manual page resolv.conf(5) under nameserver and how the algorithm should work the previous dns_lookup did not fully followed that. Regards Imre Sunyi
* Joakim Tjernlund writes:Eric Andersen2004-01-241-241/+178
| | | | | | | | | | | | | Hi again I have done some serious clenup of powerpc/elfinterp.c - Make it look more like glibc. - Performance modifictions. - Fixed a few bugs in _dl_do_reloc(). These seem not to have affected anything, but this how glibc do it. Jocke
* Some minor debian junk I had sitting in my treeEric Andersen2004-01-226-22/+49
|
* Sort all the filesEric Andersen2004-01-211-45/+34
|
* ignore host binariesEric Andersen2004-01-211-0/+1
|
* Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen2004-01-21171-2391/+3118
| | | | -Erik
* Add pollEric Andersen2004-01-211-1/+1
|
* Move poll to its own file, rather than being only half in its own fileEric Andersen2004-01-212-10/+13
|
* Massive formatting cleanup, making it easier to parseEric Andersen2004-01-211-431/+503
|
* Erik is an idiotEric Andersen2004-01-201-4/+4
|
* support building the uClibc utils for the host system...Eric Andersen2004-01-201-6/+23
|
* As noted by Doru Petrescu, there was a spurious line that was usingEric Andersen2004-01-202-2/+0
| | | | _dl_debug_addr prior to checking if it was NULL.
* Paul Mundt writes:Eric Andersen2004-01-202-2/+6
| | | | | | | | | | | | | | | | | | | | | | | The current behavior of the powerpc boot1_arch.h seems somewhat broken. Currently room is made on the stack pointer for the link register, but the link register is never actually pushed onto it. glibc bears the following comments: /* Call _dl_start with one parameter pointing at argc */ mr r3,r1 /* (we have to frob the stack pointer a bit to allow room for _dl_start to save the link register). */ followed by the -16 add to r1. Despite the fact that r1 is modified, the link register is never actually pushed onto r1, thus the adjustment is completely superfluous. There's two possible fixes for this, either saving the link register in the way that glibc does, or getting rid of the r1 adjustment. As I'm not sure if saving the link register will actually break the _dl_boot2 callin, both options will probably want to be played with. The following bit of inline assembly in the attached patch builds cleanly for me with gcc 3.3 on darwin, but I'm not able to test it any further beyond that.
* Joakim Tjernlund writes:Eric Andersen2004-01-201-5/+3
| | | | | | | | | | | | > Is there anything I can do/provide that would assist in the solving of > this problem on PowerPC? I'm still concerned about my lack of flash space... Try this path. It fixes the recent ldso problems for me on my mpc860 board. You should be able to use ldso without the dcbx patch to the kernel now. Please report back. Jocke
* Add __data_start needed by boehm garbage collector, in turn needed by libgcj.Manuel Novoa III2004-01-171-0/+4
|
* Prevent runaway asserts, which can happen if there's a problem withManuel Novoa III2004-01-171-9/+15
| | | | stdio or locales.
* We need to link with libgcc.a when creating shared libs, in order toManuel Novoa III2004-01-168-9/+11
| | | | | avoid problems 'hidden symbol' problems. Also handle -lfloat for the soft-float arm case.
* s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen2004-01-1623-63/+63
|
* Fixup selection of endianness, since select does not work on choiceEric Andersen2004-01-1615-10/+71
| | | | | items, we have to declare what endianness cpus are capable of supporting and work using dependancies.
* Minor updates from linux 2.6.1Eric Andersen2004-01-163-15/+32
|
* Link with libfloat if necessary.Manuel Novoa III2004-01-161-1/+1
|
* Make sure we remove -fomit-frame-pointer from the ldso build. It'sDavid McCullough2004-01-161-0/+3
| | | | | | | inclusion will cause the loader to crash when jumping to the application. The reason is due to the START macro having a "leave" instruction included to fixup the stack before starting the app.
* Include missing errno.h header (as noted by Alan Hourihane).Eric Andersen2004-01-141-3/+5
| | | | | Fix uninitialized pthread mutex used to lock the list of aligned memory blocks.
* Use the gcc 3.4 -funit-at-a-time optimization when availableEric Andersen2004-01-141-1/+3
|
* Ok.. we need to link with libgcc.a for some archs. I haven't looked atManuel Novoa III2004-01-141-1/+1
| | | | | all cases, but the archs I've looked at do build the needed routines as PIC so we should be ok.
* Add a dummy (always fails) wcsftime. This is needed for the libstdc++ localeManuel Novoa III2004-01-143-2/+36
| | | | implementation to build. Later this month I'll add a functional wcsftime.
* Add another devfs subdir to the list of checked subdirs.Manuel Novoa III2004-01-131-0/+1
|
* Fixup dated commentsEric Andersen2004-01-131-3/+2
|
* Oops... Seems I forgot an else...Manuel Novoa III2004-01-121-0/+1
|
* As mjn3 noticed, 64 bit arches should select UCLIBC_HAS_LFSEric Andersen2004-01-092-0/+2
|
* Some badly behaved arches fail to provide a PAGE_SIZE defineEric Andersen2004-01-061-0/+4
|
* Implement res_search and res_querydomain based on netbsd code,Eric Andersen2004-01-041-5/+203
| | | | | | but remove support for host aliases (the HOSTALIASES env variable) which looks like a very bad idea. -Erik
* Bump .deb versionEric Andersen2004-01-041-0/+6
|
* Fix paragraph seperationEric Andersen2004-01-041-0/+2
|
* spell 'pthread' properlyEric Andersen2004-01-041-1/+1
|
* Fix grammar0_9_26Eric Andersen2004-01-041-5/+5
|