Date: Sun, 20 Mar 2011 21:19:11 +0300 From: Chagin Dmitry <dchagin@freebsd.org> To: Xingxing Pan <panxingxing@mprc.pku.edu.cn> Cc: freebsd-hackers@freebsd.org Subject: Re: GSoC'11: DWARF2 call frame information Message-ID: <20110320181911.GA79862@dchagin.static.corbina.ru> In-Reply-To: <AANLkTinxVYZcfvpj4mn7kd%2BfiJ83p7430JSsqxatHCeZ@mail.gmail.com> References: <AANLkTinz6B7fsG7Cjc3ZTZ0OAmsOG8x1P25EfOE7Bt4J@mail.gmail.com> <20110319174115.GA33282@dchagin.static.corbina.ru> <AANLkTimp9qoOFr0VfK1F_r1nE3n_5d7W2-q_vSK_UzgW@mail.gmail.com> <20110320071847.GA10579@dchagin.static.corbina.ru> <AANLkTinxVYZcfvpj4mn7kd%2BfiJ83p7430JSsqxatHCeZ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110320181911.GA79862>