Skip to content

Commit 9dade70

Browse files
committed
cleanup linker script
1 parent 4243f5a commit 9dade70

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed
Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
/*
2-
* This file was (not) auto-generated by microzig
3-
*
42
* Target CPU: ARM Cortex-M0+
53
* Target Chip: RP2040
64
*/
75

8-
/* For ELFs this would set the entry, but for ucs it basically doesn't matter,
9-
* though it should tell the linker that the symbol is referenced and to not
10-
* optimize it away.
11-
*/
126
ENTRY(_entry_point);
137

148
MEMORY
@@ -26,7 +20,6 @@ SECTIONS
2620

2721
.text :
2822
{
29-
/* Using microzig_flash_start here because we put the vector table here */
3023
KEEP(*(microzig_flash_start))
3124
*(.text*)
3225
*(.rodata*)
@@ -40,27 +33,13 @@ SECTIONS
4033
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
4134
} > ram0
4235

43-
/* TODO: We would like to skip over the clearing of bss and writing of data since it's already in ram */
4436
.data :
4537
{
46-
microzig_data_start = .;
47-
KEEP(*(.time_critical*))
4838
*(.data*)
49-
microzig_data_end = .;
5039
} > ram0
5140

5241
.bss :
5342
{
54-
microzig_bss_start = .;
5543
*(.bss*)
56-
microzig_bss_end = .;
5744
} > ram0
58-
59-
.ram_vectors (NOLOAD) :
60-
{
61-
KEEP(*(ram_vectors))
62-
} > ram0
63-
64-
/* Would not be used */
65-
microzig_data_load_start = LOADADDR(.data);
6645
}

0 commit comments

Comments
 (0)