Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
24b791f9
Commit
24b791f9
authored
Sep 04, 2013
by
Edward Z. Yang
Browse files
Ignore drectve sections, partially fixing #7056
Signed-off-by:
Edward Z. Yang
<
ezyang@mit.edu
>
parent
0451d85d
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Linker.c
View file @
24b791f9
...
...
@@ -3835,6 +3835,8 @@ ocGetNames_PEi386 ( ObjectCode* oc )
/* ignore unknown section that appeared in gcc 3.4.5(?) */
&&
0
!=
strcmp
(
".reloc"
,
(
char
*
)
secname
)
&&
0
!=
strcmp
(
".rdata$zzz"
,
(
char
*
)
secname
)
/* ignore linker directive sections */
&&
0
!=
strcmp
(
".drectve"
,
(
char
*
)
secname
)
)
{
errorBelch
(
"Unknown PEi386 section name `%s' (while processing: %"
PATH_FMT
")"
,
secname
,
oc
->
fileName
);
stgFree
(
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