summaryrefslogtreecommitdiffstats
path: root/lib/csu (follow)
Commit message (Expand)AuthorAgeFilesLines
* Simplify the relocation code for the ld.so bootstrap and static pie: trackguenther2015-12-061-132/+71
* libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork()guenther2015-11-101-22/+1
* We don't need to calculate the load offset. This also means we don't needkettenis2015-09-191-8/+1
* Make sure we set PROT_EXEC on the GOT for BSS-PLT binaries on powerpc.kettenis2015-09-191-2/+10
* Fetch the _GLOBAL)OFFSET_TABLE_ and _DYNAMIC pointers in a way that'skettenis2015-09-091-43/+9
* Now that ld(1) will generate a read-only GOT for truly static binaries, wekettenis2015-09-091-72/+4
* In static binaries, invoke kbind() once to disable it.guenther2015-09-0114-17/+122
* Do not include os-note-elf.h here, otherwise we end up with duplicate OS noteskettenis2015-08-171-3/+1
* static pie support for sparc.miod2015-07-032-4/+63
* Make pthread_atfork() track the DSO that called it like atexit() does,guenther2015-04-072-2/+29
* gcc 2.x is deadguenther2015-04-044-25/+8
* argc is passed as a long by the kernel, define it as such to match whatmiod2015-02-071-2/+2
* <sys/param.h> is not needed here either.deraadt2015-01-161-2/+1
* Inline the .cpsetup pseudo-statement in rcrt0 to avoid saving the "old" gpmiod2015-01-011-2/+4
* self-relocating crt0 bits for sh, and enable static pie by default. With somemiod2014-12-301-6/+67
* Make the PLT read-only on powerpc as well.kettenis2014-12-291-2/+2
* Static PIE for mips64. Still something not quite right as a full make buildkettenis2014-12-271-1/+44
* Only include "boot.h" if MD_RCRT0_START is defined. Should fix build on vax.kettenis2014-12-271-1/+3
* Static PIE support for alpha.kettenis2014-12-272-8/+80
* Self-relocation code for powerpc.kurt2014-12-261-1/+99
* Use archdep.h GOT_PERMS define for mprotect of GOT. okay kettenis@kurt2014-12-251-2/+2
* Expand Elf_Rel relocations to include DT_JMPREL. Inspect DT_PLTREL valuekurt2014-12-241-6/+21
* Fix previos. Pointed out by kurt@.kettenis2014-12-241-2/+2
* Use the page size passed by the kernel in the Auxilliary Vector to handlekettenis2014-12-231-5/+11
* Make sure the GOT and PLT are not writable.kettenis2014-12-231-1/+23
* do not expose "ra" to cpp because it muddles up the .c code above.deraadt2014-12-231-7/+5
* Set up the linkage table register (%r19) before calling _dl_boot_bind.kettenis2014-12-231-9/+9
* Self-relocation code for i386.kurt2014-12-221-1/+50
* Self-relocation code for hppa.kettenis2014-12-221-1/+73
* Self-relocation code for sparc64.kettenis2014-12-221-1/+44
* When skipping a relocation because the referenced symbol is undefined, makekettenis2014-12-221-5/+7
* Introduce new csu0 variant for -static -pie binaries to use calledkurt2014-12-224-4/+315
* mop up a barely started project... getting in the way of grepping the tree!deraadt2014-11-222-152/+0
* Objects for the executable can be PIE instead of PIC, so remove the sparc64guenther2014-11-151-9/+1
* ELF uberalles, so move the files up out of common_elfguenther2014-11-158-578/+14
* Merge Makefiles, moving the build up a level and putting the CPU-specificguenther2014-11-1215-858/+94
* m68k is dead <sniff>guenther2014-11-103-134/+2
* It's been a quarter century: we can assume volatile is present with that name.guenther2014-04-181-2/+2
* Increase _STACKALIGNBYTES to 15 (was 7), and make sure the stack is alignedmiod2014-02-221-1/+3
* build crt*S with -fPIC instead of -fpicmiod2014-01-141-2/+2
* Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass thekettenis2013-12-284-4/+36
* Add assembly code to set up the arguments for the common C startup code. Thiskettenis2013-12-231-29/+19
* Sync Makefile with what other platforms do; makes dependency tracking actuallykettenis2013-12-231-14/+45
* Fix typo, allow hppa64 to build a little furthertobiasu2013-12-201-2/+2
* Fix static linking of libpthread: have crt0 invoke __init_tcb() if it'sguenther2013-12-122-2/+12
* correct frame handlingderaadt2013-12-041-8/+3
* Merge the per-arch crt0.c files into common_elf/crt0.c, with MD macros inguenther2013-12-0342-1775/+605
* mips64 no longer uses scrt0.o, and it was identical to crt0.o anyway.guenther2013-12-014-17/+5
* The kernel and ld.so have passed 0 in r0 for use as the cleanupguenther2013-11-101-11/+6
* The kernel and ld.so have passed 0 in r7 for use as the cleanupguenther2013-11-101-19/+5