Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
56ea745c
Commit
56ea745c
authored
May 25, 2014
by
Niklas Larsson
Committed by
Austin Seipp
Jun 05, 2014
Browse files
Add ".text.unlikely" to recognized code sections on Windows.
Fixes #9080 Signed-off-by:
Austin Seipp
<
austin@well-typed.com
>
parent
3faf83e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Linker.c
View file @
56ea745c
...
...
@@ -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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment