Generate annotations for a binary translator
陳韋任
chenwj@iis.sinica.edu.tw
Tue May 17 08:53:00 GMT 2011
Hi,
> The hard part is not getting the information at compile time. The
> information is readily available after register allocation. Heck, you
> can see right in the dump files; e.g., use -da when you compile and look
> at the pro_and_epilogue dump file.
I am glad to hear that news. Thanks, Ian.
> The hard part is getting that information to be available at runtime.
The easiest way is saving that information on the disk. Or I can use
`objcopy` to insert the information to the executable. The binary
translator can read that information at runtime.
I guess what "the hard part" you mean is how to insert that
information into executable directly without using something like
`objcopy`. Is that right?
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
More information about the Gcc
mailing list