summaryrefslogtreecommitdiff
path: root/lib/csu
AgeCommit message (Expand)Author
2024-08-17effectively revert revision 1.7.Peter Hessler
2023-11-19need to use a slightly different asm syntax..Theo de Raadt
2023-11-18oops another copy of the prototypeTheo de Raadt
2023-11-18crt0 uses a helper function in a MD src/libexec/ld.so .h file (rather thanTheo de Raadt
2023-07-27Make _eprol (and _etext) hidden. Fixes "cc -pg" on arm64 where theMark Kettenis
2023-04-25Add missing endbr64 instructions as required. Verified as neccessary withTheo de Raadt
2023-04-25placing .align after the function start is crazy. other things are ensuringTheo de Raadt
2023-03-31Add "bti c" where needed for BTI control flow integrety checks.Mark Kettenis
2022-10-27hppa and mips64 have private copies of RCRT0_RELRO(), which shouldTheo de Raadt
2022-10-21static binaries self-mprotect their relro in crt0. mimmutable() also worksTheo de Raadt
2022-01-31Inline RELOC_* into boot_md.c and simplify the code based on whatPhilip Guenther
2022-01-12Lift the '#ifdef RCRT0' conditional out of boot*.h to crt0.cPhilip Guenther
2021-12-17Declare pthread_atfork as weak to avoid a fatal error with LLVM 13Jeremie Courreges-Anglas
2021-11-16Sync boot.h with ld.so's boot.c, getting rid of struct boot_dyn,Philip Guenther
2021-11-14Split out the hppa and mips64 versions of boot.h similar to how IPhilip Guenther
2021-07-22Delete unused non-PIC code.Mark Kettenis
2021-05-16Correct problem in riscv64 dtors execution load the function pointerDale Rahn
2021-04-28Riscv64 csu supportDale Rahn
2020-10-20Use a trap instruction that unconditionally terminates the process.Visa Hankala
2020-10-19replace ad-hoc illegal instruction with the architecturally defined oneChristian Weisgerber
2020-10-15crt0 MD _dl_exit() performs syscall to SYS_exit directly, but thenTheo de Raadt
2020-10-14use symbolic SYS_exit rather than 1, and skip usingTheo de Raadt
2020-10-14use symbolic SYS_exit instead of the value 1Theo de Raadt
2020-06-27Prevent the use of jump tables on powerpc64 as well.Mark Kettenis
2020-06-26Fix powerpc64 pie binraries, in register renumbering one line was missed.Dale Rahn
2020-06-25disable altivec and vsx as it causes issues in qemu testing.Dale Rahn
2020-06-25PowerPC64 startup code.Dale Rahn
2020-05-19Disable builtins on ppc in order to prevent the compiler from optimizing inmortimer
2020-03-13Anthony Steinhauser reports that 32-bit arm cpus have the same speculationTheo de Raadt
2020-03-11Anthony Steinhauser reports that 32-bit arm cpus have the same speculationTheo de Raadt
2020-02-18Now that the kernel skips the two instructions immediately followingMark Kettenis
2020-01-26Insert two nop instructions after each svc #0 instruction in userland.Mark Kettenis
2019-07-01Need to compile rcrt0.o with -fno-jump-tables on powerpc as well.Mark Kettenis
2019-06-28Since clang only supports the "secure" PLT ABI for "big" PIC/PIE on powerpc,Mark Kettenis
2019-05-10ld.so boot cleanup support:Philip Guenther
2019-05-08Call _csu_finish() before {pre,}init_array functions so that in staticPhilip Guenther
2019-04-19Work around a limitation of clang integrated assembler on mips64.Visa Hankala
2019-04-19Prevent clang from using builtins and jump tables in _dl_boot_bind()Visa Hankala
2019-03-23Separate symbol name and type with a comma for consistency andVisa Hankala
2019-02-24Remove -S from install commandskn
2019-01-09Use static consistently with definitions of functions that have beenVisa Hankala
2018-12-21Add support for {preinit,init,fini}_array sections in static binariesPhilip Guenther
2018-11-22Make alpha less special: _dl_boot_bind() is written to completePhilip Guenther
2018-10-06Insert definitions of environ and __progname in MD_CRT0_START again.Kenji Aoyama
2018-07-24Fix address calculation for _DYNAMIC. We want to address of _DYNAMIC itself,Mark Kettenis
2018-06-16Add add PIE support for m88k (requires gcc4 toolchain)Philip Guenther
2017-08-12Fix dependency generation: pass ${DFLAGS} and -MF explicitlyPhilip Guenther
2017-08-11_dl_printf is no longer referenced by RELOC_{JMPREL,DYN,GOT}; delete the stubPhilip Guenther
2017-07-10remove misc. depend and yacc nits that no longer matter.Marc Espie
2017-02-26Our certbegin/certend is always PIC, so remove the non-PIC MD_SECT_CALL_FUNC()Mark Kettenis