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 > > > > 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.But > the assembly written by hand is an exception. > Different architecture has different assembly. That means I have to add DWARF > for all these architectures currently supported by FreeBSD. Maybe I need a > powerfull script. > > 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? -- Have fun! chd
pgpqqGD2e4hxu.pgp
Description: PGP signature

