File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ module Linux_System : SYSTEM =
130130 elf_mergeable_string_section sz " .section .rodata"
131131 | Section_literal sz ->
132132 elf_mergeable_literal_section sz " .section .rodata"
133- | Section_jumptable -> " .text "
133+ | Section_jumptable -> " .section .rodata "
134134 | Section_user (s , wr , ex ) ->
135135 sprintf " .section \" %s\" ,\" a%s%s\" ,@progbits"
136136 s (if wr then " w" else " " ) (if ex then " x" else " " )
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ module ELF_System : SYSTEM =
152152 elf_mergeable_string_section sz " .section .rodata"
153153 | Section_literal sz ->
154154 elf_mergeable_literal_section sz " .section .rodata"
155- | Section_jumptable -> " .text "
155+ | Section_jumptable -> " .section .rodata "
156156 | Section_user (s , wr , ex ) ->
157157 sprintf " .section \" %s\" ,\" a%s%s\" ,@progbits"
158158 s (if wr then " w" else " " ) (if ex then " x" else " " )
You can’t perform that action at this time.
0 commit comments