File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -73,22 +73,6 @@ SECTIONS
73
73
KEEP(*(.got .got.*));
74
74
_egot = .;
75
75
} > RAM AT > FLASH /* LLD fails on AT > FLASH */
76
-
77
-
78
- /* Due to an unfortunate combination of legacy concerns,
79
- toolchain drawbacks, and insufficient attention to detail,
80
- rustc has no choice but to mark .debug_gdb_scripts as allocatable.
81
- We really do not want to upload it to our target, so we
82
- remove the allocatable bit. Unfortunately, it appears
83
- that the only way to do this in a linker script is
84
- the extremely obscure "INFO" output section type specifier. */
85
- /* a rustc hack will force the program to read the first byte of this section,
86
- so we'll set the (fake) start address of this section to something we're
87
- sure can be read at runtime : the start of the .text section */
88
- /* LLD fails to parse _stext (INFO) */
89
- .debug_gdb_scripts _stext (INFO) : {
90
- KEEP(*(.debug_gdb_scripts))
91
- }
92
76
}
93
77
94
78
/* Do not exceed this mark in the error messages below | */
You can’t perform that action at this time.
0 commit comments