17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 55aefb655Srie# Common Development and Distribution License (the "License"). 65aefb655Srie# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 215aefb655Srie 225aefb655Srie# 23*ba2be530Sab196087# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 245aefb655Srie# Use is subject to license terms. 255aefb655Srie# 265aefb655Srie# ident "%Z%%M% %I% %E% SMI" 275aefb655Srie# 287c478bd9Sstevel@tonic-gate# Generic interface definition for usr/src/cmd/sgs/libld. 297c478bd9Sstevel@tonic-gate# 307c478bd9Sstevel@tonic-gate# For information regarding the establishment of versioned definitions see: 317c478bd9Sstevel@tonic-gate# The Linker and Libraries Manual (version 2.5 or greater) 327c478bd9Sstevel@tonic-gate# This is part of the Developers Guide in the Answerbook. Specifically refer 337c478bd9Sstevel@tonic-gate# to Chapter 2 under section "Defining Additional Symbols" through section 347c478bd9Sstevel@tonic-gate# "Reducing Symbol Scope", and Chapter 5 "Versioning". 357c478bd9Sstevel@tonic-gate# 367c478bd9Sstevel@tonic-gate# For specific OSNET rules for the modification (evolution) of these version 377c478bd9Sstevel@tonic-gate# definitions see: 387c478bd9Sstevel@tonic-gate# Policy for Shared Library Version Names and Interface Definitions 397c478bd9Sstevel@tonic-gate 40*ba2be530Sab196087SUNWprivate_4.3 { 415aefb655Srie global: 4224da5b34Srie dbg_print = NODIRECT; # interposed - ld(1) and ld.so.1(1) 435aefb655Srie 445aefb655Srie ld32_main; 455aefb655Srie ld64_main; 465aefb655Srie 475aefb655Srie ld32_create_outfile; 485aefb655Srie ld64_create_outfile; 495aefb655Srie ld32_ent_setup; 505aefb655Srie ld64_ent_setup; 51c1c6f601Srie ld32_init_strings; 52c1c6f601Srie ld64_init_strings; 53*ba2be530Sab196087 ld32_init_target; 54*ba2be530Sab196087 ld64_init_target; 555aefb655Srie ld32_make_sections; 565aefb655Srie ld64_make_sections; 575aefb655Srie ld32_ofl_cleanup; 585aefb655Srie ld64_ofl_cleanup; 595aefb655Srie ld32_process_open; 605aefb655Srie ld64_process_open; 615aefb655Srie ld32_reloc_init; 625aefb655Srie ld64_reloc_init; 635aefb655Srie ld32_reloc_process; 645aefb655Srie ld64_reloc_process; 655aefb655Srie ld32_sym_validate; 665aefb655Srie ld64_sym_validate; 675aefb655Srie ld32_update_outfile; 685aefb655Srie ld64_update_outfile; 695aefb655Srie local: 705aefb655Srie *; 715aefb655Srie}; 725aefb655Srie 735aefb655Srie# The following functions must be provided by our caller, or one of the 745aefb655Srie# callers dependencies. 755aefb655Srie 767c478bd9Sstevel@tonic-gate{ 777c478bd9Sstevel@tonic-gate global: 787c478bd9Sstevel@tonic-gate eprintf = FUNCTION extern; 797c478bd9Sstevel@tonic-gate}; 80