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 */ 210Sstevel@tonic-gate 220Sstevel@tonic-gate /* 23*1618Srie * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*1618Srie * Use is subject to license terms. 25*1618Srie */ 26*1618Srie /* LINTLIBRARY */ 27*1618Srie /* PROTOLIB1 */ 280Sstevel@tonic-gate 290Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 300Sstevel@tonic-gate 310Sstevel@tonic-gate /* 32*1618Srie * Supplemental Pseudo-code to get lint to consider these symbols used. 330Sstevel@tonic-gate */ 34*1618Srie #include <sys/types.h> 35*1618Srie #include <libelf.h> 36*1618Srie #include <conv.h> 37*1618Srie #include <msg.h> 38*1618Srie #include <_elfdump.h> 390Sstevel@tonic-gate 400Sstevel@tonic-gate void 410Sstevel@tonic-gate foo() 420Sstevel@tonic-gate { 430Sstevel@tonic-gate (void) _elfdump_msg((Msg)&__elfdump_msg[0]); 440Sstevel@tonic-gate } 45*1618Srie 46*1618Srie #if defined(_ELF64) 47*1618Srie void 48*1618Srie regular32(const char *file, Elf *elf, uint32_t flags, char *Nname, int wfd) 49*1618Srie { 50*1618Srie regular64(file, elf, flags, Nname, wfd); 51*1618Srie } 52*1618Srie #else 53*1618Srie void 54*1618Srie regular64(const char *file, Elf *elf, uint32_t flags, char *Nname, int wfd) 55*1618Srie { 56*1618Srie regular32(file, elf, flags, Nname, wfd); 57*1618Srie } 58*1618Srie #endif 59