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
8dbb5f0f
Commit
8dbb5f0f
authored
Apr 06, 2005
by
simonmar
Browse files
[project @ 2005-04-06 10:13:35 by simonmar]
fix build on non-x86_64
parent
27031a96
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Linker.c
View file @
8dbb5f0f
...
...
@@ -3137,6 +3137,7 @@ do_Elf_Rela_relocations ( ObjectCode* oc, char* ehdrC,
break
;
# endif
#if x86_64_HOST_OS
case
R_X86_64_64
:
*
(
Elf64_Xword
*
)
P
=
value
;
break
;
...
...
@@ -3152,6 +3153,7 @@ do_Elf_Rela_relocations ( ObjectCode* oc, char* ehdrC,
case
R_X86_64_32S
:
*
(
Elf64_Sword
*
)
P
=
(
Elf64_Sword
)
value
;
break
;
#endif
default:
errorBelch
(
"%s: unhandled ELF relocation(RelA) type %d
\n
"
,
...
...
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