Commit 56ea745c authored by Niklas Larsson's avatar Niklas Larsson Committed by Austin Seipp

Add ".text.unlikely" to recognized code sections on Windows.

Fixes #9080
Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent 3faf83e4
......@@ -4145,6 +4145,7 @@ ocGetNames_PEi386 ( ObjectCode* oc )
if (0==strcmp(".text",(char*)secname) ||
0==strcmp(".text.startup",(char*)secname) ||
0==strcmp(".text.unlikely", (char*)secname) ||
0==strcmp(".rdata",(char*)secname)||
0==strcmp(".eh_frame", (char*)secname)||
0==strcmp(".rodata",(char*)secname))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment