summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386/clone.S
Commit message (Collapse)AuthorAgeFilesLines
* libc/x86: fix stack unwinding and backtrace informationTimo Teräs2011-12-231-0/+17
| | | | | | | | | | | | | | | | | | | | | | | When compiled without framepointer, the DWARF-2 CFI data is required for proper stack unwinding. This patch adds the CFI information to: * syscalls (so we get proper backtrace even for release builds) the ebx hack was removed as it would complicate the CFI generation * new thread stub function (so the backtrace is clean for user created threads) Also pads the signal return trampolines separate from other functions. If CFI info was found for signal return code (which seems to happen if it's located right next a valid function), it will not be recognized as signal trampoline (gcc unwinder and gdb check first CFI info, and only if it does not exists it compares the exact opcode sequence to see if we are at signal return code block). This fixes a real crash if thread is cancelled and the cancellation handler fails to detect the signal return frame. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
* i386 specific bit for nptlAustin Foxley2009-10-171-0/+8
| | | | | | | | | * RESET_PID support for clone.S * SAVE_PID, RESTORE_PID in vfork.S * fixup syscall assembly constraints to be a little less restrictive allows arbitrary variables to be used as the syscall nr Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-7/+4
| | | | missing headers, other jump relocs removed
* revert __error -> __syscall_error change since it doesnt work for cloneMike Frysinger2005-08-121-5/+11
|
* jump straight to __syscall_errorMike Frysinger2005-08-111-8/+5
|
* oops, we want to jmp to the syscall handler, not call itMike Frysinger2005-07-081-1/+1
|
* 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
* 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-061-7/+7
|
* 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
|
* 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-301-4/+4
| | | | | | should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
* Fix the clone syscall so it actually works.Eric Andersen2001-11-141-29/+30
|
* Patch from Michael Shmulevich (michaels@jungo.com) -- functions were notManuel Novoa III2001-03-051-0/+1
| | | | declared type function.
* Remove need for the bloated sysdep.h -- we don't need it, so axe it.Eric Andersen2000-10-301-2/+3
|
* Bug ugly formatting updateEric Andersen2000-10-091-7/+4
|
* More stuff. Down to only 43 missing functions before BusyBox willEric Andersen2000-08-101-0/+87
link. Fixed socket stuff so it doesn't pull in kernel headers and stubbed out fork and clone. A few other header file cleanups. -Erik