summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-11-11It seems that the powerpc ldso doesn't like -O0Eric Andersen
2003-11-11Protect some header inclusions.Manuel Novoa III
2003-11-11Joakim Tjernlund writes:Eric Andersen
Comparing glibc with uClibc makes me think that the delta calculations are wrong here. Comparing some more I still think there are a data_words[index] assignments missing. Here is a path that has both the data_words[index] and the above delta calclations. This also fixes a terribly obvious bug, also spotted by Joakim, which Erik introduced when he copied things from the i386 ldso code. With this patch applied, things now seem to be working perfectly!
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-11Stefan Allius writes:Eric Andersen
Hello Erik, to compile the new uClibc release for a SH3 we need some little modifications: First I fix the crt[in].S files, so we can use them for big endian and little endian targets.
2003-11-11Another cleanup patch from Joakim Tjernlund:Eric Andersen
Hi again Back at work. Here is a patch that fixes the 2 errors I found yesterday. I have excluded the "data_words[index]" part for now.
2003-11-10Strip off quotes from TARGET_ARCHEric Andersen
2003-11-08Darn. Fix compilation for soft-float, which I inadvertantlyEric Andersen
broke a couple of days ago. :-(
2003-11-08Sigh. I can't type this morning.Eric Andersen
2003-11-08Joakim Tjernlund writes:Eric Andersen
Oops, found another ppc 8xx bug. 8xx CPUs may need this as well to work:
2003-11-08hide the wrapper in with the debian stuffEric Andersen
2003-11-08Update docs in preparation for releaseEric Andersen
2003-11-08kill mention of the wrapperEric Andersen
2003-11-08For now, disable the iconv utilityEric Andersen
2003-11-08Joakim Tjernlund writes:Eric Andersen
> Very interesting. Do you have any suggestions for how > we could fix our powerpc shared library loader Removing those instr. comes with a very big performance penalty. To flush the dcache you will have read up to 8KB dummy data and to invalidate the icache you will have to execute up to 16KB nops. I don't know of any other way from user space. hmm, actually I think it will work reliable to perform a store to the same page(s) as the dcbst/icbi will act on. That way you will make the DTLB Error happen(if any) prior to the dcbst/icbi. The worst thing that can happen then is a regular DTLB Miss and that works for dcbst/icbi. You will have to lookout for if dcbst/icbi crosses a page boundary. Then you will have to perform a store to both pages. Jocke # And again later writes: Hi again I think I know what the problem is. The PPC_DCBST;PPC_SYNC;PPC_ICBI;PPC_ISYNC sequence is executed even if no modification has been done i some cases: _dl_linux_resolver(), the last else has no store for insns[0]. these is a insns[1] = OPCODE_B(delta - 4) that does not have a PPC_DCBST. _dl_do_lazy_reloc(), for R_PPC_NONE there is no store. for R_PPC_JMP_SLOT there is a insns[1] = OPCODE_B(delta)that does not have a PPC_DCBST. _dl_do_reloc(), for R_PPC_COPY there is no store. for R_PPC_JMP_SLOT there is a reloc_addr[1] = OPCODE_B(delta) that does not have a PPC_DCBST. _dl_init_got(), I THINK that the PPC_DCBST(plt); PPC_DCBST(plt+4); PPC_DCBST(plt+8); PPC_SYNC; PPC_ICBI(plt); PPC_ICBI(plt+4); PPC_ICBI(plt+8); PPC_ISYNC; is off a bit. The address range does not match the sum of the plt[] and tramp[] address range. Jocke # And then later added the comment: I think that the tramp[] part should be included in the PPC_DCBST/PPC_ICBI sequence. Then you have to add entries for plt+12 and plt+16. If the tramp[] part should be excluded, then all is well. Jocke
2003-11-08Fix up several errors related to filename length and errno thatEric Andersen
showed up while running the latest LTP testsuite. -Erik
2003-11-08Add some basic cvs usage infoEric Andersen
2003-11-07Sigh. I forgot to define INSTALL which, understandable,Eric Andersen
broke the install target
2003-11-07Add clock_gettime() submitted by Justus Pendleton <uc@ryoohki.net>.Manuel Novoa III
2003-11-07remove some junk I added while debuggingEric Andersen
2003-11-07It is remotely possible the utils might even compile this timeEric Andersen
around...
2003-11-06Begin converting the client utilsEric Andersen
2003-11-06Revert change 1.26, which breaks everything. :-(Eric Andersen
2003-11-06Sigh... I wasn't checking if the gid field in a group line actuallyManuel Novoa III
contained a digit. Also adjust a comment.
2003-11-06s,(RUNTIME_PREFIX)/,(RUNTIME_PREFIX),gEric Andersen
2003-11-06s,(DEVEL_PREFIX)/,(DEVEL_PREFIX),gEric Andersen
2003-11-06Add a utility macro.Manuel Novoa III
2003-11-06Oops... don't need recursive mutexes.Manuel Novoa III
2003-11-06Rewrite the pwd.h, grp.h, and shadow.h functions (except lckpwdf/ulckpwdf).Manuel Novoa III
2003-11-06Add in aliases provided by the non arch specific implementationsEric Andersen
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-06A few debugging cleanupsEric Andersen
2003-11-06The curse of cut-n-pasteEric Andersen
2003-11-06Add some initial x86 string optimizations. These make no attempt to use niftyEric Andersen
things like mmx/3dnow/etc. These are not inline, and will therefore not be as fast as modifying the headers to use inlines (and cannot therefore do tricky things when dealing with const memory). But they should (I hope!) be faster than their generic equivalents.... More importantly, these should provide a good example for others to follow when adding arch specific optimizations. -Erik
2003-11-05Remove erroneous trailing semicolon.Manuel Novoa III
2003-11-05Fix a misnamed arrayEric Andersen
2003-11-05tiny cleanupEric Andersen
2003-11-05Rework the powerpc lib loader to better match the other architecturesEric Andersen
2003-11-05Rip the guts out of the dynamically generated sysconf.c, and live with a simpleEric Andersen
static version. This will need further work later on, but should do the job for the time being,
2003-11-05last but certinaly not least, kill off initfini.cEric Andersen
2003-11-05Add quick hacks to create fake crti.o and crtn.o files. These architecturesEric Andersen
need to be fixed properly. I tried, but I was unable to build a cross toolchain for each of these (using stock binutils and gcc) so it is someone else's problem to fix them now.
2003-11-05Kill initfini.awkEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05v850 appers to be little endian onlyEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric 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