projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support RelocatableReadOnlyData section type in CmmParse, and use it where needed...
[ghc-hetmet.git]
/
utils
/
genapply
/
GenApply.hs
diff --git
a/utils/genapply/GenApply.hs
b/utils/genapply/GenApply.hs
index
6827703
..
39d8506
100644
(file)
--- a/
utils/genapply/GenApply.hs
+++ b/
utils/genapply/GenApply.hs
@@
-732,7
+732,7
@@
genStackFns regstatus args
genStackApplyArray types =
vcat [
genStackApplyArray types =
vcat [
- text "section \"rodata\" {",
+ text "section \"relrodata\" {",
text "stg_ap_stack_entries:",
text "W_ 0; W_ 0; W_ 0;", -- ARG_GEN, ARG_GEN_BIG, ARG_BCO
vcat (map arr_ent types),
text "stg_ap_stack_entries:",
text "W_ 0; W_ 0; W_ 0;", -- ARG_GEN, ARG_GEN_BIG, ARG_BCO
vcat (map arr_ent types),
@@
-743,7
+743,7
@@
genStackApplyArray types =
genStackSaveArray types =
vcat [
genStackSaveArray types =
vcat [
- text "section \"rodata\" {",
+ text "section \"relrodata\" {",
text "stg_stack_save_entries:",
text "W_ 0; W_ 0; W_ 0;", -- ARG_GEN, ARG_GEN_BIG, ARG_BCO
vcat (map arr_ent types),
text "stg_stack_save_entries:",
text "W_ 0; W_ 0; W_ 0;", -- ARG_GEN, ARG_GEN_BIG, ARG_BCO
vcat (map arr_ent types),