summaryrefslogtreecommitdiff
path: root/lib/csu
AgeCommit message (Expand)Author
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
2017-02-26Use a long branch (using movw/movt) to implement MD_SECT_CALL_FUNC.Mark Kettenis
2017-02-19Move static variables from .data to .bss by not initializing them to zeroPhilip Guenther
2017-01-29remove unused variablesCharles Longeau
2017-01-24Fix passing &_DYNAMIC to _dl_boot_bind; makes -static -pie work.Mark Kettenis
2017-01-21Make crtbegin.c and crtbeginS.c consistent on stylistic pointsPhilip Guenther
2017-01-21Pull in declarations for main() and __init() to make clang happy.Philip Guenther
2017-01-21Fix misspelling in commentPhilip Guenther
2017-01-21amd64 can build rcrt0.o with the stack-protectorPhilip Guenther
2017-01-21Declare the symbols that label the .ctors, .dtors, .eh_frame, and .jcrPhilip Guenther
2017-01-19MD_START is now always ___start, so expand and eliminate itPhilip Guenther
2017-01-11Add support for AArch64.Patrick Wildt
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-22Don't make __CTOR_LIST__ and __DTOR_LIST__ const. This makes the .ctors andMark Kettenis
2016-12-19A couple more unused variables.Kenneth R Westerback
2016-11-08Use sed -i to post-process .depend. This avoids permission issues causedMartin Natano
2016-10-15unify tmp depend generation.Marc Espie
2016-10-03Simplify code that sets up a stack frame for running .init code to be moreMark Kettenis
2016-09-26Now that vax has been removed, nothing defined MD_NO_CLEANUP anymore.Mark Kettenis
2016-09-08Implement self-relocation for -static -pie on arm. Also removes someMark Kettenis
2016-09-03Enable PIE on arm now that sjlj exceptions are no longer used afterJonathan Gray
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-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
2016-05-07Declare moncontrol(3) APIs in <sys/gmon.h>Philip Guenther
2016-03-24Unbreak arm and m88k: COPY relocations for weak symbols that are overloadedPhilip Guenther
2016-03-20Rearrange C runtime bits: now that ld.so exports environ and __progname,Philip Guenther
2016-03-13crt0.c is already setting environ, so don't set it in MD_START_SETUPPhilip Guenther
2016-03-12Call mprotect() via its hidden _lib_mprotect alias to avoid accidentalPhilip Guenther
2016-03-09We are done providing support for the vax.Theo de Raadt
2015-12-06Simplify the relocation code for the ld.so bootstrap and static pie: trackPhilip Guenther
2015-11-10libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork()Philip Guenther
2015-09-19We don't need to calculate the load offset. This also means we don't needMark Kettenis
2015-09-19Make sure we set PROT_EXEC on the GOT for BSS-PLT binaries on powerpc.Mark Kettenis
2015-09-09Fetch the _GLOBAL)OFFSET_TABLE_ and _DYNAMIC pointers in a way that'sMark Kettenis
2015-09-09Now that ld(1) will generate a read-only GOT for truly static binaries, weMark Kettenis
2015-09-01In static binaries, invoke kbind() once to disable it.Philip Guenther
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