On Thu, Dec 20, 2007 at 11:58:10AM -0800, Maynard Johnson wrote:
> @@ -59,11 +59,18 @@ o op_write_native_code() must accept one
> Perhaps we can use it too for java, filtering native method etc. Actually
> we allow a simplified form of this feature by allowing to disable/enable
> code dumping but at the whole dump level not on a symbol basis, quite
> - possible sufficient.
> + possible sufficient. [mpj: We're backing away from the idea of dumping
> + JIT records without code. Since BFD asymbol type does not include symbol size,
> + the op_bfd technique for determining symbol size relies on knowing the true
> + file size; and if code is not included in the .jo file, we don't have true size.]
We shold still support it in the API. If we must, as a workaround, we
can zero-fill the actual file.