Skip to content
GitLab
Menu
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
646d6f52
Commit
646d6f52
authored
Mar 07, 2006
by
Simon Marlow
Browse files
x86_64: add -fno-builtin to gcc command line for .hc files.
This seems to be required now that we're stealing more registers.
parent
d1545b69
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/DynFlags.hs
View file @
646d6f52
...
...
@@ -1266,11 +1266,15 @@ machdepCCOpts dflags
-- 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"
"-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.
"-fno-builtin"
-- calling builtins like strlen() using the FFI can
-- cause gcc to run out of regs, so use the external
-- version.
]
)
#
elif
mips_TARGET_ARCH
...
...
Write
Preview
Supports
Markdown
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