From b19a7d87e2a56bd8daff24dcd5835fa997f7cddf Mon Sep 17 00:00:00 2001 From: pk Date: Sat, 23 Sep 1995 22:48:18 +0000 Subject: [PATCH] Pass on return value. --- gnu/usr.bin/ld/arch/sparc/mdprologue.S | 3 ++- gnu/usr.bin/ld/sparc/mdprologue.S | 3 ++- libexec/ld.aout_so/arch/sparc/mdprologue.S | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/usr.bin/ld/arch/sparc/mdprologue.S b/gnu/usr.bin/ld/arch/sparc/mdprologue.S index 548d3876b2a7..d376f2adceb2 100644 --- a/gnu/usr.bin/ld/arch/sparc/mdprologue.S +++ b/gnu/usr.bin/ld/arch/sparc/mdprologue.S @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mdprologue.S,v 1.4 1994/12/04 08:26:25 mycroft Exp $ + * $Id: mdprologue.S,v 1.5 1995/09/23 22:48:18 pk Exp $ */ /* @@ -67,6 +67,7 @@ L.2B: call %g1 ! rtld(version, crtp, dp) mov %i0, %o0 ! arg #1: version + mov %o0, %i0 ! pass on rtld() return value ret restore .seg "data" ! [internal] diff --git a/gnu/usr.bin/ld/sparc/mdprologue.S b/gnu/usr.bin/ld/sparc/mdprologue.S index 548d3876b2a7..d376f2adceb2 100644 --- a/gnu/usr.bin/ld/sparc/mdprologue.S +++ b/gnu/usr.bin/ld/sparc/mdprologue.S @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mdprologue.S,v 1.4 1994/12/04 08:26:25 mycroft Exp $ + * $Id: mdprologue.S,v 1.5 1995/09/23 22:48:18 pk Exp $ */ /* @@ -67,6 +67,7 @@ L.2B: call %g1 ! rtld(version, crtp, dp) mov %i0, %o0 ! arg #1: version + mov %o0, %i0 ! pass on rtld() return value ret restore .seg "data" ! [internal] diff --git a/libexec/ld.aout_so/arch/sparc/mdprologue.S b/libexec/ld.aout_so/arch/sparc/mdprologue.S index 548d3876b2a7..d376f2adceb2 100644 --- a/libexec/ld.aout_so/arch/sparc/mdprologue.S +++ b/libexec/ld.aout_so/arch/sparc/mdprologue.S @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mdprologue.S,v 1.4 1994/12/04 08:26:25 mycroft Exp $ + * $Id: mdprologue.S,v 1.5 1995/09/23 22:48:18 pk Exp $ */ /* @@ -67,6 +67,7 @@ L.2B: call %g1 ! rtld(version, crtp, dp) mov %i0, %o0 ! arg #1: version + mov %o0, %i0 ! pass on rtld() return value ret restore .seg "data" ! [internal]