diff options
author | 2004-05-26 19:17:35 +0000 | |
---|---|---|
committer | 2004-05-26 19:17:35 +0000 | |
commit | a98ea81a8bbe5df2647ce4e057f164581cde0a2a (patch) | |
tree | 5a8f964c6f847cbc7fd6ed544687ca4887664f9f /lib/csu | |
parent | allow md makefile to supply LDADD; drahn@ ok (diff) | |
download | wireguard-openbsd-a98ea81a8bbe5df2647ce4e057f164581cde0a2a.tar.xz wireguard-openbsd-a98ea81a8bbe5df2647ce4e057f164581cde0a2a.zip |
better code for calling ctors
Diffstat (limited to 'lib/csu')
-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) \ |