]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR31796, Internal error in write_function_pdata at obj-coff-seh
authorAlan Modra <amodra@gmail.com>
Tue, 28 May 2024 04:10:50 +0000 (13:40 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 29 May 2024 00:58:22 +0000 (10:28 +0930)
commit7574c0c2b386efa4bd0b1735237403177e4a964e
tree8c0bc1cb3c11601f53bdaadb708156955673cf21
parent5a44fd84de52ceeaf5f67c37143f68fcd8bc5f1d
PR31796, Internal error in write_function_pdata at obj-coff-seh

PR31796 is the result of lack of aarch64 support in obj-coff-seh.c.
Nick fixed this with commit 73c8603c3f.  Make the seh support
consistently warn in future if some archictecture is missing, rather
than giving internal errors.

PR 31796
* config/obj-coff-seh.c (verify_target): New function.
(obj_coff_seh_handler, obj_coff_seh_endproc, obj_coff_seh_proc),
(obj_coff_seh_endprologue): Use it.
gas/config/obj-coff-seh.c