summaryrefslogtreecommitdiffstats
path: root/sys/arm/include/elf.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r268993, r268893, r268994, plus partial r264070, r264082ian2014-08-101-0/+3
| | | | | | | | Fix C++ exception handling for ARM EABI. Just the part of r264070 that creates the FBSD_1.4 namespace in libc is hand-applied, and then r264082 which creates the Versions.def entry is MFC'd.
* Reserve AT_TIMEKEEP auxv entry for providing usermode the pointer tokib2012-06-221-0/+1
| | | | | | timekeeping information. MFC after: 1 week
* trim trailing whitespaceimp2012-06-131-2/+2
|
* Add AT_STACKPROT elf aux vector. Will be used to inform rtld about thekib2011-01-071-1/+2
| | | | initial stack protection set by the kernel image activator.
* Supply some useful information to the started image using ELF aux vectors.kib2010-08-171-2/+8
| | | | | | | | In particular, provide pagesize and pagesizes array, the canary value for SSP use, number of host CPUs and osreldate. Tested by: marius (sparc64) MFC after: 1 month
* Define architectural load bases for PIE binaries. Addresses were selectedkib2009-10-101-0/+3
| | | | | | | | | | by looking at the bases used for non-relocatable executables by gnu ld(1), and adjusting it slightly. Discussed with: bz Reviewed by: kan Tested by: bz (i386, amd64), bsam (linux) MFC after: some time
* Add AT_EXECPATH ELF auxinfo entry type. The value's a_ptr is a pointerkib2009-03-171-1/+2
| | | | | | | | | | to the full path of the image that is being executed. Increase AT_COUNT. Remove no longer true comment about types used in Linux ELF binaries, listed types contain FreeBSD-specific entries. Reviewed by: kan
* AT_DEBUG and AT_BRK were OBE like 10 years ago, so retire them.imp2008-12-171-4/+0
| | | | Reviewed by: peter
* PR:jb2006-10-041-34/+0
| | | | | | | | | | | | | | Submitted by: Reviewed by: Approved by: Obtained from: MFC after: Security: Move the relocation definitions to the common elf header so that DTrace can use them on one architecture targeted to a different one. Add the additional ELF types defines in Sun's "Linker and Libraries" manual.
* Use ELFDATA2MSB if we're building big endian.cognet2006-08-241-0/+4
| | | | Noticed by: Oleksandr Tymoshenko <gonzo freebsd org>
* Use a magic number to know we were started from the elf wrapper.cognet2005-11-241-0/+5
| | | | Add a dummy _start function to make the non-elf version of the wrapper work.
* Add the Elf32_Auxinfo declaretion.cognet2004-05-041-1/+35
| | | | | Define AT_*. (Maybe some of this could go in a MI header ?)
* Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bitpeter2003-09-251-12/+0
| | | | | | | | | | | | | | | | | | | | | systems where the data/stack/etc limits are too big for a 32 bit process. Move the 5 or so identical instances of ELF_RTLD_ADDR() into imgact_elf.c. Supply an ia32_fixlimits function. Export the clip/default values to sysctl under the compat.ia32 heirarchy. Have mmap(0, ...) respect the current p->p_limits[RLIMIT_DATA].rlim_max value rather than the sysctl tweakable variable. This allows mmap to place mappings at sensible locations when limits have been reduced. Have the imgact_elf.c ld-elf.so.1 placement algorithm use the same method as mmap(0, ...) now does. Note that we cannot remove all references to the sysctl tweakable maxdsiz etc variables because /etc/login.conf specifies a datasize of 'unlimited'. And that causes exec etc to fail since it can no longer find space to mmap things.
* Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loaderps2001-10-101-1/+1
| | | | | | | tunable. Reviewed by: peter MFC after: 2 weeks
* Fix style of defines.obrien2001-06-091-1/+1
|
* StrongARM platform-specific definitions.obrien2001-01-041-0/+106
OpenPOWER on IntegriCloud