Landing: d8a36d622970

Project / Subsystem

gcc / gcc/mingw

Date

2026-05-18

Author

H.J. Lu

Commit

d8a36d622970a0486e1364d46863d2cdb478f169

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/mingw
patch_id
commit_hash
d8a36d622970a0486e1364d46863d2cdb478f169
source_type
github
headline
mingw: GCC now identifies function ends by checking for .seh_endproc directives.
tldr
GCC can now identify the end of functions in MinGW binaries by checking for the .seh_endproc directive.
author
H.J. Lu
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gcc
  • mingw
  • disassembly
  • exception handling
discussion_id_link
bugzilla_pr
date
2026-05-18T00:00:00.000Z

GCC now recognizes the .seh_endproc directive as a marker for the end of a function when targeting MinGW. This commit extends a previous change that added this recognition for AArch64 MinGW targets to cover all MinGW targets, improving disassembly and analysis of MinGW binaries.