summaryrefslogtreecommitdiff
path: root/lib/csu
AgeCommit message (Expand)Author
2015-02-07argc is passed as a long by the kernel, define it as such to match whatMiod Vallat
2015-01-16<sys/param.h> is not needed here either.Theo de Raadt
2015-01-01Inline the .cpsetup pseudo-statement in rcrt0 to avoid saving the "old" gpMiod Vallat
2014-12-30self-relocating crt0 bits for sh, and enable static pie by default. With someMiod Vallat
2014-12-29Make the PLT read-only on powerpc as well.Mark Kettenis
2014-12-27Static PIE for mips64. Still something not quite right as a full make buildMark Kettenis
2014-12-27Only include "boot.h" if MD_RCRT0_START is defined. Should fix build on vax.Mark Kettenis
2014-12-27Static PIE support for alpha.Mark Kettenis
2014-12-26Self-relocation code for powerpc.Kurt Miller
2014-12-25Use archdep.h GOT_PERMS define for mprotect of GOT. okay kettenis@Kurt Miller
2014-12-24Expand Elf_Rel relocations to include DT_JMPREL. Inspect DT_PLTREL valueKurt Miller
2014-12-24Fix previos. Pointed out by kurt@.Mark Kettenis
2014-12-23Use the page size passed by the kernel in the Auxilliary Vector to handleMark Kettenis
2014-12-23Make sure the GOT and PLT are not writable.Mark Kettenis
2014-12-23do not expose "ra" to cpp because it muddles up the .c code above.Theo de Raadt
2014-12-23Set up the linkage table register (%r19) before calling _dl_boot_bind.Mark Kettenis
2014-12-22Self-relocation code for i386.Kurt Miller
2014-12-22Self-relocation code for hppa.Mark Kettenis
2014-12-22Self-relocation code for sparc64.Mark Kettenis
2014-12-22When skipping a relocation because the referenced symbol is undefined, makeMark Kettenis
2014-12-22Introduce new csu0 variant for -static -pie binaries to use calledKurt Miller
2014-11-22mop up a barely started project... getting in the way of grepping the tree!Theo de Raadt
2014-11-15Objects for the executable can be PIE instead of PIC, so remove the sparc64Philip Guenther
2014-11-15ELF uberalles, so move the files up out of common_elfPhilip Guenther
2013-12-28Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass theMark Kettenis
2013-12-12Fix static linking of libpthread: have crt0 invoke __init_tcb() if it'sPhilip Guenther
2013-12-03Merge the per-arch crt0.c files into common_elf/crt0.c, with MD macros inPhilip Guenther
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
2012-09-08Reverse the order that ctors and dtors are run in accordance withMatthew Dempsky
2012-08-28Add __guard_local as a hidden symbol to ld.so, kernel, and everyMatthew Dempsky
2010-05-01Sprinkle a few __used markers to prevent gcc4 from throwing away essentialMark Kettenis
2009-07-14Don't specify mode(SI) attribute for __EH_FRAME_END__ as we haveJonathan Gray
2009-04-13Add gcj java class registration hooks for gcc3 elf archs. From NetBSDKurt Miller
2009-03-06Work-around a gcc3 -g bug causing debug ld.so to crash.Kurt Miller
2009-02-04Tag ELF shared libraries as OpenBSD.Mark Kettenis
2007-09-03Add __cxa_atexit() support for gcc3. This provides support for shared object...Todd C. Miller
2004-10-26Change __register_frame_info into a weakly defined symbol.Mark Kettenis
2004-10-10Add support for DWARF2 exception handling.Mark Kettenis
2004-01-26add finalized guard to destructor calls, to prevent multiple calls.Marc Espie
2004-01-26small clean-up: typedef to desambiguate const, prototypes...Marc Espie
2004-01-08__init/__fini handling on ELF has not been correct. It is supposed toDale Rahn
2003-12-28correct array initializer size to be [1], not [0] fixes gcc3 libstdc++ errorDale Rahn
2003-11-22remove multi-line literals in __asm syntax to keep gcc3 happyAnil Madhavapeddy
2003-06-26boring protosTheo de Raadt
2003-03-31add a newline at end of file. gcc3 rightfully complains if the fileBruno Rohee
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-05-28Commonize csu code for elf systems, powerpc now no longer has it's ownDale Rahn
2001-02-03oops.Artur Grabowski
2001-02-03Schedule running of __fini in __init, not __start.Artur Grabowski
2001-02-03An OpenBSD tag doesn't hurt.Artur Grabowski