summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* i386/mcount.S expects to call __mcount_internal with the 2 args passedManuel Novoa III2003-09-071-1/+1
| | | | | | | in registers. NOTE: i386/mcount.S really needs to be rewritten. It currently won't work for non-PIC builds.
* Revenge of the TypoEric Andersen2003-06-271-1/+1
|
* add mmap64 for i386Eric Andersen2003-06-272-1/+113
|
* Kill the runtime fallback to fork and make it be compile timeEric Andersen2003-06-031-19/+9
|
* Fix brokenEric Andersen2003-06-031-44/+46
|
* Clone still had a few little PIC problems....Eric Andersen2003-05-301-39/+84
|
* In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen2003-05-305-12/+12
| | | | | | should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
* Fix compile when profiling is disabledEric Andersen2003-03-041-1/+1
|
* Initial effort at adding profiling support.Eric Andersen2003-03-038-2/+276
|
* Oops. I'd left an extra invocation of sigaction in there...Eric Andersen2003-02-031-3/+1
|
* Finish up fixing stat and setting various system types.Eric Andersen2003-01-241-1/+1
|
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-29/+2
| | | | | | | | | | | | | | | type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
* Update architecture specific support to consistantlyEric Andersen2003-01-232-3/+2
| | | | | | 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
|
* simpler method for getting a 'main' reference. Make _init and _finiEric Andersen2003-01-231-6/+12
| | | | be weak so people won't need to fix their compilers
* Update sigaction syscall names to act more like glibc. Fix the x86 sigactionEric Andersen2003-01-222-1/+170
| | | | | | 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-123-61/+6
| | | | | | | 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
* I forgot to include features.hEric Andersen2002-11-291-0/+2
|
* Make support for global constructors and global destructors beEric Andersen2002-11-271-0/+9
| | | | | | configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
* Support O_STREAMINGEric Andersen2002-10-091-0/+1
|
* This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen2002-10-011-15/+12
| | | | | | | how uClibc handles _init and _fini, allowing shared lib constructors and destructors to initialize things in the correct sequence. Stefan ported the SH architecture. I then ported x86, arm, and mips. x86 and arm are working fine, but I don't think I quite got things correct for mips.
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-053-5/+5
|
* Added __kernel_fsid_t to satisfy some apps that need it.David McCullough2002-08-271-0/+8
| | | | Definitions taken from 2.4 kernel sources for each of the platforms.
* Make bits/kernel_types.h include guard names match the includeEric Andersen2002-08-261-3/+9
| | | | | | | guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
* Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III2002-08-241-0/+27
| | | | i386. This is for Erik to look at wrt the other archs.
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-241-0/+29
| | | | | header, which is not directly usable for many architectures. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-231-0/+56
| | | | | specific bits/kernel_stat.h file. -Erik