OLD | NEW |
1 /* ELF support for BFD. | 1 /* ELF support for BFD. |
2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
3 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 3 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
5 | 5 |
6 Written by Fred Fish @ Cygnus Support, from information published | 6 Written by Fred Fish @ Cygnus Support, from information published |
7 in "UNIX System V Release 4, Programmers Guide: ANSI C and | 7 in "UNIX System V Release 4, Programmers Guide: ANSI C and |
8 Programming Support Tools". | 8 Programming Support Tools". |
9 | 9 |
10 This file is part of BFD, the Binary File Descriptor library. | 10 This file is part of BFD, the Binary File Descriptor library. |
11 | 11 |
12 This program is free software; you can redistribute it and/or modify | 12 This program is free software; you can redistribute it and/or modify |
13 it under the terms of the GNU General Public License as published by | 13 it under the terms of the GNU General Public License as published by |
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 #define AT_SECURE 23 /* Boolean, was exec setuid-like? */ | 928 #define AT_SECURE 23 /* Boolean, was exec setuid-like? */ |
929 #define AT_BASE_PLATFORM 24 /* String identifying real platform, | 929 #define AT_BASE_PLATFORM 24 /* String identifying real platform, |
930 may differ from AT_PLATFORM. */ | 930 may differ from AT_PLATFORM. */ |
931 #define AT_RANDOM 25 /* Address of 16 random bytes. */ | 931 #define AT_RANDOM 25 /* Address of 16 random bytes. */ |
932 #define AT_EXECFN 31 /* Filename of executable. */ | 932 #define AT_EXECFN 31 /* Filename of executable. */ |
933 /* Pointer to the global system page used for system calls and other | 933 /* Pointer to the global system page used for system calls and other |
934 nice things. */ | 934 nice things. */ |
935 #define AT_SYSINFO 32 | 935 #define AT_SYSINFO 32 |
936 #define AT_SYSINFO_EHDR 33 /* Pointer to ELF header of system-supplied DSO. */ | 936 #define AT_SYSINFO_EHDR 33 /* Pointer to ELF header of system-supplied DSO. */ |
937 | 937 |
| 938 /* More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the |
| 939 value is -1, then the cache doesn't exist. Otherwise: |
| 940 |
| 941 bit 0-3: Cache set-associativity; 0 means fully associative. |
| 942 bit 4-7: Log2 of cacheline size. |
| 943 bit 8-31: Size of the entire cache >> 8. */ |
| 944 |
| 945 #define AT_L1I_CACHESHAPE 34 |
| 946 #define AT_L1D_CACHESHAPE 35 |
| 947 #define AT_L2_CACHESHAPE 36 |
| 948 #define AT_L3_CACHESHAPE 37 |
| 949 |
938 #define AT_SUN_UID 2000 /* Effective user ID. */ | 950 #define AT_SUN_UID 2000 /* Effective user ID. */ |
939 #define AT_SUN_RUID 2001 /* Real user ID. */ | 951 #define AT_SUN_RUID 2001 /* Real user ID. */ |
940 #define AT_SUN_GID 2002 /* Effective group ID. */ | 952 #define AT_SUN_GID 2002 /* Effective group ID. */ |
941 #define AT_SUN_RGID 2003 /* Real group ID. */ | 953 #define AT_SUN_RGID 2003 /* Real group ID. */ |
942 #define AT_SUN_LDELF 2004 /* Dynamic linker's ELF header. */ | 954 #define AT_SUN_LDELF 2004 /* Dynamic linker's ELF header. */ |
943 #define AT_SUN_LDSHDR 2005 /* Dynamic linker's section headers. */ | 955 #define AT_SUN_LDSHDR 2005 /* Dynamic linker's section headers. */ |
944 #define AT_SUN_LDNAME 2006 /* String giving name of dynamic linker. */ | 956 #define AT_SUN_LDNAME 2006 /* String giving name of dynamic linker. */ |
945 #define AT_SUN_LPAGESZ 2007 /* Large pagesize. */ | 957 #define AT_SUN_LPAGESZ 2007 /* Large pagesize. */ |
946 #define AT_SUN_PLATFORM 2008 /* Platform name string. */ | 958 #define AT_SUN_PLATFORM 2008 /* Platform name string. */ |
947 #define AT_SUN_HWCAP 2009 /* Machine dependent hints about | 959 #define AT_SUN_HWCAP 2009 /* Machine dependent hints about |
948 processor capabilities. */ | 960 processor capabilities. */ |
949 #define AT_SUN_IFLUSH 2010 /* Should flush icache? */ | 961 #define AT_SUN_IFLUSH 2010 /* Should flush icache? */ |
950 #define AT_SUN_CPU 2011 /* CPU name string. */ | 962 #define AT_SUN_CPU 2011 /* CPU name string. */ |
951 #define AT_SUN_EMUL_ENTRY 2012 /* COFF entry point address. */ | 963 #define AT_SUN_EMUL_ENTRY 2012 /* COFF entry point address. */ |
952 #define AT_SUN_EMUL_EXECFD 2013 /* COFF executable file descriptor. */ | 964 #define AT_SUN_EMUL_EXECFD 2013 /* COFF executable file descriptor. */ |
953 #define AT_SUN_EXECNAME 2014 /* Canonicalized file name given to execve. */ | 965 #define AT_SUN_EXECNAME 2014 /* Canonicalized file name given to execve. */ |
954 #define AT_SUN_MMU 2015 /* String for name of MMU module. */ | 966 #define AT_SUN_MMU 2015 /* String for name of MMU module. */ |
955 #define AT_SUN_LDDATA 2016 /* Dynamic linker's data segment address. */ | 967 #define AT_SUN_LDDATA 2016 /* Dynamic linker's data segment address. */ |
956 #define AT_SUN_AUXFLAGS 2017 /* AF_SUN_ flags passed from the kernel. */ | 968 #define AT_SUN_AUXFLAGS 2017 /* AF_SUN_ flags passed from the kernel. */ |
957 | 969 |
958 | 970 |
959 #endif /* _ELF_COMMON_H */ | 971 #endif /* _ELF_COMMON_H */ |
OLD | NEW |