summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/Makefile
AgeCommit message (Collapse)Author
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-01-02Peter S. Mazinger writes:Eric Andersen
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
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-05Begin 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-06-27add mmap64 for i386Eric Andersen
2003-03-03Initial effort at adding profiling support.Eric Andersen
2003-01-23Update architecture specific support to consistantlyEric Andersen
generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
2003-01-23Update a tiny bitEric Andersen
2003-01-22Update sigaction syscall names to act more like glibc. Fix the x86 sigactionEric Andersen
implementation such that gdb can actually debug signal handlers. Gdb behaves much better now, for example, on multi-threaded apps. -Erik
2002-12-12Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen
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
2002-09-05Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader
2002-07-24Add support for people calling syscall()Eric Andersen
-Erik
2002-04-09Create a much more careful ftruncate64 implementation, that shouldEric Andersen
address all the concern Miles had with the earlier versions... -Erik
2002-03-31Add in support for ftruncate64 on both ARM and x86Eric Andersen
-Erik
2002-03-13Build our own crti.o and crtn.o with a cross arch method that IEric Andersen
can live with much better the what glibc does. -Erik
2002-03-01Move syscall.h generation to the top level MakefileEric Andersen
-Erik
2002-03-01Major rework of the include files to eliminate redundancyEric Andersen
and to better support each arch. This is a really big patch... -Erik
2002-01-31Fixup setjmp and longjmp so they behave themselves properly nowEric Andersen
on both x86 and arm... -Erik
2002-01-30Fixup setjmp implementation so it actaully works as expectedEric Andersen
-Erik
2002-01-21Make sbrk common, add arm/brk.c, cleanup leftover damageEric Andersen
2002-01-01Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' forEric Andersen
proper error checking -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-12-19Use the asm version by default on x86. Tag _start as a function.Eric Andersen
2001-11-29Add include/sys/reg.h to make gdbserver happyEric Andersen
2001-11-14Fix the clone syscall so it actually works.Eric Andersen
2001-10-03Cleanup brk/sbrkEric Andersen
2001-09-27Update to accomodate the header file changesEric Andersen
2001-07-03remove bits/syscall.h when cleaningDavid Schleef
2001-06-28Added a script to create bits/syscall.h for each arch.Manuel Novoa III
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.
2001-06-15I am very proud of myself. I managed to write a working _start forEric Andersen
x86 entirely in C -- no asm required. muahahahaha! -Erik
2001-05-26Makefile targets to symlink arch-specific headers into include/ (onlyDavid Schleef
used on mipsel.)
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-03-20Fix longjmp on i386. Also adds siglongjmp.Manuel Novoa III
2001-03-06Move fork to common/syscalls (with NO_MMU check). Add Makefile to sparc soManuel Novoa III
make clean works.
2001-03-04Fixed vfork on i386. Reduced size of __uClibc_syscall.Manuel Novoa III
2001-01-16Remove an extra "/" from the crt0 pathEric Andersen
2001-01-16Makefile fixesEric Andersen
2001-01-15Use the name crt0.o, and cp it to $(TOPDIR)/libcrt0.oEric Andersen
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen
2000-12-13Handle fork and vfork on a per architecture basis...Eric Andersen
2000-11-04Fix doc blunder.Eric Andersen
2000-11-04Make spelling of uClibc be consistant.Eric Andersen
2000-10-29Fix up stat so we translate from kernel stat to libc stat. Try to fixEric Andersen
up a few little things with dir entry reading. busybox now compiles, and seems to basically work... :-) -Erik