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]

[COMMIT] Rewrite obj-coff-seh.c


Here's the final version that I committed.

Tested on x86_64-w64-mingw32 native.

Crosses to {arm,sh}-wince-pe tested.  The original code doesn't actually
work -- it generates an empty .pdata entry for even trivial inputs.  The
new code appears to do the right thing.

There's still code in gas for mips-wince-pe, but it's been disabled in bfd.

As discussed with Kai, I've removed the .seh_scope directive as being too
Microsoft specific.  I've replaced it with .seh_handlerdata which mirrors
the .handlerdata directive seen in IA-64 and ARM EABI unwind info.  This
directive allows arbitrary data to be emitted to this (sub)section.  One
can duplicate the effect of the old .seh_scope directive with .rva once
having switched to the .seh_handerdata section.



r~

Attachment: gas-seh-2a
Description: Text document


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