elf_repl.h   elf_repl.h 
/* /*
elf_repl.h - public header file for systems that lack it. elf_repl.h - public header file for systems that lack it.
Copyright (C) 1995 - 2002 Michael Riepe <michael@stud.uni-hannover.de> Copyright (C) 1995 - 2002 Michael Riepe
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
/* @(#) $Id: elf_repl.h,v 1.13 2003/10/25 15:22:59 michael Exp $ */ /* @(#) $Id: elf_repl.h,v 1.18 2005/05/21 15:39:21 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 169 skipping to change at line 169
#define ELFOSABI_LINUX 3 /* Linux */ #define ELFOSABI_LINUX 3 /* Linux */
#define ELFOSABI_SOLARIS 6 /* Sun Solaris */ #define ELFOSABI_SOLARIS 6 /* Sun Solaris */
#define ELFOSABI_AIX 7 /* AIX */ #define ELFOSABI_AIX 7 /* AIX */
#define ELFOSABI_IRIX 8 /* IRIX */ #define ELFOSABI_IRIX 8 /* IRIX */
#define ELFOSABI_FREEBSD 9 /* FreeBSD */ #define ELFOSABI_FREEBSD 9 /* FreeBSD */
#define ELFOSABI_TRU64 10 /* Compaq TRU64 UNIX */ #define ELFOSABI_TRU64 10 /* Compaq TRU64 UNIX */
#define ELFOSABI_MODESTO 11 /* Novell Modesto */ #define ELFOSABI_MODESTO 11 /* Novell Modesto */
#define ELFOSABI_OPENBSD 12 /* Open BSD */ #define ELFOSABI_OPENBSD 12 /* Open BSD */
#define ELFOSABI_OPENVMS 13 /* Open VMS */ #define ELFOSABI_OPENVMS 13 /* Open VMS */
#define ELFOSABI_NSK 14 /* Hewlett-Packard Non-Stop Kernel * / #define ELFOSABI_NSK 14 /* Hewlett-Packard Non-Stop Kernel * /
#define ELFOSABI_AROS 15 /* Amiga Research OS */
/* these are probably obsolete: */ /* these are probably obsolete: */
#define ELFOSABI_ARM 97 /* ARM */ #define ELFOSABI_ARM 97 /* ARM */
#define ELFOSABI_STANDALONE 255 /* standalone (embedded) application */ #define ELFOSABI_STANDALONE 255 /* standalone (embedded) application */
/* /*
* e_type * e_type
*/ */
#define ET_NONE 0 #define ET_NONE 0
#define ET_REL 1 #define ET_REL 1
#define ET_EXEC 2 #define ET_EXEC 2
skipping to change at line 272 skipping to change at line 273
#define EM_PJ 91 /* picoJava */ #define EM_PJ 91 /* picoJava */
#define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */ #define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */
#define EM_ARC_A5 93 /* ARC Cores Tangent-A5 */ #define EM_ARC_A5 93 /* ARC Cores Tangent-A5 */
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */ #define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
#define EM_VIDEOCORE 95 /* Alphamosaic VideoCore processor */ #define EM_VIDEOCORE 95 /* Alphamosaic VideoCore processor */
#define EM_TMM_GPP 96 /* Thompson Multimedia General Purpose Proce ssor */ #define EM_TMM_GPP 96 /* Thompson Multimedia General Purpose Proce ssor */
#define EM_NS32K 97 /* National Semiconductor 32000 series */ #define EM_NS32K 97 /* National Semiconductor 32000 series */
#define EM_TPC 98 /* Tenor Network TPC processor */ #define EM_TPC 98 /* Tenor Network TPC processor */
#define EM_SNP1K 99 /* Trebia SNP 1000 processor */ #define EM_SNP1K 99 /* Trebia SNP 1000 processor */
#define EM_ST200 100 /* STMicroelectronics (www.st.com) ST200 mic rocontroller */ #define EM_ST200 100 /* STMicroelectronics (www.st.com) ST200 mic rocontroller */
#define EM_NUM 101 #define EM_IP2K 101 /* Ubicom IP2xxx microcontroller family */
#define EM_MAX 102 /* MAX Processor */
#define EM_CR 103 /* National Semiconductor CompactRISC microp
rocessor */
#define EM_F2MC16 104 /* Fujitsu F2MC16 */
#define EM_MSP430 105 /* Texas Instruments embedded microcontrolle
r msp430 */
#define EM_BLACKFIN 106 /* Analog Devices Blackfin (DSP) processor *
/
#define EM_SE_C33 107 /* S1C33 Family of Seiko Epson processors */
#define EM_SEP 108 /* Sharp embedded microprocessor */
#define EM_ARCA 109 /* Arca RISC Microprocessor */
#define EM_UNICORE 110 /* Microprocessor series from PKU-Unity Ltd.
and MPRC of Peking University */
#define EM_NUM 111
/* /*
* e_ident[EI_VERSION], e_version * e_ident[EI_VERSION], e_version
*/ */
#define EV_NONE 0 #define EV_NONE 0
#define EV_CURRENT 1 #define EV_CURRENT 1
#define EV_NUM 2 #define EV_NUM 2
/* /*
* Section header * Section header
skipping to change at line 530 skipping to change at line 541
* Note entry header * Note entry header
*/ */
typedef struct { typedef struct {
Elf32_Word n_namesz; /* name size */ Elf32_Word n_namesz; /* name size */
Elf32_Word n_descsz; /* descriptor size */ Elf32_Word n_descsz; /* descriptor size */
Elf32_Word n_type; /* descriptor type */ Elf32_Word n_type; /* descriptor type */
} Elf32_Nhdr; } Elf32_Nhdr;
#if __LIBELF64 #if __LIBELF64
/* Solaris and GNU use this layout. Be compatible. */ /* Solaris and GNU use this layout. Be compatible. */
/* XXX: Latest ELF specs say it's 64-bit?! */ /* XXX: Latest ELF specs say it's 64-bit!!! */
typedef struct { typedef struct {
Elf64_Word n_namesz; /* name size */ Elf64_Word n_namesz; /* name size */
Elf64_Word n_descsz; /* descriptor size */ Elf64_Word n_descsz; /* descriptor size */
Elf64_Word n_type; /* descriptor type */ Elf64_Word n_type; /* descriptor type */
} Elf64_Nhdr; } Elf64_Nhdr;
#endif /* __LIBELF64 */ #endif /* __LIBELF64 */
/* /*
* Well-known descriptor types for ET_CORE files * Well-known descriptor types for ET_CORE files
*/ */
 End of changes. 6 change blocks. 
5 lines changed or deleted 20 lines changed or added


 nlist.h   nlist.h 
/* /*
nlist.h - public header file for nlist(3). * nlist.h - public header file for nlist(3).
Copyright (C) 1995 - 1998 Michael Riepe <michael@stud.uni-hannover.de> * Copyright (C) 1995 - 1998, 2004 Michael Riepe
*
This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public * modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
*
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US
*/ A
*/
/* @(#) $Id: nlist.h,v 1.3 1998/06/01 19:47:24 michael Exp $ */ /* @(#) $Id: nlist.h,v 1.7 2005/05/21 15:39:25 michael Exp $ */
#ifndef _NLIST_H #ifndef _NLIST_H
#define _NLIST_H #define _NLIST_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
struct nlist { struct nlist {
char* n_name; char* n_name;
long n_value; long n_value;
short n_scnum; short n_scnum;
unsigned short n_type; unsigned short n_type;
char n_sclass; char n_sclass;
char n_numaux; char n_numaux;
}; };
#if __STDC__ || defined(__cplusplus) #if __STDC__ || defined(__cplusplus) || defined(_WIN32)
extern int nlist(const char *__filename, struct nlist *__nl); extern int nlist(const char *__filename, struct nlist *__nl);
#else /* __STDC__ || defined(__cplusplus) */ #else /* __STDC__ || defined(__cplusplus) */
extern int nlist(); extern int nlist();
#endif /* __STDC__ || defined(__cplusplus) */ #endif /* __STDC__ || defined(__cplusplus) */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* _NLIST_H */ #endif /* _NLIST_H */
 End of changes. 3 change blocks. 
19 lines changed or deleted 20 lines changed or added


 sys_elf.h   sys_elf.h 
/* lib/sys_elf.h. Generated automatically by configure. */ /* lib/sys_elf.h. Generated automatically by configure. */
/* /*
sys_elf.h.in - configure template for private "switch" file. sys_elf.h.in - configure template for private "switch" file.
Copyright (C) 1998 - 2001 Michael Riepe <michael@stud.uni-hannover.de> Copyright (C) 1998 - 2001 Michael Riepe
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
/* @(#) $Id: sys_elf.h.in,v 1.8 2001/10/05 19:05:25 michael Exp $ */ /* @(#) $Id: sys_elf.h.in,v 1.11 2005/05/21 15:39:26 michael Exp $ */
/* /*
* DO NOT USE THIS IN APPLICATIONS - #include <libelf.h> INSTEAD! * DO NOT USE THIS IN APPLICATIONS - #include <libelf.h> INSTEAD!
*/ */
/* Define to `<elf.h>' or `<sys/elf.h>' if one of them is present */ /* Define to `<elf.h>' or `<sys/elf.h>' if one of them is present */
#define __LIBELF_HEADER_ELF_H <elf.h> #define __LIBELF_HEADER_ELF_H <elf.h>
/* Define if Elf32_Dyn is declared in <link.h> */ /* Define if Elf32_Dyn is declared in <link.h> */
/* #undef __LIBELF_NEED_LINK_H */ /* #undef __LIBELF_NEED_LINK_H */
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/