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*24da5b34Srie# Copyright 2007 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 40c1c6f601SrieSUNWprivate_4.2 { 415aefb655Srie global: 42*24da5b34Srie 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; 535aefb655Srie ld32_make_sections; 545aefb655Srie ld64_make_sections; 555aefb655Srie ld32_ofl_cleanup; 565aefb655Srie ld64_ofl_cleanup; 575aefb655Srie ld32_process_open; 585aefb655Srie ld64_process_open; 595aefb655Srie ld32_reloc_init; 605aefb655Srie ld64_reloc_init; 615aefb655Srie ld32_reloc_process; 625aefb655Srie ld64_reloc_process; 635aefb655Srie ld32_sym_validate; 645aefb655Srie ld64_sym_validate; 655aefb655Srie ld32_update_outfile; 665aefb655Srie ld64_update_outfile; 675aefb655Srie local: 685aefb655Srie *; 695aefb655Srie}; 705aefb655Srie 715aefb655Srie# The following functions must be provided by our caller, or one of the 725aefb655Srie# callers dependencies. 735aefb655Srie 747c478bd9Sstevel@tonic-gate{ 757c478bd9Sstevel@tonic-gate global: 767c478bd9Sstevel@tonic-gate eprintf = FUNCTION extern; 777c478bd9Sstevel@tonic-gate}; 78