summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386
Commit message (Collapse)AuthorAgeFilesLines
...
* the errno settings was fixed but the return value was still being clobbered ↵Mike Frysinger2005-07-281-5/+6
| | | | ... fix that too
* tweak $TOPDIR usage to not have duplciate //Mike Frysinger2005-07-281-2/+2
|
* add some asm magic to fix setting errno/ret values in the .S functionsMike Frysinger2005-07-271-3/+19
|
* oops, we want to jmp to the syscall handler, not call itMike Frysinger2005-07-084-4/+4
|
* clean up from psm ... merge glibc updates and punt errno handling in favor ↵Mike Frysinger2005-07-071-40/+19
| | | | of jockes trick of using __syscall_error
* dont need errno.h anymoreMike Frysinger2005-07-071-2/+0
|
* add update from psm to support 6 arguments to syscallMike Frysinger2005-07-071-6/+11
|
* Peter S. Mazinger writes: use the __syscall_error.c trick to handle setting ↵Mike Frysinger2005-07-065-84/+55
| | | | errno
* err, need to commit the rest of the changes from psm tooMike Frysinger2005-07-061-8/+3
|
* Peter S. Mazinger writes: we dont need features.hMike Frysinger2005-07-061-1/+1
|
* syntax touchups as suggested by Peter S. MazingerMike Frysinger2005-07-0611-97/+93
|
* need to include features.h to get uclibc definesMike Frysinger2005-06-292-0/+4
|
* declare init/fini as weak if __UCLIBC_CTOR_DTOR__ is turned offMike Frysinger2005-06-291-0/+5
|
* Change L_Scrt1 to __PIC__ and delete old crt0.SJoakim Tjernlund2005-06-252-133/+1
|
* Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT toJoakim Tjernlund2005-05-281-3/+3
| | | | | | | | 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.
* Add back .size for _start Joakim Tjernlund2005-05-281-0/+1
|
* Clean it up a little.Joakim Tjernlund2005-05-261-10/+6
|
* Adapt x86 to new __uClibc_start_main.Joakim Tjernlund2005-05-261-96/+106
|
* Adapt startup code in x86 and PPC to almost match glibc. _init vs. ↵Joakim Tjernlund2005-05-251-5/+6
| | | | | | __libc_csu_init and _fini vs. __libc_csu_fini remains to do.
* Pass main function ptr from crt1 to __uClibc_start_main.Joakim Tjernlund2005-05-212-14/+132
| | | | | | | | Kill old crt0/__uClibc_main. This breaks ABI. All apps and toolchain needs to be recompiled. All archs except x86 are now broken and need to be fixed as x86. PPC will be fixed shortly by me, the rest is left to the arch maintainers.
* Added new 'bits/atomic.h' for most of the architectures and the top-level ↵"Steven J. Hill"2005-05-121-0/+366
| | | | 'include/atomic.h' to add in new atomic operations for use by NPTL. There are multiple files for PowerPC and Sparc for 'atomic.h'. I will let those architecture maintainers choose the correct file. The files come from glibc in 'sysdeps/ARCH/bits'.
* Pass _dl_fini function ptr to __uClibc_start_main().Joakim Tjernlund2005-03-201-1/+2
| | | | | | 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.
* no more cvsMike Frysinger2005-02-121-1/+0
|
* merge parallel build supportMike Frysinger2005-01-251-6/+5
|
* Patch from Peter S. Mazinger to simplify PIE handlingEric Andersen2004-12-221-4/+0
|
* Patch from Peter S. Mazinger to consistantly use "ASFLAGS"Eric Andersen2004-12-221-6/+5
| | | | as the flags for all calls to 'as'
* Peter Mazinger writes:Joakim Tjernlund2004-10-141-3/+7
| | | | | | | | | | | | | | | 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)
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-214-110/+2
| | | | | | | | 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
* Fixup PAGE_SIZE problemsEric Andersen2004-08-131-3/+1
| | | | -Erik
* Cleanup some dead wood in the header filesEric Andersen2004-07-301-904/+0
|
* s/___brk_addr/__curbrk/gEric Andersen2004-07-301-2/+2
| | | | | | | | 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
* Per comments from Bernhard Rosenkraenzer, adjust gcc 3.3.x generated asmEric Andersen2004-06-122-38/+24
| | | | with s/i686.get_pc_thunk.bx/get_pc_thunk_bx/g to make gcc 3.4 happy.
* __data_start needs to be added to all crt0.S files that don't currentlyEric Andersen2004-05-141-4/+8
| | | | have it. It is used by the boehm gc, amoung other things.
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-202-4/+4
|
* Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen2004-02-061-0/+1
| | | | | | | | | '__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
* Add __data_start needed by boehm garbage collector, in turn needed by libgcj.Manuel Novoa III2004-01-171-0/+4
|
* And just like that, clone is now fixed.... Previously theEric Andersen2004-01-031-26/+38
| | | | | error handling code was mostly broken. -Erik
* oopsEric Andersen2004-01-031-6/+0
|
* Minor changesEric Andersen2004-01-031-13/+24
|
* Peter S. Mazinger writes:Eric Andersen2004-01-022-2/+33
| | | | | | | | | | | | | | | | | | | 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
* Lethal noticed that the generated file gmon-start.S was notEric Andersen2003-12-031-0/+2
| | | | being cleaned up.
* Remove SAFECFLAGS. It was a workaround for failures in old awk scriptEric Andersen2003-11-221-11/+3
| | | | | | | | | | 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.
* Darn. Fix compilation for soft-float, which I inadvertantlyEric Andersen2003-11-081-5/+7
| | | | broke a couple of days ago. :-(
* Begin the conversion to using per-arch crti.S and crtn.SEric Andersen2003-11-053-1/+100
|
* properly deal with soft-float when profiling as wellEric Andersen2003-10-251-0/+3
|
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-3/+2
| | | | | | | | | | 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.
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-2/+2
| | | | | | | 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).
* Patch from Atsushi Nemoto (with some additions):Eric Andersen2003-10-082-0/+99
| | | | | | | 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.
* Fix "subst -g,," problem for SAFECFLAGS.Manuel Novoa III2003-09-211-1/+1
|
* Some updates from glibc. mjn3 reports this fixes profilingEric Andersen2003-09-071-2/+7
| | | | on i386, at least, so seems like a good thing.