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]

[PATCH] PE reloc overflow section header flags lossage


This was broken by 1.20 of peiXXigen.c.

In that version, a local variable was used to add in the "must have" flags.
Then, the local was output.  Later (approximately line 1047), if the
number of relocs overflowed, the pre "must have" flags or'ed in the
overflow flag and were re-output.

This patch just eliminates the local since it was not much of an
optimization anyway.

2004-03-24  Brian Ford  <ford@vss.fsi.com>

        * peiXXigen.c (_bfd_XXi_swap_scnhdr_out): Correct section flags
	lossage on reloc overflow.
	(_bfd_XXi_swap_sym_in): Remove redundant section flags
	assignment.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

Attachment: pe_reloc_overflow.patch
Description: Text document


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