1*20a7641fSRichard Lowe/* 2*20a7641fSRichard Lowe * CDDL HEADER START 3*20a7641fSRichard Lowe * 4*20a7641fSRichard Lowe * The contents of this file are subject to the terms of the 5*20a7641fSRichard Lowe * Common Development and Distribution License, Version 1.0 only 6*20a7641fSRichard Lowe * (the "License"). You may not use this file except in compliance 7*20a7641fSRichard Lowe * with the License. 8*20a7641fSRichard Lowe * 9*20a7641fSRichard Lowe * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*20a7641fSRichard Lowe * or http://www.opensolaris.org/os/licensing. 11*20a7641fSRichard Lowe * See the License for the specific language governing permissions 12*20a7641fSRichard Lowe * and limitations under the License. 13*20a7641fSRichard Lowe * 14*20a7641fSRichard Lowe * When distributing Covered Code, include this CDDL HEADER in each 15*20a7641fSRichard Lowe * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*20a7641fSRichard Lowe * If applicable, add the following below this CDDL HEADER, with the 17*20a7641fSRichard Lowe * fields enclosed by brackets "[]" replaced with your own identifying 18*20a7641fSRichard Lowe * information: Portions Copyright [yyyy] [name of copyright owner] 19*20a7641fSRichard Lowe * 20*20a7641fSRichard Lowe * CDDL HEADER END 21*20a7641fSRichard Lowe */ 22*20a7641fSRichard Lowe/* 23*20a7641fSRichard Lowe * Copyright (c) 1991, Sun Microsystems, Inc. 24*20a7641fSRichard Lowe */ 25*20a7641fSRichard Lowe 26*20a7641fSRichard Lowe/* 27*20a7641fSRichard Lowe * Stub file for ldd(1). Provides for preloading shared libraries. 28*20a7641fSRichard Lowe */ 29*20a7641fSRichard Lowe#include <sys/syscall.h> 30*20a7641fSRichard Lowe 31*20a7641fSRichard Lowe .file "lddstub.S" 32*20a7641fSRichard Lowe .text 33*20a7641fSRichard Lowe .globl stub 34*20a7641fSRichard Lowe 35*20a7641fSRichard Lowestub: 36*20a7641fSRichard Lowe pushl $0 37*20a7641fSRichard Lowe movl $SYS_exit, %eax 38*20a7641fSRichard Lowe lcall $7,$0 39