summaryrefslogtreecommitdiffstats
path: root/lib/csu/crtend.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Declare the symbols that label the .ctors, .dtors, .eh_frame, and .jcrguenther2017-01-211-11/+5
| | | | | | | | | | sections as extern hidden arrays of indefinite size, so that the compiler (well, clang) doesn't believe it knows the exact contents and thus optimize things into infinite loops. Actually set the symbols to be in the sections and insert the leading and trailing values via __asm(). Problem pointed out by patrick@ testing and ok kettenis@
* gcc 2.x is deadguenther2015-04-041-3/+1
| | | | ok millert@
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-2/+2
| | | | ok guenther millert kettenis
* Sprinkle a few __used markers to prevent gcc4 from throwing away essentialkettenis2010-05-011-5/+5
| | | | | | | bits of code and data. With this change gcc4 builds usable crt*.o on sparc64, other architectures probably need some more love. ok marco@, jsg@
* Don't specify mode(SI) attribute for __EH_FRAME_END__ as we havejsg2009-07-141-2/+2
| | | | | | 32 bit ints on OpenBSD. ok kettenis@
* Add gcj java class registration hooks for gcc3 elf archs. From NetBSDkurt2009-04-131-1/+6
| | | | | | with minor differences. okay kettenis@ drahn@
* Add support for DWARF2 exception handling.kettenis2004-10-101-1/+4
| | | | ok drahn@, millert@
* add finalized guard to destructor calls, to prevent multiple calls.espie2004-01-261-1/+1
| | | | | | | stop most kde apps from burping all over the place on exit, which means that, somehow, our destructors get registered twice... :-( Okay drahn@
* small clean-up: typedef to desambiguate const, prototypes...espie2004-01-261-3/+4
| | | | ok drahn@, some time ago.
* __init/__fini handling on ELF has not been correct. It is supposed todrahn2004-01-081-4/+4
| | | | | | be a section which code stubs (branches) can be added to initialize/destructor This adds MD stubs to allow this to operate as expected. should fix wine and behave according to ELF specs. ok miod@
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-3/+3
|
* Create a common_elf directory with crtbegin and crtend that canart2001-02-031-0/+13
be shared between archs.