summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc
AgeCommit message (Collapse)Author
2005-05-28Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT toJoakim Tjernlund
be able to run apps built with 0.9.27. This also renames __uClibc_start_main to __uClibc_main. This compat option should be removed some time after 0.9.28 is released. Let me know if you don't like this change.
2005-05-26Pass the aligned stack ptr, not the unaligned.Joakim Tjernlund
2005-05-26Fix PPC wrt new __uClibc_start_main.Joakim Tjernlund
2005-05-26Fix "off by one" bug.Joakim Tjernlund
2005-05-25Adapt startup code in x86 and PPC to almost match glibc. _init vs. ↵Joakim Tjernlund
__libc_csu_init and _fini vs. __libc_csu_fini remains to do.
2005-05-21Update PowerPC to new ABI.Joakim Tjernlund
2005-05-11This file is no longer used. kill it.Eric Andersen
2005-05-07Hopefully fix the problem reported by Peter Mazinger,Joakim Tjernlund
see http://uclibc.org/lists/uclibc/2005-May/011667.html for details. Not tested by me but I am sure Peter will :) The toolchain needs to be rebuilt.
2005-04-24Fix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctlJoakim Tjernlund
syscalls. This won't work on 2.2 kernels(I think).
2005-03-21Pass _dl_fini function ptr to __uClibc_start_main().Joakim Tjernlund
To actually use it, one must define _DL_DO_FINI_IN_LIBC globally. That will also break ABI for apps linked with previous version of crtX.S. They must be relinked with this version to work again.
2005-02-12no more cvsMike Frysinger
2005-01-25merge parallel build supportMike Frysinger
2004-12-22Patch from Peter S. Mazinger to simplify PIE handlingEric Andersen
2004-12-22Patch from Peter S. Mazinger to consistantly use "ASFLAGS"Eric Andersen
as the flags for all calls to 'as'
2004-12-06Add missing definition for O_DIRECTEric Andersen
2004-11-17Make __builtin_return_address() return NULL at top ofJoakim Tjernlund
stack frame. This will make backtracing possible.
2004-10-14Peter Mazinger writes:Joakim Tjernlund
The attached patch generalizes the use of PIE (all archs are brought in sync that use/mention it: x86/ppc/frv) and makes use of it building the target utils. Tested on x86, ppc should be tested, frv uses -fPIE at one location, but at another place -fpie, I don't know which is correct (could be both) and misses the target addition in Config.in. The test for ppc (requires the earlier sent crt-correction patch to work correctly): enable UCLIBC_PIE_SUPPORT, build uClibc and utils, check: file ./utils/ldd, it should show shared object (instead of executable)
2004-08-30Typo fix from Peter Mazinger.Joakim Tjernlund
2004-08-27Preliminary PIE support for powerpc, i386 was used as template.Joakim Tjernlund
Requested by Peter Mazinger. Testing wanted.
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-07-30s/___brk_addr/__curbrk/gEric Andersen
Some utilities, such as valgrind, have a legitimate reason to know the address of the current brk. Since we know such utils will peek under our skirt, we might as well give them what they expect and not use a gratuitously different symbol name. -Erik
2004-05-14__data_start needs to be added to all crt0.S files that don't currentlyEric Andersen
have it. It is used by the boehm gc, amoung other things.
2004-04-20Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen
2004-02-06Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen
'__kernel_old_dev_t'. And of course there is no good way to know which is in use except checking linux/version.h. Grumble. This is rather lame, but for now, define __kernel_old_dev_t to be the same as __kernel_dev_t. This will want to be revisited soon. -Erik
2004-01-30Andrew May writes:Eric Andersen
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.
2004-01-21Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen
-Erik
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it. Same applies to uClibc/libc/sysdeps/linux/powerpc/__longjmp.S Hope there aren't other files I've missed :)
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it.
2003-12-03Lethal noticed that the generated file gmon-start.S was notEric Andersen
being cleaned up.
2003-11-22Remove SAFECFLAGS. It was a workaround for failures in old awk scriptEric Andersen
used to generate the crti.S and crtn.S files. Since we don't use that anymore, keeping the workaround makes no sense. Furthermore, in most cases, SAFECFLAGS was not picking up all the needed flags, causing crti.o and crtn.o to not be built PIC. Which is very bad. Removing SAFECFLAGS and using CFLAGS fixes that as well.
2003-11-08Darn. Fix compilation for soft-float, which I inadvertantlyEric Andersen
broke a couple of days ago. :-(
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-10-25properly deal with soft-float when profiling as wellEric Andersen
2003-10-18Peter Kjellerstedt writes:Eric Andersen
ln.patch: * Define $(LN) as ln in Rules.mak. * Change all occurrences of ln into $(LN). * Change all constructs like (cd path && ln -sf foo/file file) into $(LN) -sf foo/file path/file. The latter construct is already used in a number of places so it should not be an additional compatibility problem.
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-10-08Patch from Atsushi Nemoto (with some additions):Eric Andersen
Current uClibc contains only one fpu_control.h and it is i386 version. This is a patch to use platform specific fpu_control.h. All new files come from glibc 2.3.2. This patch is against 0.9.21 but also can be applied to CVS as is.
2003-09-21Fix "subst -g,," problem for SAFECFLAGS.Manuel Novoa III
2003-09-07Some updates from glibc. mjn3 reports this fixes profilingEric Andersen
on i386, at least, so seems like a good thing.
2003-08-14Use the common version for bits/sem.h. Fixup the types toEric Andersen
match the kernel type exactly.
2003-08-04For sparc, powerpc, mips, and alpha we should also use theEric Andersen
common ipc.h header and struct definitions. -Erik
2003-08-01Remove the arch specific shm.h and use the fixed up commonEric Andersen
one which now uses the kernel structs -Erik
2003-07-03As noted by Felix Radensky back on 16 Mar:Eric Andersen
I've tried several times to compile uClibc with soft-float (both gcc-3.2.2 toolchain and wrapper), but applications compiled with uClibc always failed with "Invalid instruction". So I ended up disabling floating point at all and this works well. I also has no problem with glibc from Monta Vista, which is compiled with soft-float. My processor is PowerPC 405GP. Maybe the problem is in FP() macro definition in libc/sysdeps/linux/powerpc/setjmp.S and libc/sysdeps/linux/powerpc/__longjmp.S #ifdef __UCLIBC_HAS_FLOATS__ #define FP(x...) x #else #define FP(x...) #endif which should be defined as if defined __UCLIBC_HAS_FLOATS__ && ! defined __UCLIBC_HAS_SOFT_FLOAT__ #define FP(x...) x #else #define FP(x...) #endif
2003-06-15Implement syscall() for powerpc. Fixup syscall code soEric Andersen
it compiles properly with gcc 3.3. -Erik
2003-05-30In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen
should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
2003-03-06Finish off gmon based profiling for powerpcEric Andersen
2003-03-05The vfork system call on powerpc seems to be completelyEric Andersen
broken. Use fork instead, per glibc behavior.
2003-03-03Initial effort at adding profiling support.Eric Andersen
2003-02-24Fixup some small issues that show up when large file support is disabledEric Andersen
2003-02-18Fixup ioctl so we can special case powerpc sillinessEric Andersen
2003-02-16Fixup powerpc syscalls to eliminate warnings with gcc-3.2, and fixEric Andersen
some other minor warnings.