PATCH: Preserve e_flags.
Alan Modra
amodra@bigpond.net.au
Tue Dec 18 00:21:00 GMT 2001
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.
Alan
More information about the Binutils
mailing list