Date: Fri, 29 Aug 2014 10:13:37 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r270800 - projects/arm64/lib/csu/arm64 Message-ID: <201408291013.s7TADbJr062737@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Fri Aug 29 10:13:37 2014 New Revision: 270800 URL: http://svnweb.freebsd.org/changeset/base/270800 Log: Start to implement the .init bits of csu, not sure if these are correct as the only test I have so far is /sbin/init which doesn't make use of them. Modified: projects/arm64/lib/csu/arm64/crti.S projects/arm64/lib/csu/arm64/crtn.S Modified: projects/arm64/lib/csu/arm64/crti.S ============================================================================== --- projects/arm64/lib/csu/arm64/crti.S Fri Aug 29 09:37:18 2014 (r270799) +++ projects/arm64/lib/csu/arm64/crti.S Fri Aug 29 10:13:37 2014 (r270800) @@ -31,7 +31,8 @@ __FBSDID("$FreeBSD$"); .globl _init .type _init,@function _init: - 1: b 1b + sub sp, sp, #16 + str lr, [sp] .section .fini,"ax",@progbits .align 4 Modified: projects/arm64/lib/csu/arm64/crtn.S ============================================================================== --- projects/arm64/lib/csu/arm64/crtn.S Fri Aug 29 09:37:18 2014 (r270799) +++ projects/arm64/lib/csu/arm64/crtn.S Fri Aug 29 10:13:37 2014 (r270800) @@ -27,7 +27,9 @@ __FBSDID("$FreeBSD$"); .section .init,"ax",@progbits - 1: b 1b + ldr lr, [sp] + add sp, sp, #16 + ret .section .fini,"ax",@progbits
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408291013.s7TADbJr062737>