mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
software/bios/linker: revert data section since required by RISC-V compiler
This commit is contained in:
parent
55dd58b023
commit
85308672d3
1 changed files with 15 additions and 3 deletions
|
@ -26,6 +26,21 @@ SECTIONS
|
|||
_erodata = .;
|
||||
} > rom
|
||||
|
||||
.data :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
_fdata = .;
|
||||
*(.data .data.* .gnu.linkonce.d.*)
|
||||
*(.data1)
|
||||
*(.sdata .sdata.* .gnu.linkonce.s.*)
|
||||
|
||||
/* Make sure the file is aligned on disk as well
|
||||
as in memory; CRC calculation requires that. */
|
||||
FILL(0);
|
||||
. = ALIGN(4);
|
||||
_edata = .;
|
||||
} > rom
|
||||
|
||||
.bss :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
|
@ -45,9 +60,6 @@ SECTIONS
|
|||
{
|
||||
*(.eh_frame)
|
||||
*(.comment)
|
||||
*(.data .data.* .gnu.linkonce.d.*)
|
||||
*(.data1)
|
||||
*(.sdata .sdata.* .gnu.linkonce.s.*)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue