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
471f174f
Commit
471f174f
authored
Oct 19, 2007
by
Simon Marlow
Browse files
FIX
#1784
: EM_AMD64 and EM_X86_64 might both be defined to the same value
parent
edb348c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Linker.c
View file @
471f174f
...
...
@@ -2904,8 +2904,7 @@ ocVerifyImage_ELF ( ObjectCode* oc )
case
EM_PPC
:
IF_DEBUG
(
linker
,
debugBelch
(
"powerpc32"
));
break
;
#ifdef EM_X86_64
case
EM_X86_64
:
IF_DEBUG
(
linker
,
debugBelch
(
"x86_64"
));
break
;
#endif
#ifdef EM_AMD64
#elif defined(EM_AMD64)
case
EM_AMD64
:
IF_DEBUG
(
linker
,
debugBelch
(
"amd64"
));
break
;
#endif
default:
IF_DEBUG
(
linker
,
debugBelch
(
"unknown"
));
...
...
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