This is the mail archive of the binutils@sources.redhat.com 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: Preserve e_flags.


On Tue, Dec 18, 2001 at 06:41:31PM +1030, Alan Modra wrote:
> On Sat, Dec 15, 2001 at 04:20:17PM -0800, H . J . Lu wrote:
> > On Sat, Dec 15, 2001 at 10:11:35AM -0800, H . J . Lu wrote:
> > > On Tue, Dec 11, 2001 at 03:53:20PM +0100, Michal Moskal wrote:
> > > > 
> > > > And now the problem is that objcopy (and strip), does not copy e_flags
> > > > from one elf file to another.
> > 
> > Here is a patch. Shouldn't we preserve e_flags?
> 
> I can't think of a reason not to.  Your patch needs to go one step
> further, and remove/modify various back-end versions of this function
> so that _bfd_elf_copy_private_bfd_data isn't duplicated needlessly.
> 

That is the next thing on my list :-). I will do that and check it in.



H.J.


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