[patch x64 SEH]: Support xdata/pdata for link-once code
Kai Tietz
ktietz70@googlemail.com
Fri Sep 10 20:07:00 GMT 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: discardable_seh.diff
Type: application/octet-stream
Size: 5753 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100910/9f795d03/attachment.obj>
More information about the Binutils
mailing list