summaryrefslogtreecommitdiffstats
path: root/lib/csu
AgeCommit message (Expand)AuthorFilesLines
2020-10-20Use a trap instruction that unconditionally terminates the process.visa1-2/+2
2020-10-19replace ad-hoc illegal instruction with the architecturally defined onenaddy2-4/+4
2020-10-15crt0 MD _dl_exit() performs syscall to SYS_exit directly, but thenderaadt12-30/+24
2020-10-14use symbolic SYS_exit rather than 1, and skip usingderaadt1-4/+2
2020-10-14use symbolic SYS_exit instead of the value 1deraadt12-31/+24
2020-06-27Prevent the use of jump tables on powerpc64 as well.kettenis1-2/+3
2020-06-26Fix powerpc64 pie binraries, in register renumbering one line was missed.drahn1-2/+2
2020-06-25disable altivec and vsx as it causes issues in qemu testing.drahn1-1/+5
2020-06-25PowerPC64 startup code.drahn1-0/+124
2020-05-19Disable builtins on ppc in order to prevent the compiler from optimizing inmortimer1-2/+2
2020-03-13Anthony Steinhauser reports that 32-bit arm cpus have the same speculationderaadt1-3/+3
2020-03-11Anthony Steinhauser reports that 32-bit arm cpus have the same speculationderaadt1-1/+3
2020-02-18Now that the kernel skips the two instructions immediately followingkettenis1-3/+3
2020-01-26Insert two nop instructions after each svc #0 instruction in userland.kettenis1-1/+3
2019-07-01Need to compile rcrt0.o with -fno-jump-tables on powerpc as well.kettenis1-3/+8
2019-06-28Since clang only supports the "secure" PLT ABI for "big" PIC/PIE on powerpc,kettenis1-9/+1
2019-05-10ld.so boot cleanup support:guenther3-6/+18
2019-05-08Call _csu_finish() before {pre,}init_array functions so that in staticguenther1-3/+3
2019-04-19Work around a limitation of clang integrated assembler on mips64.visa1-1/+4
2019-04-19Prevent clang from using builtins and jump tables in _dl_boot_bind()visa1-1/+6
2019-03-23Separate symbol name and type with a comma for consistency andvisa1-2/+2
2019-02-24Remove -S from install commandskn1-2/+2
2019-01-09Use static consistently with definitions of functions that have beenvisa3-8/+8
2018-12-21Add support for {preinit,init,fini}_array sections in static binariesguenther3-2/+34
2018-11-22Make alpha less special: _dl_boot_bind() is written to completeguenther2-41/+7
2018-10-06Insert definitions of environ and __progname in MD_CRT0_START again.aoyama1-1/+5
2018-07-24Fix address calculation for _DYNAMIC. We want to address of _DYNAMIC itself,kettenis1-2/+2
2018-06-16Add add PIE support for m88k (requires gcc4 toolchain)guenther1-5/+37
2017-08-12Fix dependency generation: pass ${DFLAGS} and -MF explicitlyguenther1-8/+11
2017-08-11_dl_printf is no longer referenced by RELOC_{JMPREL,DYN,GOT}; delete the stubguenther9-61/+9
2017-07-10remove misc. depend and yacc nits that no longer matter.espie1-4/+1
2017-02-26Our certbegin/certend is always PIC, so remove the non-PIC MD_SECT_CALL_FUNC()kettenis2-30/+2
2017-02-26Use a long branch (using movw/movt) to implement MD_SECT_CALL_FUNC.kettenis1-15/+5
2017-02-19Move static variables from .data to .bss by not initializing them to zeroguenther2-6/+6
2017-01-29remove unused variableschl1-3/+1
2017-01-24Fix passing &_DYNAMIC to _dl_boot_bind; makes -static -pie work.kettenis1-2/+3
2017-01-21Make crtbegin.c and crtbeginS.c consistent on stylistic pointsguenther2-20/+16
2017-01-21Pull in declarations for main() and __init() to make clang happy.guenther2-6/+4
2017-01-21Fix misspelling in commentguenther1-2/+2
2017-01-21amd64 can build rcrt0.o with the stack-protectorguenther1-3/+10
2017-01-21Declare the symbols that label the .ctors, .dtors, .eh_frame, and .jcrguenther7-39/+95
2017-01-19MD_START is now always ___start, so expand and eliminate itguenther3-11/+4
2017-01-11Add support for AArch64.patrick1-0/+130
2017-01-02Remove the (now unused) code to determine the page size. Also get rid ofkettenis1-10/+1
2016-12-24Replace return by break; requested by guenther@kettenis1-2/+2
2016-12-24Remove code that reprotects the GOT based on the __got_start and __got_endkettenis1-11/+1
2016-12-22Don't make __CTOR_LIST__ and __DTOR_LIST__ const. This makes the .ctors andkettenis1-3/+3
2016-12-19A couple more unused variables.krw1-3/+2
2016-11-08Use sed -i to post-process .depend. This avoids permission issues causednatano1-8/+2
2016-10-15unify tmp depend generation.espie1-5/+8