From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 20 18:19:21 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA016106566C for ; Sun, 20 Mar 2011 18:19:21 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.corbina.net (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 784BC8FC0A for ; Sun, 20 Mar 2011 18:19:21 +0000 (UTC) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.corbina.net (Postfix) with ESMTP id DD6E9CB430; Sun, 20 Mar 2011 21:19:17 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.22.99] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 309890796; Sun, 20 Mar 2011 21:19:17 +0300 Received: from dchagin.static.corbina.ru (localhost [127.0.0.1]) by dchagin.static.corbina.ru (8.14.4/8.14.4) with ESMTP id p2KIJHHr079884; Sun, 20 Mar 2011 21:19:17 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.4/8.14.4/Submit) id p2KIJBtg079883; Sun, 20 Mar 2011 21:19:11 +0300 (MSK) (envelope-from dchagin) Date: Sun, 20 Mar 2011 21:19:11 +0300 From: Chagin Dmitry To: Xingxing Pan Message-ID: <20110320181911.GA79862@dchagin.static.corbina.ru> References: <20110319174115.GA33282@dchagin.static.corbina.ru> <20110320071847.GA10579@dchagin.static.corbina.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers@freebsd.org Subject: Re: GSoC'11: DWARF2 call frame information X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2011 18:19:21 -0000 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 20, 2011 at 11:24:21PM +0800, Xingxing Pan wrote: > >> > > > > hm, you should add the .cfi directive in each .S file by hand: > > http://www.logix.cz/michal/devel/gas-cfi/ > > > > -- > > Have fun! > > chd > > >=20 > Thanks for your reply. I think I have got the idea. > For the object files generated by the toolchain, there's no need to worry= about > DWARF call frame information if the DWARF is supported by the toolchain.B= ut > the assembly written by hand is an exception. > Different architecture has different assembly. That means I have to add D= WARF > for all these architectures currently supported by FreeBSD. Maybe I need a > powerfull script. >=20 > Xingxing Pan hmm, which script? I think enough amd64, i386 and amd64/ia32. I suggest to write a example before continuing the conversation about the GSoC. For example (bcopy || bzero) && cpu_switch. Is it ok for you? --=20 Have fun! chd --envbJBWh7q8WU6mo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk2GRR4ACgkQ0t2Tb3OO/O3egQCdHuG41cf1S7Khfh5HccRe39eH LboAoJ9HMg7z/Dbdr0R5tCmBhhNanGuF =H80E -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--