Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2010 19:10:21 +0100
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@FreeBSD.org>
To:        arm@FreeBSD.org
Subject:   RFC: patch to crt1.c, fixing a typo/oversight
Message-ID:  <20100213181021.GR9748@acme.spoerlein.net>

next in thread | raw e-mail | index | archive | help

--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Dear ARM devs,

I have no resources to test the following patch, which fixes a typo
regarding the function declaration of _start. If some knowledgable folks
could please review/test the change. Thanks

https://www.spoerlein.net/gitweb/?p=freebsd-head.work/.git;a=commitdiff;h=0e393a134bf00729756f00f539536956fc170dd9

Regards,
Uli

Please keep me cc'ed.

--envbJBWh7q8WU6mo
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: inline; filename="libcsu.diff"
Content-Transfer-Encoding: 8bit

commit 0e393a134bf00729756f00f539536956fc170dd9
Author: Ulrich Spörlein <uqs@spoerlein.net>
Date:   Sat Feb 13 13:41:29 2010 +0100

    Fix prototype for crt1 on arm
    
    XXX: This needs to be checked by arm people

diff --git a/lib/csu/arm/crt1.c b/lib/csu/arm/crt1.c
index 02af3c2..e9ed9e5 100644
--- a/lib/csu/arm/crt1.c
+++ b/lib/csu/arm/crt1.c
@@ -60,8 +60,8 @@ extern int _DYNAMIC;
 extern void _fini(void);
 extern void _init(void);
 extern int main(int, char **, char **);
-extern void _start(int, char **, char **, const struct Struct_Obj_Entry *,
-    void (*)(void), struct ps_strings *);
+extern void __start(int, char **, char **, struct ps_strings *,
+    const struct Struct_Obj_Entry *, void (*)(void));
 
 #ifdef GCRT
 extern void _mcleanup(void);

--envbJBWh7q8WU6mo--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100213181021.GR9748>