elf.h (8bde7f776c77b343aca29b8c7b58464d915ac245) | elf.h (ef1464cc01cf9dcab52396283bf597e609caa450) |
---|---|
1/* 2 * Copyright (c) 1995, 1996, 2001, 2002 3 * Erik Theisen. 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 --- 29 unchanged lines hidden (view full) --- 38 defined(__FreeBSD__) || \ 39 defined(__sun__) || \ 40 defined(__APPLE__) 41#include <inttypes.h> 42#elif defined(__linux__) && defined(USE_HOSTCC) 43#include <stdint.h> 44#endif 45 | 1/* 2 * Copyright (c) 1995, 1996, 2001, 2002 3 * Erik Theisen. 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 --- 29 unchanged lines hidden (view full) --- 38 defined(__FreeBSD__) || \ 39 defined(__sun__) || \ 40 defined(__APPLE__) 41#include <inttypes.h> 42#elif defined(__linux__) && defined(USE_HOSTCC) 43#include <stdint.h> 44#endif 45 |
46#ifdef __CYGWIN__ 47#include <sys/types.h> 48typedef unsigned long int uint32_t; 49typedef unsigned short uint16_t; 50typedef unsigned char uint8_t; 51#endif /* __CYGWIN__ */ 52 | |
53/* 54 * This version doesn't work for 64-bit ABIs - Erik. 55 */ 56 57/* 58 * These typedefs need to be handled better. 59 */ 60typedef uint32_t Elf32_Addr; /* Unsigned program address */ --- 548 unchanged lines hidden --- | 46/* 47 * This version doesn't work for 64-bit ABIs - Erik. 48 */ 49 50/* 51 * These typedefs need to be handled better. 52 */ 53typedef uint32_t Elf32_Addr; /* Unsigned program address */ --- 548 unchanged lines hidden --- |