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 51618Srie * Common Development and Distribution License (the "License"). 61618Srie * 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 /* 234168Sab196087 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 241618Srie * Use is subject to license terms. 251618Srie */ 261618Srie /* LINTLIBRARY */ 271618Srie /* PROTOLIB1 */ 280Sstevel@tonic-gate 290Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 300Sstevel@tonic-gate 310Sstevel@tonic-gate /* 321618Srie * Supplemental Pseudo-code to get lint to consider these symbols used. 330Sstevel@tonic-gate */ 341618Srie #include <sys/types.h> 351618Srie #include <libelf.h> 361618Srie #include <conv.h> 371618Srie #include <msg.h> 381618Srie #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 } 451618Srie 461618Srie #if defined(_ELF64) 47*5411Sab196087 int 48*5411Sab196087 regular32(const char *file, int fd, Elf *elf, uint_t flags, 49*5411Sab196087 const char *wname, int wfd) 501618Srie { 51*5411Sab196087 return (regular64(file, fd, elf, flags, wname, wfd)); 521618Srie } 531618Srie #else 54*5411Sab196087 int 55*5411Sab196087 regular64(const char *file, int fd, Elf *elf, uint_t flags, 56*5411Sab196087 const char *wname, int wfd) 571618Srie { 58*5411Sab196087 return (regular32(file, fd, elf, flags, wname, wfd)); 591618Srie } 601618Srie #endif 61