summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/abort.c
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-6/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* hostid: improve extremely unreadable partsDenis Vlasenko2008-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | *: remove checks of sigaction and sigprocmask results in cases where they clearly can't fail: sigaction(known_good_sig) sigprocmask(known_good_how) text data bss dec hex filename - 393 4 0 397 18d libc/pwd_grp/lckpwdf.o + 382 4 0 386 182 libc/pwd_grp/lckpwdf.o - 56 0 0 56 38 libc/signal/sigblock.o + 44 0 0 44 2c libc/signal/sigblock.o - 211 0 0 211 d3 libc/signal/sigset.o + 202 0 0 202 ca libc/signal/sigset.o - 56 0 0 56 38 libc/signal/sigsetmask.o + 44 0 0 44 2c libc/signal/sigsetmask.o - 309 0 0 309 135 libc/unistd/sleep.o + 256 0 0 256 100 libc/unistd/sleep.o
* on Bernd's request, remove commented-out code snippetsDenis Vlasenko2008-12-011-1/+0
|
* shring sugnal-relared stuff a bit. BTW why constant memset is not inlined by ↵Denis Vlasenko2008-11-291-5/+6
| | | | | | | | | | | gcc? text data bss dec hex filename - 38015 18096 8636 64747 fceb lib/libpthread-0.9.30-svn.so + 38001 18096 8636 64733 fcdd lib/libpthread-0.9.30-svn.so - 274842 1835 19012 295689 48309 lib/libuClibc-0.9.30-svn.so + 274779 1835 19012 295626 482ca lib/libuClibc-0.9.30-svn.so
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-1/+1
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-3/+3
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-1/+1
|
* - remove a couple of duplicate includesBernhard Reutner-Fischer2008-08-271-1/+0
|
* Introduce and use small[u]int type. Changes in size:Denis Vlasenko2008-05-201-1/+1
| | | | | | | | | | | | | | - 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-9/+5
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* Some warnings go awayPeter S. Mazinger2006-01-271-4/+4
|
* Make i386 build w/ -std=c99 (almost)Peter S. Mazinger2006-01-231-1/+1
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-1/+0
| | | | is a useless attempt
* move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger2006-01-191-32/+4
| | | | specific header file to make porting/updates a lot easier
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-12/+13
| | | | missing headers, other jump relocs removed
* update for newer binutilsMike Frysinger2006-01-091-1/+1
|
* fix typoMike Frysinger2006-01-081-1/+1
|
* grammar fixMike Frysinger2006-01-051-1/+1
|
* New hidden versionsPeter S. Mazinger2005-12-161-4/+6
|
* Hide _stdio_init/term, sorry, one change went mistakenly into the earlier commitPeter S. Mazinger2005-12-141-2/+2
|
* add an abort for armMike Frysinger2005-12-091-0/+2
|
* Convert the rest of users to hiddenPeter S. Mazinger2005-12-081-1/+1
|
* macro out the thread funcs in libc if threading is disabledMike Frysinger2005-12-061-5/+2
|
* More hiding, including __mempcpyPeter S. Mazinger2005-12-031-0/+2
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-2/+2
|
* Hide more of stdio,getdents, use internal __raisePeter S. Mazinger2005-11-151-1/+2
|
* Add a config option for abort() to shutdown the stdio subsystem. This isManuel Novoa III2005-07-281-0/+14
| | | | | mainly to cut down on noise in the NIST/PCTS tests since older POSIX behavior was to fclose() (and hence fflush()) all open streams.
* define an abort instruction for m68kMike Frysinger2005-07-101-0/+2
|
* define an abort instruction for alphaMike Frysinger2005-07-101-1/+3
|
* alphabetize and warn if an arch is undefinedMike Frysinger2005-07-101-7/+8
|
* whitespace/syntax updatesMike Frysinger2005-06-291-50/+50
|
* if we have a signal handler in place to cover SIGABRT, we have to make sure ↵Mike Frysinger2005-06-291-1/+3
| | | | the code that unregisters it raises SIGABRT again so the program actually aborts
* Paul Mundt lethal at linux-sh dot org writes:Eric Andersen2004-02-121-0/+2
| | | | | | | | We can't use trapa #0xff on sh2, the only permissible trapa ranges are 32 to 63. On SH-2, we use trapa32 to issue a break in the same way that trapa #0xff is used on SH-3/4. This behavior is implementation specific, but is what is used in sh-ipl+g, linux, eCos, uITRON, etc. so we follow suit here.
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-111-8/+0
| | | | | | | | Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
* Patch from Paul Mundt, lethal at linux-sh dot org,Eric Andersen2004-01-311-0/+4
| | | | add sh/sh64: ABORT_INSTRUCTION definitions
* Add missing abort instruction for powerpcEric Andersen2004-01-301-1/+5
|
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-2/+2
| | | | | | | | | | | | | | | | were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
* Fix lockingEric Andersen2002-08-081-0/+19
|
* Oops... forgot to update abort.c.Manuel Novoa III2002-03-131-4/+7
|
* Doh! Miles Bader noticed a couple of spots where I forgotEric Andersen2002-02-191-1/+1
| | | | to mark __stdio_flush_buffers with weak_function. Oops!
* Rename __stdio_close_all to __stdio_flush_buffers. Eliminate anEric Andersen2002-02-181-6/+4
| | | | unnecessary variable
* Hack the 68000 last ditch abort to work for all 68000 targets.David McCullough2001-12-051-1/+1
|
* Cleanup abort() so it behaves itself a bit betterEric Andersen2001-11-211-10/+65
|
* Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III2001-02-191-4/+5
| | | | | | | respective crt0.S. crt0.S should now only be responsible for setting things up to call __uClibc_main(argc, argv, envp), which will do any other necessary setup (setting global __environ, stdio init, etc), call main, and exit. This should ease both maintainance and porting.
* A bunch of updates, part from Manuel Novoa III (such as more long longEric Andersen2001-01-011-2/+0
| | | | | support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu.
* Make spelling of uClibc be consistant.Eric Andersen2000-11-041-1/+1
|
* Bypass problem with signals for the moment...Eric Andersen2000-10-171-0/+2
|
* Formatting updateEric Andersen2000-10-071-19/+17
|
* This is making far too much sense.Eric Andersen2000-10-041-1/+0
|