mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Define some machine characteristics using symbol naming on conventions
in place in the other BSD's.
This commit is contained in:
parent
087c83fe7d
commit
bf9380893a
2 changed files with 14 additions and 2 deletions
|
|
@ -23,7 +23,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: elf.h,v 1.1 1997/05/21 23:07:28 jdp Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_ELF_H_
|
||||
|
|
@ -103,4 +103,10 @@ typedef struct { /* Auxiliary vector entry on initial stack */
|
|||
|
||||
#define R_386_COUNT 11 /* Count of defined relocation types. */
|
||||
|
||||
/* Define "machine" characteristics */
|
||||
#define ELF_TARG_CLASS ELFCLASS32
|
||||
#define ELF_TARG_DATA ELFDATA2LSB
|
||||
#define ELF_TARG_MACH EM_386
|
||||
#define ELF_TARG_VER 1
|
||||
|
||||
#endif /* !_MACHINE_ELF_H_ */
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: elf.h,v 1.1 1997/05/21 23:07:28 jdp Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_ELF_H_
|
||||
|
|
@ -103,4 +103,10 @@ typedef struct { /* Auxiliary vector entry on initial stack */
|
|||
|
||||
#define R_386_COUNT 11 /* Count of defined relocation types. */
|
||||
|
||||
/* Define "machine" characteristics */
|
||||
#define ELF_TARG_CLASS ELFCLASS32
|
||||
#define ELF_TARG_DATA ELFDATA2LSB
|
||||
#define ELF_TARG_MACH EM_386
|
||||
#define ELF_TARG_VER 1
|
||||
|
||||
#endif /* !_MACHINE_ELF_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue