Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
58786d71
Commit
58786d71
authored
Oct 31, 2005
by
simonmar
Browse files
[project @ 2005-10-31 11:53:42 by simonmar]
x86_64: pass -fno-unit-at-a-time to gcc. See comment for details.
parent
9c30856d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/DynFlags.hs
View file @
58786d71
...
...
@@ -1246,11 +1246,16 @@ machdepCCOpts dflags
#
elif
x86_64_TARGET_ARCH
=
(
[]
,
[
"-fomit-frame-pointer"
,
"-fno-asynchronous-unwind-tables"
"-fno-asynchronous-unwind-tables"
,
-- the unwind tables are unnecessary for HC code,
-- and get in the way of -split-objs. Another option
-- would be to throw them away in the mangler, but this
-- is easier.
"-fno-unit-at-a-time"
-- unit-at-a-time doesn't do us any good, and screws
-- up -split-objs by moving the split markers around.
-- It's only turned on with -O2, but put it here just
-- in case someone uses -optc-O2.
]
)
#
elif
mips_TARGET_ARCH
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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