summaryrefslogtreecommitdiff
path: root/lib/csu/boot.h
AgeCommit message (Expand)Author
2023-11-18crt0 uses a helper function in a MD src/libexec/ld.so .h file (rather thanTheo de Raadt
2022-10-21static binaries self-mprotect their relro in crt0. mimmutable() also worksTheo de Raadt
2022-01-12Lift the '#ifdef RCRT0' conditional out of boot*.h to crt0.cPhilip Guenther
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
2019-05-10ld.so boot cleanup support:Philip Guenther
2018-11-22Make alpha less special: _dl_boot_bind() is written to completePhilip Guenther
2017-01-29remove unused variablesCharles Longeau
2017-01-02Remove the (now unused) code to determine the page size. Also get rid ofMark Kettenis
2016-12-24Replace return by break; requested by guenther@Mark Kettenis
2016-12-24Remove code that reprotects the GOT based on the __got_start and __got_endMark Kettenis
2016-12-19A couple more unused variables.Kenneth R Westerback
2016-09-01retire sparcTed Unangst
2016-08-08Look for a PT_GNU_RELRO section and, if present, mprotect that rangePhilip Guenther
2016-08-07Teach mips64 to pass &_DYNAMIC to _dl_boot_bind().Philip Guenther
2016-08-07alpha already calculates &_DYNAMIC for the _reloc_alpha_got() call, soPhilip Guenther
2016-08-07Teach i386 to pass &_DYNAMIC to _dl_boot_bind()Philip Guenther
2016-08-07Psych: amd64 has been passing &_DYNAMIC to _dl_boot_bind() for 19 monthsPhilip Guenther
2016-08-07Flip the #ifdef logic: amd64, i386, and mips64 were the only static PIEPhilip Guenther
2016-07-05Missed a reference to dl_prebind.hPhilip Guenther
2016-03-12Call mprotect() via its hidden _lib_mprotect alias to avoid accidentalPhilip Guenther
2015-12-06Simplify the relocation code for the ld.so bootstrap and static pie: trackPhilip Guenther
2015-09-19Make sure we set PROT_EXEC on the GOT for BSS-PLT binaries on powerpc.Mark Kettenis
2015-08-17Do not include os-note-elf.h here, otherwise we end up with duplicate OS notesMark Kettenis
2015-07-03static pie support for sparc.Miod Vallat
2015-01-16<sys/param.h> is not needed here either.Theo de Raadt
2014-12-29Make the PLT read-only on powerpc as well.Mark Kettenis
2014-12-27Static PIE support for alpha.Mark Kettenis
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-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