Skip to content
GitLab
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
7bb0f34f
Commit
7bb0f34f
authored
Jul 09, 2005
by
igloo
Browse files
[project @ 2005-07-09 00:13:14 by igloo]
Fix building on IA64. Please merge to stable.
parent
8dfa3502
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Adjustor.c
View file @
7bb0f34f
...
...
@@ -188,7 +188,7 @@ stgAllocStable(size_t size_in_bytes, StgStablePtr *stable)
*
stable
=
getStablePtr
((
StgPtr
)
arr
);
/* and return a ptr to the goods inside the array */
return
(
BYTE_ARR_CTS
(
arr
));
return
(
&
(
arr
->
payload
));
}
#endif
...
...
ghc/rts/Linker.c
View file @
7bb0f34f
...
...
@@ -3263,7 +3263,7 @@ ia64_extract_instruction(Elf64_Xword *target)
{
Elf64_Xword
w1
,
w2
;
int
slot
=
(
Elf_Addr
)
target
&
3
;
(
Elf_Addr
)
target
&
=
~
3
;
target
=
(
Elf_Addr
)
target
&
~
3
;
w1
=
*
target
;
w2
=
*
(
target
+
1
);
...
...
@@ -3285,7 +3285,7 @@ static void
ia64_deposit_instruction
(
Elf64_Xword
*
target
,
Elf64_Xword
value
)
{
int
slot
=
(
Elf_Addr
)
target
&
3
;
(
Elf_Addr
)
target
&
=
~
3
;
target
=
(
Elf_Addr
)
target
&
~
3
;
switch
(
slot
)
{
...
...
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