elf_repl.h | elf_repl.h | |||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Library General Public License for more details. | * Library General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Library General Public | * You should have received a copy of the GNU Library General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 , USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 , USA | |||
*/ | */ | |||
/* @(#) $Id: elf_repl.h,v 1.21 2008/05/23 08:15:34 michael Exp $ */ | /* @(#) $Id: elf_repl.h,v 1.22 2009/11/01 13:04:19 michael Exp $ */ | |||
/* | /* | |||
* NEVER INCLUDE THIS FILE DIRECTLY - USE <libelf.h> INSTEAD! | * NEVER INCLUDE THIS FILE DIRECTLY - USE <libelf.h> INSTEAD! | |||
*/ | */ | |||
#ifndef _ELF_REPL_H | #ifndef _ELF_REPL_H | |||
#define _ELF_REPL_H | #define _ELF_REPL_H | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
skipping to change at line 975 | skipping to change at line 975 | |||
*/ | */ | |||
typedef struct { | typedef struct { | |||
Elf32_Word c_tag; | Elf32_Word c_tag; | |||
union { | union { | |||
Elf32_Word c_val; | Elf32_Word c_val; | |||
Elf32_Addr c_ptr; | Elf32_Addr c_ptr; | |||
} c_un; | } c_un; | |||
} Elf32_Cap; | } Elf32_Cap; | |||
#if __LIBELF64 | ||||
typedef struct { | typedef struct { | |||
Elf64_Xword c_tag; | Elf64_Xword c_tag; | |||
union { | union { | |||
Elf64_Xword c_val; | Elf64_Xword c_val; | |||
Elf64_Addr c_ptr; | Elf64_Addr c_ptr; | |||
} c_un; | } c_un; | |||
} Elf64_Cap; | } Elf64_Cap; | |||
#endif /* __LIBELF64 */ | ||||
#define CA_SUNW_NULL 0 /* c_un ignored */ | #define CA_SUNW_NULL 0 /* c_un ignored */ | |||
#define CA_SUNW_HW_1 1 /* c_un.c_val */ | #define CA_SUNW_HW_1 1 /* c_un.c_val */ | |||
#define CA_SUNW_SF_1 2 /* c_un.c_val */ | #define CA_SUNW_SF_1 2 /* c_un.c_val */ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif /* __cplusplus */ | #endif /* __cplusplus */ | |||
#endif /* _ELF_REPL_H */ | #endif /* _ELF_REPL_H */ | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||