16234Srie /*
26234Srie * CDDL HEADER START
36234Srie *
46234Srie * The contents of this file are subject to the terms of the
56234Srie * Common Development and Distribution License (the "License").
66234Srie * You may not use this file except in compliance with the License.
76234Srie *
86234Srie * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
96234Srie * or http://www.opensolaris.org/os/licensing.
106234Srie * See the License for the specific language governing permissions
116234Srie * and limitations under the License.
126234Srie *
136234Srie * When distributing Covered Code, include this CDDL HEADER in each
146234Srie * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
156234Srie * If applicable, add the following below this CDDL HEADER, with the
166234Srie * fields enclosed by brackets "[]" replaced with your own identifying
176234Srie * information: Portions Copyright [yyyy] [name of copyright owner]
186234Srie *
196234Srie * CDDL HEADER END
206234Srie */
216234Srie
226234Srie /*
23*11594SSurya.Prakki@Sun.COM * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
246234Srie * Use is subject to license terms.
256234Srie */
266234Srie
276234Srie /*
286234Srie * Supplemental Pseudo-code to get lint to consider these symbols used.
296234Srie */
306234Srie #include <msg.h>
316234Srie #include <_elfwrap.h>
326234Srie
33*11594SSurya.Prakki@Sun.COM #pragma error_messages(off, E_STATIC_UNUSED)
34*11594SSurya.Prakki@Sun.COM
35*11594SSurya.Prakki@Sun.COM static void
foo()366234Srie foo()
376234Srie {
386234Srie (void) _elfwrap_msg((Msg)&__elfwrap_msg[0]);
396234Srie }
406234Srie
416234Srie #if defined(_ELF64)
426234Srie int
input32(int argc,char ** argv,const char * prog,const char * ofile,ObjDesc_t * odp)436234Srie input32(int argc, char **argv, const char *prog, const char *ofile,
446234Srie ObjDesc_t *odp)
456234Srie {
466234Srie return (input64(argc, argv, prog, ofile, odp));
476234Srie }
486234Srie
496234Srie int
output32(const char * prog,int fd,const char * ofile,ushort_t mach,ObjDesc_t * odp)506234Srie output32(const char *prog, int fd, const char *ofile, ushort_t mach,
516234Srie ObjDesc_t *odp)
526234Srie {
536234Srie return (output64(prog, fd, ofile, mach, odp));
546234Srie }
556234Srie #else
566234Srie int
input64(int argc,char ** argv,const char * prog,const char * ofile,ObjDesc_t * odp)576234Srie input64(int argc, char **argv, const char *prog, const char *ofile,
586234Srie ObjDesc_t *odp)
596234Srie {
606234Srie return (input32(argc, argv, prog, ofile, odp));
616234Srie }
626234Srie int
output64(const char * prog,int fd,const char * ofile,ushort_t mach,ObjDesc_t * odp)636234Srie output64(const char *prog, int fd, const char *ofile, ushort_t mach,
646234Srie ObjDesc_t *odp)
656234Srie {
666234Srie return (output32(prog, fd, ofile, mach, odp));
676234Srie }
686234Srie #endif
69