Add SEH support to code generated by dlltool.
authorZebediah Figura <z.figura12@gmail.com>
Wed, 13 Jan 2021 10:55:46 +0000 (10:55 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 13 Jan 2021 10:55:46 +0000 (10:55 +0000)
commit2ce40d1a5184271aa01675b55be8c04dfc320eee
treea4c78ea77e06dcb8f1dc796fc43cf53a46a8cfdd
parentc54f3efdc2f85554a1604c68d5e9d0f55edfd330
Add SEH support to code generated by dlltool.

PR 27037
* dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
and before exit.
(i386_x64_trampoline): Add SEH annotations.
(struct mac): Add how_seh field.
(make_delay_head): If how_set field is true add SEh instructions.
binutils/ChangeLog
binutils/dlltool.c