Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6024305

Browse filesBrowse files
cr1901mithro
authored andcommitted
fupy/litex.ld: Account for .srodata.* sections which may be generated by RISCV backends.
1 parent 24065ed commit 6024305
Copy full SHA for 6024305

File tree

Expand file treeCollapse file tree

2 files changed

+4
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-0
lines changed
Open diff view settings
Collapse file

‎ports/fupy/litex-flash.ld‎

Copy file name to clipboardExpand all lines: ports/fupy/litex-flash.ld
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ SECTIONS
2727
_frodata = .;
2828
*(.rodata .rodata.* .gnu.linkonce.r.*)
2929
*(.rodata1)
30+
/* On RISCV, normally placed near _gp. Keeping RAM footprint low
31+
is higher priority than speed here. */
32+
*(.srodata .srodata.*)
3033
_erodata = .;
3134
} > user_flash
3235

Collapse file

‎ports/fupy/litex.ld‎

Copy file name to clipboardExpand all lines: ports/fupy/litex.ld
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ SECTIONS
3333
*(.data1)
3434
_gp = ALIGN(16);
3535
*(.sdata .sdata.* .gnu.linkonce.s.*)
36+
*(.srodata .srodata.*)
3637
_edata = .;
3738
} > main_ram
3839

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.