Re: [unladen-swallow] Re: [RFA] Add interface for registering JITed code

Reid Kleckner
2009-08-14T23:12:26Z

On Fri, Aug 14, 2009 at 12:27 PM, Tom Tromey<tromey@redhat.com> wrote:
>
>
>>>>>> "Reid" == Reid Kleckner <rnk@mit.edu> writes:
>
> Reid> Here's an updated patch.  What else needs to be dealt with?
>
> Nothing.  I think this is ok.
>
> I read it a few more times and nothing popped out at me.

Is it OK if Doug commits it then?

> Reid> +      /* Hack to work around the fact that BFD does not take ownership of the
> Reid> +         memory for files allocated in memory.  */
> Reid> +      if (objfile->obfd->flags & BFD_IN_MEMORY)
> Reid> +        bim = (struct bfd_in_memory *) objfile->obfd->iostream;
>
> What is the status of the BFD patch to fix this?

Doug has permission to remove the leak from BFD, so I think I'll
remove this hack from my patch to reduce churn.

Thanks,
Reid