summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove TOPDIRPeter S. Mazinger2005-11-211-3/+1
|
* Replace all Makefiles for new build infrastucturePeter S. Mazinger2005-10-291-69/+8
|
* Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger2005-10-121-35/+23
| | | | objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
* Build crt[in].o with disabled ssp.Peter S. Mazinger2005-09-281-3/+3
|
* Speed up clean target, don't recurse where possible, remove unneeded actionsPeter S. Mazinger2005-09-271-2/+0
|
* grab a tiny mmap implementation from glibcMike Frysinger2005-09-071-1/+1
|
* tweak $TOPDIR usage to not have duplciate //Mike Frysinger2005-07-281-2/+2
|
* Peter S. Mazinger writes: use the __syscall_error.c trick to handle setting ↵Mike Frysinger2005-07-061-1/+1
| | | | errno
* Pass main function ptr from crt1 to __uClibc_start_main.Joakim Tjernlund2005-05-211-14/+7
| | | | | | | | 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.
* 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-211-10/+1
| | | | | | | | 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
* Peter S. Mazinger writes:Eric Andersen2004-01-021-0/+10
| | | | | | | | | | | | | | | | | | | 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-051-1/+27
|
* 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-081-0/+1
| | | | | | | 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
|
* add mmap64 for i386Eric Andersen2003-06-271-1/+1
|
* Initial effort at adding profiling support.Eric Andersen2003-03-031-1/+12
|
* Update architecture specific support to consistantlyEric Andersen2003-01-231-1/+0
| | | | | | generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
* Update a tiny bitEric Andersen2003-01-231-5/+1
|
* Update sigaction syscall names to act more like glibc. Fix the x86 sigactionEric Andersen2003-01-221-1/+1
| | | | | | implementation such that gdb can actually debug signal handlers. Gdb behaves much better now, for example, on multi-threaded apps. -Erik
* Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen2002-12-121-17/+5
| | | | | | | build a crt0.o and a crt1.o. crt1.o will support ctors and dtors if such support is enabled. One more gratuitous toolchain support issue is thereby removed... -Erik
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-051-2/+2
|
* Add support for people calling syscall()Eric Andersen2002-07-241-4/+2
| | | | -Erik
* Create a much more careful ftruncate64 implementation, that shouldEric Andersen2002-04-091-1/+1
| | | | | address all the concern Miles had with the earlier versions... -Erik
* Add in support for ftruncate64 on both ARM and x86Eric Andersen2002-03-311-1/+1
| | | | -Erik
* Build our own crti.o and crtn.o with a cross arch method that IEric Andersen2002-03-131-1/+1
| | | | | can live with much better the what glibc does. -Erik
* Move syscall.h generation to the top level MakefileEric Andersen2002-03-011-1/+0
| | | | -Erik
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-011-2/+0
| | | | | and to better support each arch. This is a really big patch... -Erik
* Fixup setjmp and longjmp so they behave themselves properly nowEric Andersen2002-01-311-1/+1
| | | | | on both x86 and arm... -Erik
* Fixup setjmp implementation so it actaully works as expectedEric Andersen2002-01-301-1/+1
| | | | -Erik
* Make sbrk common, add arm/brk.c, cleanup leftover damageEric Andersen2002-01-211-1/+1
|
* Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' forEric Andersen2002-01-011-2/+2
| | | | | proper error checking -Erik
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-191-0/+1
|
* Use the asm version by default on x86. Tag _start as a function.Eric Andersen2001-12-191-1/+1
|
* Add include/sys/reg.h to make gdbserver happyEric Andersen2001-11-291-0/+1
|
* Fix the clone syscall so it actually works.Eric Andersen2001-11-141-1/+1
|
* Cleanup brk/sbrkEric Andersen2001-10-031-1/+1
|
* Update to accomodate the header file changesEric Andersen2001-09-271-0/+2
|
* remove bits/syscall.h when cleaningDavid Schleef2001-07-031-0/+1
|
* Added a script to create bits/syscall.h for each arch.Manuel Novoa III2001-06-281-1/+1
| | | | | | | | | | | NOTE!!! This is run by "make -C libc/sysdeps/linux/$(TARGET_ARCH) headers" in the main Makefile, but I only changed libc/sysdeps/linux/i386/Makefile as I had no way of testing it for the other archs. Various arch maintainers, please check and update the corresponding Makefile... or report bugs ;-)... appropriately. You'll also want to "cvs del" syscall.h and add it to a .cvsignore in $(ARCH)/bits. Also added a define to uClibc_config.h, __UCLIBC_USE_UNIFIED_SYSCALL__, and moved i386 unified syscall stuff out of common and into i386/bits/syscalls.h.
* I am very proud of myself. I managed to write a working _start forEric Andersen2001-06-151-0/+12
| | | | | x86 entirely in C -- no asm required. muahahahaha! -Erik