This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make obj_sec_set_private_data into a format_ops member


On Tue, May 02, 2006 at 11:55:44AM +0100, Dave Korn wrote:
> On 02 May 2006 11:37, Alan Modra wrote:
> > Especially if I run into your NULL deref.
> 
>   I suspect you may well do so on coff targets;

Indeed, I did.  Fixing by creating new section syms.  Thanks for the
detailed explanation.

> and that leads on to larger
> issues of regularising the way in which synthetic symbols (i.e. not backed by
> a real target-dependent symbol structure with all the relevant internal data)
> can be created, doesn't it?

Yes.  These special sections have always been a pain, more so in the
past when they were const.

>   BTW, this issue aside, how about making the other macros I mentioned into
> format ops?

I think those make sense.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]