aboutsummaryrefslogtreecommitdiff
path: root/bbl
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2018-12-19 12:59:01 -0800
committerAndrew Waterman <aswaterman@gmail.com>2019-01-04 13:40:23 -0800
commit474d787f1b290acd16c2c27071d15afe98aaa196 (patch)
treed7b478c6f203ded2d5a008fb053277c4f573d64d /bbl
parent92434c4f697564929f2ceb724bc82d3b6bc58879 (diff)
downloadriscv-pk-474d787f1b290acd16c2c27071d15afe98aaa196.zip
riscv-pk-474d787f1b290acd16c2c27071d15afe98aaa196.tar.gz
riscv-pk-474d787f1b290acd16c2c27071d15afe98aaa196.tar.bz2
Clean up linker scripts a bit
Diffstat (limited to 'bbl')
-rw-r--r--bbl/bbl.lds12
1 files changed, 2 insertions, 10 deletions
diff --git a/bbl/bbl.lds b/bbl/bbl.lds
index 26f5816..892621a 100644
--- a/bbl/bbl.lds
+++ b/bbl/bbl.lds
@@ -14,7 +14,6 @@ SECTIONS
/* Begining of code and text segment */
. = 0x80000000;
_ftext = .;
- PROVIDE( eprol = . );
.text :
{
@@ -39,7 +38,6 @@ SECTIONS
}
/* End of code and read-only segment */
- PROVIDE( etext = . );
_etext = .;
/*--------------------------------------------------------------------*/
@@ -48,7 +46,7 @@ SECTIONS
. = ALIGN(0x1000);
.htif :
{
- PROVIDE( __htif_base = .);
+ PROVIDE( __htif_base = . );
*(.htif)
}
. = ALIGN(0x1000);
@@ -72,8 +70,7 @@ SECTIONS
}
/* End of initialized data segment */
- . = ALIGN(4);
- PROVIDE( edata = . );
+ . = ALIGN(16);
_edata = .;
/*--------------------------------------------------------------------*/
@@ -99,11 +96,6 @@ SECTIONS
*(COMMON)
}
- .sbi :
- {
- *(.sbi)
- }
-
.payload :
{
*(.payload)