1 # 2 # CDDL HEADER START 3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License (the "License"). 6 # You may not use this file except in compliance with the License. 7 # 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 # or http://www.opensolaris.org/os/licensing. 10 # See the License for the specific language governing permissions 11 # and limitations under the License. 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 # If applicable, add the following below this CDDL HEADER, with the 16 # fields enclosed by brackets "[]" replaced with your own identifying 17 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # 19 # CDDL HEADER END 20 # 21 22 # 23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 # Generic interface definition for usr/src/cmd/sgs/libld. 27 # 28 29 # 30 # MAPFILE HEADER START 31 # 32 # WARNING: STOP NOW. DO NOT MODIFY THIS FILE. 33 # Object versioning must comply with the rules detailed in 34 # 35 # usr/src/lib/README.mapfiles 36 # 37 # You should not be making modifications here until you've read the most current 38 # copy of that file. If you need help, contact a gatekeeper for guidance. 39 # 40 # MAPFILE HEADER END 41 # 42 43 SUNWprivate_4.5 { 44 global: 45 dbg_print = NODIRECT; # interposed - ld(1) and ld.so.1(1) 46 47 ld_getopt; 48 49 ld32_main; 50 ld64_main; 51 52 ld32_create_outfile; 53 ld64_create_outfile; 54 ld32_ent_setup; 55 ld64_ent_setup; 56 ld32_init_strings; 57 ld64_init_strings; 58 ld32_init_target; 59 ld64_init_target; 60 ld32_make_sections; 61 ld64_make_sections; 62 ld32_ofl_cleanup; 63 ld64_ofl_cleanup; 64 ld32_process_mem; 65 ld64_process_mem; 66 ld32_reloc_init; 67 ld64_reloc_init; 68 ld32_reloc_process; 69 ld64_reloc_process; 70 ld32_sym_validate; 71 ld64_sym_validate; 72 ld32_update_outfile; 73 ld64_update_outfile; 74 local: 75 *; 76 }; 77 78 # The following functions must be provided by our caller, or one of the 79 # callers dependencies. 80 81 { 82 global: 83 eprintf = FUNCTION extern; 84 }; 85