Fix gas crash on missing seh_endproc.
authorTristan Gingold <tgingold@free.fr>
Wed, 19 Jul 2017 06:05:30 +0000 (08:05 +0200)
committerTristan Gingold <tgingold@free.fr>
Wed, 19 Jul 2017 06:05:30 +0000 (08:05 +0200)
commit804a4093182a4bdbc30abfd3081a3f58c3bd2329
treecf2e69e801baba7bb4afe3e5c086dcc81decfd3c
parent801f648cfc26f588aee8fc37ddc4ac959f331bd0
Fix gas crash on missing seh_endproc.

gas/
* testsuite/gas/pe/seh-x64-err-2.s: New test.
* testsuite/gas/pe/seh-x64-err-2.l: New stderr output.
* testsuite/gas/pe/pe.exp: Add test.
* config/obj-coff-seh.c (obj_coff_seh_do_final): Don't try to end
seh part.
gas/ChangeLog
gas/config/obj-coff-seh.c
gas/testsuite/gas/pe/pe.exp
gas/testsuite/gas/pe/seh-x64-err-2.l [new file with mode: 0644]
gas/testsuite/gas/pe/seh-x64-err-2.s [new file with mode: 0644]