diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-05-26 19:17:36 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-05-26 19:17:36 +0000 |
commit | 53920d9fa9297910eaac43836f07dcdc9070ba6f (patch) | |
tree | a4fa6afa8ce286d23adedac324d71f5173a2dafc | |
parent | f92d5f2705da850b87396b6d1131a50d2e284d5a (diff) |
better code for calling ctors
-rw-r--r-- | lib/csu/hppa/md_init.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/csu/hppa/md_init.h b/lib/csu/hppa/md_init.h index 6b405c59301..bb26b84a761 100644 --- a/lib/csu/hppa/md_init.h +++ b/lib/csu/hppa/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.1 2004/01/08 14:59:15 drahn Exp $ */ +/* $OpenBSD: md_init.h,v 1.2 2004/05/26 19:17:35 mickey Exp $ */ /* * Copyright (c) 2003 Dale Rahn. All rights reserved. @@ -28,11 +28,9 @@ #ifdef PIC #define MD_SECT_CALL_FUNC(section, func) \ __asm (".section "#section",\"ax\",@progbits \n" \ - " stw %r19,-32(%r30) \n" \ - " stw %r4,-64(%r30) \n" \ " bl " #func ",%r2 \n" \ - " copy %r19,%r4 \n" \ - " copy %r4,%r19 \n" \ + " stw %r19,-80(%r30) \n" \ + " ldw -80(%r30),%r19 \n" \ " .previous") #else #define MD_SECT_CALL_FUNC(section, func) \ |