/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
* All Rights Reserved
*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_ELF_386_H
#define _SYS_ELF_386_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* There are consumers of this file that want to include elf defines for
* all architectures. This is a problem for the defines below, because
* while they are architecture specific they have common names. Hence to
* prevent attempts to redefine these variables we'll check if any of
* the other elf architecture header files have been included. If
* they have then we'll just stick with the existing definitions.
*/
#if !defined(_SYS_ELF_MACH_COMMON)
#define _SYS_ELF_MACH_COMMON
#define _SYS_ELF_MACH_386
/*
* Plt and Got information; the first few .got and .plt entries are reserved
* PLT[0] jump to dynamic linker
* GOT[0] address of _DYNAMIC
*/
M32_PLT_ENTSIZE) /* first plt reserved */
/*
* Make common alias for the 32/64 bit specific defines based on _ELF64
*/
#if !defined(_ELF64)
/* architecture common defines */
#endif /* !_ELF64 */
#endif /* !_SYS_ELF_MACH_COMMON */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_ELF_386_H */