summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/Makefile
AgeCommit message (Collapse)Author
2004-01-21Sort all the filesEric Andersen
2004-01-21Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen
-Erik
2004-01-21Add pollEric Andersen
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-11-12Add support for missing ntp_gettime and ntp_adjtimeEric Andersen
2003-11-05Kill initfini.awkEric Andersen
2003-10-25Add -msoft-float to SAFECFLAGS when necessary.Manuel Novoa III
2003-10-20Fix a stupid bug that caused uClibc to never provide the correctEric Andersen
fpu_control.h header file, since the correct arch specific one was always later overwritten by the generic one. oops. -Erik
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-18Peter Kjellerstedt writes:Eric Andersen
install.patch: * Define $(INSTALL) as install in Rules.mak. * Change all occurrences of install into $(INSTALL). * Change all occurrences of mkdir -p into $(INSTALL) -d. install -d is already used in a number of places so this should not be an additional compatibility problem.
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-07Remove profil.c, since it is constained within gmon.c.Manuel Novoa III
2003-09-06Add an implementation of profil(), based on the version fromEric Andersen
glibc, with several changes for use in uClibc.
2003-08-08Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen
syscalls, which had managed to stay unimplemented thus far. -Erik
2003-07-15Patch from Peter Kjellerstedt to make it simpler for arches to specifyEric Andersen
either -fPIC or -fpic
2003-03-05Default to using fork() for vfork() when no arch specificEric Andersen
implementation of vfork is present.
2003-03-03Initial effort at adding profiling support.Eric Andersen
2003-02-18Fixup ioctl so we can special case powerpc sillinessEric Andersen
2003-02-17Using -g when doing the initfini compilation breaks the SH4 case prettyDavid McCullough
badly. I have removed -g for all platforms as I suspect no one wants it for the initfini creation process.
2003-02-15Fix a _ton_ of system call user type/kernel type translationEric Andersen
problems, causing user space to get scrambled hosed up results. -Erik
2003-01-30Use correct names for dummy crti.o/crtn.o files.Miles Bader
2003-01-29Create stub crti.o and crtn.o files when UCLIBC_CTOR_DTOR is disabledEric Andersen
-Erik
2003-01-28Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen
and did cause segfaults) by adjusting the working scandir.c to the the 64 thing. Fix up potential for mismatches between the libc and kernel dirent structures, which could also cause ugly problems. -Erik
2003-01-24I thought it would be smaller to inline since these funcs are small.Eric Andersen
Well, not inlining saves 300 bytes, so do that instead. -Erik
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-23Cleanup makefiles and make clean a bitEric Andersen
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-11-27Make support for global constructors and global destructors beEric Andersen
configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
2002-11-14Implement sendfile64Eric Andersen
-Erik
2002-11-05Patch from Stefan Allius. Include CPU_CFLAGS when compilingEric Andersen
initfini
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-10-25Overwriting the crt1.o link is fineEric Andersen
2002-10-25Be nicer to gcc -- add a link for crt1.oEric Andersen
2002-10-18This patch, based on a patch from Stefan Allius, lets us pick anEric Andersen
appropriate awk implementation at compile time, so we can again compile on Solaris and whatnot. -Erik
2002-10-14Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplementEric Andersen
my little initfini.pl script in awk. This eliminates uClibc's compile-time dependancy on perl, and lets us use the much lighter weight awk, which facilitates building uClibc standalone environments.
2002-09-04Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"
works identically to function in glibc.
2002-08-28If the initfini.pl script changes, regenerate the crt[in].S files.David McCullough
2002-08-23(initfini.s): Search the uClibc include dir, so we can find <features.h>.Miles Bader
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
2002-08-19Work from Stefan Allius which allows superH to use the commonEric Andersen
method for building crti.o and crtn.o
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
2002-07-15Rework pread and pwrite support so it should actually work.Eric Andersen
Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik
2002-06-18Cleanup the getcwd implementation (again) since I broke itEric Andersen
last night. Restore malloc-ing when buf=NULL for the syscall version... Move getcwd to libc/sysdeps/linux/common and out of syscalls.c so there is just one getcwd.o object present. -Erik
2002-06-18Kill kernel_version.c, which is completely meaningless crapEric Andersen
and didn't even work. -Erik
2002-04-24Add support for mmap64Eric Andersen
-Erik
2002-04-09Add creat64Eric Andersen
-Erik
2002-04-09Add truncate64.cEric Andersen
2002-04-09Create a much more careful ftruncate64 implementation, that shouldEric Andersen
address all the concern Miles had with the earlier versions... -Erik