summaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/map_object.c
AgeCommit message (Expand)Author
5 daysrtld: Simplify walking program headersJohn Baldwin
2025-08-11rtld: require MAP_GUARD supportBrooks Davis
2025-07-21rtld: do not relocate tlsinit address twiceKonstantin Belousov
2025-05-06rtld-elf: Fix executable's TLS module index for direct execJessica Clarke
2025-01-21rtld-elf/map_object.c: apply clang-formatKonstantin Belousov
2024-12-06rtld: Support multiple PT_GNU_RELRO program headersJohn Baldwin
2023-08-16Remove $FreeBSD$: two-line .h patternWarner Losh
2023-06-05rtld: rename tls_done to tls_staticKonstantin Belousov
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
2023-02-15sys/param.h: Add _WANT_P_OSRELKonstantin Belousov
2023-01-04rtld: Revert "When loading dso without PT_GNU_STACK phdr, only call"John Baldwin
2022-04-07Have rtld query the page size from the kernelAndrew Turner
2021-12-06rtld: extract header validation into new helper check_elf_headers()Konstantin Belousov
2021-08-13rtld: Round down relro_sizeKonstantin Belousov
2020-09-05Undo 'fix off by one' part of r365360.Konstantin Belousov
2020-09-05rtld: Handle ELF dso with program headers outside the first page.Konstantin Belousov
2020-04-04Make p_vaddr % p_align == p_offset % p_align for (some) TLS segments.Konstantin Belousov
2019-12-12rtld: make checks for mmap(2) failures compliant with documentation.Konstantin Belousov
2019-12-12rtld: do not try to mmap a zero-sized PT_LOADBrandon Bergren
2018-11-04Remove Obj_Entry textsize member.Konstantin Belousov
2018-10-29rtld-elf: fix more warnings to allow compiling with WARNS=6Alex Richardson
2018-10-29rtld-elf: compile with WANRS=4 warnings other than -Wcast-alignAlex Richardson
2018-10-29rtld-elf: make it compile with WARNS=3Alex Richardson
2018-10-29rtld: set obj->textsize correctlyAlex Richardson
2017-11-27libexec: adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-06-24Use address space guard to implement inter-segment gap.Konstantin Belousov
2017-05-15Fix the AT_EXECFD functionality.Konstantin Belousov
2016-03-02Fix handling of DT_TEXTREL for an object with more than one read-onlyKonstantin Belousov
2016-01-30This seems like a very trivial bug that should have been squashed a longMaxim Sobolev
2015-10-14Allow PT_NOTES segments to be located anywhere in the executableKonstantin Belousov
2014-04-11Before calling mmap() on a shared library's text and data sections, rtldAlan Cox
2013-02-27Map libraries linked with -Ttext-segment=base_addr at base_addr.Tijl Coosemans
2012-08-03Parse notes only after object structure had been allocated.Alexander Kabaev
2012-06-14Eliminate the static buffer used to read the first page of the mappedKonstantin Belousov
2012-03-16Remove write-only variable.Konstantin Belousov
2012-03-14Rtld on diet 3.Konstantin Belousov
2012-03-12When iterating over the dso program headers, the object is not initializedKonstantin Belousov
2012-03-11Add support for preinit, init and fini arrays. Some ABIs, inKonstantin Belousov
2012-01-30Add support for GNU RELRO.Konstantin Belousov
2011-09-20Restore the writing of the .bss sections of the dsos (not the mainKonstantin Belousov
2011-01-25When loading dso without PT_GNU_STACK phdr, only callKonstantin Belousov
2011-01-08In rtld, read the initial stack access mode from AT_STACKPROT as setKonstantin Belousov
2009-10-06In rtld's map_object(), use pread(..., 0) rather than read() to read theRobert Watson
2009-07-17Only perform .bss mapping and cleaning operations when segment file sizeKonstantin Belousov
2009-04-10Currently, when mapping an object, rtld reserves the whole address spaceKonstantin Belousov
2009-04-10Update comment to the reality, rtld supports any number of loadable segments.Konstantin Belousov
2009-03-18Implement the dynamic string token substitution in the rpath andKonstantin Belousov
2007-04-03Implement dl_iterate_phdr function.Alexander Kabaev
2005-12-18Implement ELF symbol versioning using GNU semantics. This code aimsAlexander Kabaev
2005-02-27Attempt to free any static TLS space used by a shared library when itDoug Rabson