Skip to content

Commit 51f17b8

Browse files
arnavaghavmeta-codesync[bot]
authored andcommitted
Revert D109652277: Revert D108931221: [CinderX] Enable .cinder_jit section for Cinder binaries
Differential Revision: D109652277 Original commit changeset: a11e68edc8d4 Original Phabricator Diff: D108931221 fbshipit-source-id: 09ab3aedd763a9ad31f5afabcf3269bf18fbd585
1 parent c33f677 commit 51f17b8

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

cinderx/linker_script_bolt.ld

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* linker_script_bolt.ld
2+
* Reserves a small .cinder_jit NOLOAD region immediately AFTER .bss.
3+
* This is used when we are in a BOLT build and will ensure that the
4+
* JIT code can live next to where BOLT places the .text.
5+
*/
6+
SECTIONS {
7+
.cinder_jit (NOLOAD) : ALIGN(2097152) {
8+
PROVIDE_HIDDEN(__cinder_jit_start = .);
9+
. = . + 75 * 1024 * 1024;
10+
PROVIDE_HIDDEN(__cinder_jit_end = .);
11+
}
12+
} INSERT AFTER .bss;

0 commit comments

Comments
 (0)