diff options
Diffstat (limited to 'lib/csu')
-rw-r--r-- | lib/csu/aarch64/md_init.h | 4 | ||||
-rw-r--r-- | lib/csu/alpha/md_init.h | 6 | ||||
-rw-r--r-- | lib/csu/arm/md_init.h | 4 | ||||
-rw-r--r-- | lib/csu/hppa/md_init.h | 13 | ||||
-rw-r--r-- | lib/csu/i386/md_init.h | 10 | ||||
-rw-r--r-- | lib/csu/mips64/md_init.h | 8 | ||||
-rw-r--r-- | lib/csu/powerpc/md_init.h | 9 | ||||
-rw-r--r-- | lib/csu/sh/md_init.h | 9 | ||||
-rw-r--r-- | lib/csu/sparc64/md_init.h | 7 |
9 files changed, 9 insertions, 61 deletions
diff --git a/lib/csu/aarch64/md_init.h b/lib/csu/aarch64/md_init.h index 1be074a1860..f235a2fa2e3 100644 --- a/lib/csu/aarch64/md_init.h +++ b/lib/csu/aarch64/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.3 2017/02/26 22:26:42 kettenis Exp $ */ +/* $OpenBSD: md_init.h,v 1.4 2017/08/11 20:13:30 guenther Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -113,6 +113,4 @@ "_dl_exit: \n" \ " mov x8, #1 \n" \ " svc #0 \n" \ - "_dl_printf: \n" \ - " ret \n" \ ".previous"); diff --git a/lib/csu/alpha/md_init.h b/lib/csu/alpha/md_init.h index 6089c93043f..27b5c133547 100644 --- a/lib/csu/alpha/md_init.h +++ b/lib/csu/alpha/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.8 2017/01/19 23:47:04 guenther Exp $ */ +/* $OpenBSD: md_init.h,v 1.9 2017/08/11 20:13:30 guenther Exp $ */ /*- * Copyright (c) 2001 Ross Harvey * All rights reserved. @@ -102,10 +102,6 @@ "_dl_exit: \n" \ " lda $0, 1 \n" \ " callsys \n" \ - " ret \n" \ - ".globl _dl_printf \n" \ - ".type _dl_printf@function \n" \ - "_dl_printf: \n" \ " ret") #define MD_START_ARGS char **sp, void (*cleanup)(void) diff --git a/lib/csu/arm/md_init.h b/lib/csu/arm/md_init.h index b64efb97a1a..b0459a2c03c 100644 --- a/lib/csu/arm/md_init.h +++ b/lib/csu/arm/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.11 2017/02/26 15:20:58 kettenis Exp $ */ +/* $OpenBSD: md_init.h,v 1.12 2017/08/11 20:13:31 guenther Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -157,6 +157,4 @@ "_dl_exit: \n" \ " mov r12, #1 \n" \ " swi #0 \n" \ - "_dl_printf: \n" \ - " mov pc, lr \n" \ ".previous"); diff --git a/lib/csu/hppa/md_init.h b/lib/csu/hppa/md_init.h index f6b8366290e..89934101b3f 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.12 2017/02/26 22:26:42 kettenis Exp $ */ +/* $OpenBSD: md_init.h,v 1.13 2017/08/11 20:13:31 guenther Exp $ */ /* * Copyright (c) 2003 Dale Rahn. All rights reserved. @@ -156,17 +156,6 @@ "1: bv %r0(%rp) \n" \ " sub %r0, %ret0, %ret0 \n" \ " .exit \n" \ - " .procend \n" \ - " .export _dl_printf, entry \n" \ - " .type _dl_printf,@function \n" \ - " .label _dl_printf \n" \ - " .proc \n" \ - " .callinfo frame=0, calls \n" \ - " .entry \n" \ - "_dl_printf: \n" \ - " bv %r0(%rp) \n" \ - " nop \n" \ - " .exit \n" \ " .procend") diff --git a/lib/csu/i386/md_init.h b/lib/csu/i386/md_init.h index a7fba833de6..54f03662df7 100644 --- a/lib/csu/i386/md_init.h +++ b/lib/csu/i386/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.8 2016/08/07 02:30:55 guenther Exp $ */ +/* $OpenBSD: md_init.h,v 1.9 2017/08/11 20:13:31 guenther Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -118,14 +118,6 @@ " xorl %ebp,%ebp # mark deepest stack frame\n" \ " call ___start # ___start(argc,argv,envp,0) \n" \ " \n" \ - ".text \n" \ - " .align 4 \n" \ - " .globl _dl_printf \n" \ - " .type _dl_printf,@function \n" \ - "_dl_printf: \n" \ - " ret \n" \ - " \n" \ - ".text \n" \ " .align 4 \n" \ " .globl _dl_exit \n" \ " .type _dl_exit,@function \n" \ diff --git a/lib/csu/mips64/md_init.h b/lib/csu/mips64/md_init.h index 30c78cf7baa..4522fd1293b 100644 --- a/lib/csu/mips64/md_init.h +++ b/lib/csu/mips64/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.14 2016/08/07 02:44:00 guenther Exp $ */ +/* $OpenBSD: md_init.h,v 1.15 2017/08/11 20:13:31 guenther Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -145,12 +145,6 @@ " syscall \n" \ " j $ra \n" \ " .end _dl_exit \n" \ - " .globl _dl_printf \n" \ - " .ent _dl_printf \n" \ - " .type _dl_printf, @function \n" \ - "_dl_printf: \n" \ - " j $ra \n" \ - " .end _dl_printf \n" \ " .previous") struct kframe { diff --git a/lib/csu/powerpc/md_init.h b/lib/csu/powerpc/md_init.h index edc9907c6dd..ff6f2083894 100644 --- a/lib/csu/powerpc/md_init.h +++ b/lib/csu/powerpc/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.8 2016/03/20 02:32:39 guenther Exp $ */ +/* $OpenBSD: md_init.h,v 1.9 2017/08/11 20:13:31 guenther Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -129,11 +129,4 @@ __asm( \ " li %r0, " STR(SYS_exit) " \n" \ " sc \n" \ " blr \n" \ -" \n" \ -" .text \n" \ -" .align 2 \n" \ -" .globl _dl_printf \n" \ -" .type _dl_printf, @function \n" \ -"_dl_printf: \n" \ -" blr \n" \ ) diff --git a/lib/csu/sh/md_init.h b/lib/csu/sh/md_init.h index ea56956b2bb..52700bf13e7 100644 --- a/lib/csu/sh/md_init.h +++ b/lib/csu/sh/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.7 2017/01/19 23:47:04 guenther Exp $ */ +/* $OpenBSD: md_init.h,v 1.8 2017/08/11 20:13:31 guenther Exp $ */ /* $NetBSD: dot_init.h,v 1.3 2005/12/24 22:02:10 perry Exp $ */ /*- @@ -131,13 +131,6 @@ __asm(".section " #section "\n" \ " .long _DYNAMIC - .L_offbase \n" \ \ " .align 2 \n" \ - " .globl _dl_printf \n" \ - " .type _dl_printf,@function \n" \ - "_dl_printf: \n" \ - " rts \n" \ - " nop \n" \ - \ - " .align 2 \n" \ " .globl _dl_exit \n" \ " .type _dl_exit,@function \n" \ "_dl_exit: \n" \ diff --git a/lib/csu/sparc64/md_init.h b/lib/csu/sparc64/md_init.h index da44e4fe3bf..9c99a699f42 100644 --- a/lib/csu/sparc64/md_init.h +++ b/lib/csu/sparc64/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.6 2016/03/20 02:32:39 guenther Exp $ */ +/* $OpenBSD: md_init.h,v 1.7 2017/08/11 20:13:31 guenther Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -101,11 +101,6 @@ " ba,pt %icc, ___start \n" \ " clr %o1 \n" \ " \n" \ - " .global _dl_printf \n" \ - "_dl_printf: \n" \ - " retl \n" \ - " nop \n" \ - " \n" \ " .global _dl_exit \n" \ "_dl_exit: \n" \ " mov 0x401, %g1 \n" \ |