reloc.h revision ba2be53024c0b999e74ba9adcd7d80fec5df8c57
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * CDDL HEADER START
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * The contents of this file are subject to the terms of the
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * Common Development and Distribution License (the "License").
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * You may not use this file except in compliance with the License.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * See the License for the specific language governing permissions
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * and limitations under the License.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * When distributing Covered Code, include this CDDL HEADER in each
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * If applicable, add the following below this CDDL HEADER, with the
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * fields enclosed by brackets "[]" replaced with your own identifying
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * information: Portions Copyright [yyyy] [name of copyright owner]
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * CDDL HEADER END
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * Use is subject to license terms.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#pragma ident "%Z%%M% %I% %E% SMI"
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#if defined(_KERNEL)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#endif /* _KERNEL */
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * Global include file for relocation common code.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * In user land, redefine the relocation table and relocation engine to be
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * class/machine specific if necessary. This allows multiple engines to
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * reside within a single instance of libld.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#if !defined(_KERNEL)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#if defined(_ELF64)
#if defined(_ELF64)
#if defined(_ELF64)
#if defined(_KERNEL)
#if defined(_KERNEL)
#if defined(__amd64)
extern const char *demangle(const char *);
#ifdef __cplusplus