elf.h (211412) | elf.h (217097) |
---|---|
1/*- 2 * Copyright (c) 1996-1997 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1996-1997 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/sparc64/include/elf.h 211412 2010-08-17 08:55:45Z kib $ | 26 * $FreeBSD: head/sys/sparc64/include/elf.h 217097 2011-01-07 14:22:34Z kib $ |
27 */ 28 29#ifndef _MACHINE_ELF_H_ 30#define _MACHINE_ELF_H_ 1 31 32/* 33 * ELF definitions for the sparc64 architecture. 34 */ --- 50 unchanged lines hidden (view full) --- 85#define AT_EGID 14 /* Effective gid. */ 86#define AT_EXECPATH 15 /* Path to the executable. */ 87#define AT_CANARY 16 /* Canary for SSP */ 88#define AT_CANARYLEN 17 /* Length of the canary. */ 89#define AT_OSRELDATE 18 /* OSRELDATE. */ 90#define AT_NCPUS 19 /* Number of CPUs. */ 91#define AT_PAGESIZES 20 /* Pagesizes. */ 92#define AT_PAGESIZESLEN 21 /* Number of pagesizes. */ | 27 */ 28 29#ifndef _MACHINE_ELF_H_ 30#define _MACHINE_ELF_H_ 1 31 32/* 33 * ELF definitions for the sparc64 architecture. 34 */ --- 50 unchanged lines hidden (view full) --- 85#define AT_EGID 14 /* Effective gid. */ 86#define AT_EXECPATH 15 /* Path to the executable. */ 87#define AT_CANARY 16 /* Canary for SSP */ 88#define AT_CANARYLEN 17 /* Length of the canary. */ 89#define AT_OSRELDATE 18 /* OSRELDATE. */ 90#define AT_NCPUS 19 /* Number of CPUs. */ 91#define AT_PAGESIZES 20 /* Pagesizes. */ 92#define AT_PAGESIZESLEN 21 /* Number of pagesizes. */ |
93#define AT_STACKPROT 23 /* Initial stack protection. */ |
|
93 | 94 |
94#define AT_COUNT 22 /* Count of defined aux entry types. */ | 95#define AT_COUNT 24 /* Count of defined aux entry types. */ |
95 96/* Define "machine" characteristics */ 97#if __ELF_WORD_SIZE == 32 98#define ELF_TARG_CLASS ELFCLASS32 99#else 100#define ELF_TARG_CLASS ELFCLASS64 101#endif 102#define ELF_TARG_DATA ELFDATA2MSB 103#define ELF_TARG_MACH ELF_ARCH 104#define ELF_TARG_VER 1 105 106#define ET_DYN_LOAD_ADDR 0x100000 107 108#endif /* !_MACHINE_ELF_H_ */ | 96 97/* Define "machine" characteristics */ 98#if __ELF_WORD_SIZE == 32 99#define ELF_TARG_CLASS ELFCLASS32 100#else 101#define ELF_TARG_CLASS ELFCLASS64 102#endif 103#define ELF_TARG_DATA ELFDATA2MSB 104#define ELF_TARG_MACH ELF_ARCH 105#define ELF_TARG_VER 1 106 107#define ET_DYN_LOAD_ADDR 0x100000 108 109#endif /* !_MACHINE_ELF_H_ */ |