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]

[patch x64 SEH]: Support xdata/pdata for link-once code


Hello,

by further testing and implementing a sorting algorithm for pdata
(which seems to be necessary) I found that pdata/xdata segments
related to code with link-once semantic got linked even for discarded
objects. This patch fixes this issue.

ChangeLog gas

2010-09-10  Kai Tietz

        * config/obj-coff-seh.h (seh_context): New member code_seg.
        * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
        for link-once code-segment.

ChangeLog ld

2010-09-10  Kai Tietz

        * scripttempl/pep.sc: Add .xdata segment and
        put into .pdata all segments beginning with .pdata.

Tested for x86_64-w64-mingw32. Ok for apply?

Regards,
Kai

-- 
|? (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

Attachment: discardable_seh.diff
Description: Binary data


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