From 18a365911abc32407d5c470619a78a60f645d750 Mon Sep 17 00:00:00 2001 From: skrll Date: Mon, 26 Jan 2009 18:39:47 +0000 Subject: [PATCH] Don't corrupt %r4 - it's a callee save. Fixes regress/lib/csu/initfini on hppa. --- regress/lib/csu/initfini/arch/hppa/initfini_asm.S | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/regress/lib/csu/initfini/arch/hppa/initfini_asm.S b/regress/lib/csu/initfini/arch/hppa/initfini_asm.S index 86b5a8475e6e..c2da230350a7 100644 --- a/regress/lib/csu/initfini/arch/hppa/initfini_asm.S +++ b/regress/lib/csu/initfini/arch/hppa/initfini_asm.S @@ -1,4 +1,4 @@ -/* $NetBSD: initfini_asm.S,v 1.1 2004/05/18 19:19:34 skrll Exp $ */ +/* $NetBSD: initfini_asm.S,v 1.2 2009/01/26 18:39:47 skrll Exp $ */ /* * This file placed in the public domain. @@ -8,15 +8,11 @@ #include .section .init, "ax", @progbits - copy %r19, %r4 bl i_am_init, %rp nop - copy %r4, %r19 .previous .section .fini, "ax", @progbits - copy %r19, %r4 bl i_am_fini, %rp nop - copy %r4, %r19 .previous