12722387fSrie /*
22722387fSrie * CDDL HEADER START
32722387fSrie *
42722387fSrie * The contents of this file are subject to the terms of the
52722387fSrie * Common Development and Distribution License (the "License").
62722387fSrie * You may not use this file except in compliance with the License.
72722387fSrie *
82722387fSrie * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92722387fSrie * or http://www.opensolaris.org/os/licensing.
102722387fSrie * See the License for the specific language governing permissions
112722387fSrie * and limitations under the License.
122722387fSrie *
132722387fSrie * When distributing Covered Code, include this CDDL HEADER in each
142722387fSrie * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152722387fSrie * If applicable, add the following below this CDDL HEADER, with the
162722387fSrie * fields enclosed by brackets "[]" replaced with your own identifying
172722387fSrie * information: Portions Copyright [yyyy] [name of copyright owner]
182722387fSrie *
192722387fSrie * CDDL HEADER END
202722387fSrie */
212722387fSrie
222722387fSrie /*
23*7c500f1bSSurya Prakki * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
242722387fSrie * Use is subject to license terms.
252722387fSrie */
262722387fSrie
272722387fSrie /*
282722387fSrie * Supplemental Pseudo-code to get lint to consider these symbols used.
292722387fSrie */
302722387fSrie #include <msg.h>
312722387fSrie #include <_elfwrap.h>
322722387fSrie
33*7c500f1bSSurya Prakki #pragma error_messages(off, E_STATIC_UNUSED)
34*7c500f1bSSurya Prakki
35*7c500f1bSSurya Prakki static void
foo()362722387fSrie foo()
372722387fSrie {
382722387fSrie (void) _elfwrap_msg((Msg)&__elfwrap_msg[0]);
392722387fSrie }
402722387fSrie
412722387fSrie #if defined(_ELF64)
422722387fSrie int
input32(int argc,char ** argv,const char * prog,const char * ofile,ObjDesc_t * odp)432722387fSrie input32(int argc, char **argv, const char *prog, const char *ofile,
442722387fSrie ObjDesc_t *odp)
452722387fSrie {
462722387fSrie return (input64(argc, argv, prog, ofile, odp));
472722387fSrie }
482722387fSrie
492722387fSrie int
output32(const char * prog,int fd,const char * ofile,ushort_t mach,ObjDesc_t * odp)502722387fSrie output32(const char *prog, int fd, const char *ofile, ushort_t mach,
512722387fSrie ObjDesc_t *odp)
522722387fSrie {
532722387fSrie return (output64(prog, fd, ofile, mach, odp));
542722387fSrie }
552722387fSrie #else
562722387fSrie int
input64(int argc,char ** argv,const char * prog,const char * ofile,ObjDesc_t * odp)572722387fSrie input64(int argc, char **argv, const char *prog, const char *ofile,
582722387fSrie ObjDesc_t *odp)
592722387fSrie {
602722387fSrie return (input32(argc, argv, prog, ofile, odp));
612722387fSrie }
622722387fSrie int
output64(const char * prog,int fd,const char * ofile,ushort_t mach,ObjDesc_t * odp)632722387fSrie output64(const char *prog, int fd, const char *ofile, ushort_t mach,
642722387fSrie ObjDesc_t *odp)
652722387fSrie {
662722387fSrie return (output32(prog, fd, ofile, mach, odp));
672722387fSrie }
682722387fSrie #endif
69