We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.code_signature
1 parent b1cbee0 commit 651a267Copy full SHA for 651a267
compiler/rustc_target/src/spec/targets/armv7a_vex_v5_linker_script.ld
@@ -15,11 +15,13 @@ __stack_length = 0x400000;
15
It's currently unclear why subtracting anything is necessary, but it fixes memory permission errors.
16
0x100 is an arbitrary number that works.
17
*/
18
-__heap_end = __user_ram_end - __stack_length - 0x1000;
+__heap_end = __user_ram_end - __stack_length - 0x100;
19
20
SECTIONS {
21
.code_signature __user_ram_start : {
22
+ __code_signature_start = .;
23
KEEP(*(.code_signature))
24
+ . = __code_signature_start + 0x20;
25
} > USER_RAM = 0
26
27
.text __user_ram_start + 0x20 : {
0 commit comments