10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*1618Srie# Common Development and Distribution License (the "License"). 6*1618Srie# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 21*1618Srie 22*1618Srie# 23*1618Srie# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*1618Srie# Use is subject to license terms. 25*1618Srie# 26*1618Srie# ident "%Z%%M% %I% %E% SMI" 27*1618Srie# 280Sstevel@tonic-gate# Generic interface definition for usr/src/cmd/sgs/libld. 290Sstevel@tonic-gate# 300Sstevel@tonic-gate# For information regarding the establishment of versioned definitions see: 310Sstevel@tonic-gate# The Linker and Libraries Manual (version 2.5 or greater) 320Sstevel@tonic-gate# This is part of the Developers Guide in the Answerbook. Specifically refer 330Sstevel@tonic-gate# to Chapter 2 under section "Defining Additional Symbols" through section 340Sstevel@tonic-gate# "Reducing Symbol Scope", and Chapter 5 "Versioning". 350Sstevel@tonic-gate# 360Sstevel@tonic-gate# For specific OSNET rules for the modification (evolution) of these version 370Sstevel@tonic-gate# definitions see: 380Sstevel@tonic-gate# Policy for Shared Library Version Names and Interface Definitions 390Sstevel@tonic-gate 40*1618SrieSUNWprivate_4.1 { 41*1618Srie global: 42*1618Srie dbg_print; 43*1618Srie 44*1618Srie ld32_main; 45*1618Srie ld64_main; 46*1618Srie 47*1618Srie ld32_create_outfile; 48*1618Srie ld64_create_outfile; 49*1618Srie ld32_ent_setup; 50*1618Srie ld64_ent_setup; 51*1618Srie ld32_make_sections; 52*1618Srie ld64_make_sections; 53*1618Srie ld32_ofl_cleanup; 54*1618Srie ld64_ofl_cleanup; 55*1618Srie ld32_process_open; 56*1618Srie ld64_process_open; 57*1618Srie ld32_reloc_init; 58*1618Srie ld64_reloc_init; 59*1618Srie ld32_reloc_process; 60*1618Srie ld64_reloc_process; 61*1618Srie ld32_sym_validate; 62*1618Srie ld64_sym_validate; 63*1618Srie ld32_update_outfile; 64*1618Srie ld64_update_outfile; 65*1618Srie 66*1618Srie st_new; 67*1618Srie local: 68*1618Srie *; 69*1618Srie}; 70*1618Srie 71*1618Srie# The following functions must be provided by our caller, or one of the 72*1618Srie# callers dependencies. 73*1618Srie 740Sstevel@tonic-gate{ 750Sstevel@tonic-gate global: 760Sstevel@tonic-gate eprintf = FUNCTION extern; 770Sstevel@tonic-gate}; 78