readelf.h (139368) | readelf.h (159764) |
---|---|
1/* 2 * Copyright (c) Christos Zoulas 2003. 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 --- 36 unchanged lines hidden (view full) --- 45typedef uint8_t Elf32_Char; 46 47#if SIZEOF_UINT64_T != 8 48#define USE_ARRAY_FOR_64BIT_TYPES 49typedef uint32_t Elf64_Addr[2]; 50typedef uint32_t Elf64_Off[2]; 51typedef uint32_t Elf64_Xword[2]; 52#else | 1/* 2 * Copyright (c) Christos Zoulas 2003. 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 --- 36 unchanged lines hidden (view full) --- 45typedef uint8_t Elf32_Char; 46 47#if SIZEOF_UINT64_T != 8 48#define USE_ARRAY_FOR_64BIT_TYPES 49typedef uint32_t Elf64_Addr[2]; 50typedef uint32_t Elf64_Off[2]; 51typedef uint32_t Elf64_Xword[2]; 52#else |
53#undef USE_ARRAY_FOR_64BIT_TYPES |
|
53typedef uint64_t Elf64_Addr; 54typedef uint64_t Elf64_Off; 55typedef uint64_t Elf64_Xword; 56#endif 57typedef uint16_t Elf64_Half; 58typedef uint32_t Elf64_Word; 59typedef uint8_t Elf64_Char; 60 --- 157 unchanged lines hidden (view full) --- 218#define NT_AUXV 6 219 220/* Note types used in executables */ 221/* NetBSD executables (name = "NetBSD") */ 222#define NT_NETBSD_VERSION 1 223#define NT_NETBSD_EMULATION 2 224#define NT_FREEBSD_VERSION 1 225#define NT_OPENBSD_VERSION 1 | 54typedef uint64_t Elf64_Addr; 55typedef uint64_t Elf64_Off; 56typedef uint64_t Elf64_Xword; 57#endif 58typedef uint16_t Elf64_Half; 59typedef uint32_t Elf64_Word; 60typedef uint8_t Elf64_Char; 61 --- 157 unchanged lines hidden (view full) --- 219#define NT_AUXV 6 220 221/* Note types used in executables */ 222/* NetBSD executables (name = "NetBSD") */ 223#define NT_NETBSD_VERSION 1 224#define NT_NETBSD_EMULATION 2 225#define NT_FREEBSD_VERSION 1 226#define NT_OPENBSD_VERSION 1 |
227#define NT_DRAGONFLY_VERSION 1 |
|
226/* GNU executables (name = "GNU") */ 227#define NT_GNU_VERSION 1 228 229/* GNU OS tags */ 230#define GNU_OS_LINUX 0 231#define GNU_OS_HURD 1 232#define GNU_OS_SOLARIS 2 233 234#endif | 228/* GNU executables (name = "GNU") */ 229#define NT_GNU_VERSION 1 230 231/* GNU OS tags */ 232#define GNU_OS_LINUX 0 233#define GNU_OS_HURD 1 234#define GNU_OS_SOLARIS 2 235 236#endif |