summaryrefslogtreecommitdiff
path: root/nuttx/configs/pic32-starterkit/ostest/ld.script
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/pic32-starterkit/ostest/ld.script')
-rw-r--r--nuttx/configs/pic32-starterkit/ostest/ld.script6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/configs/pic32-starterkit/ostest/ld.script b/nuttx/configs/pic32-starterkit/ostest/ld.script
index c9e85d059..9bdd45175 100644
--- a/nuttx/configs/pic32-starterkit/ostest/ld.script
+++ b/nuttx/configs/pic32-starterkit/ostest/ld.script
@@ -190,7 +190,8 @@ SECTIONS
* they can be guaranteed to satisfy the 2Kb alignment requirement.
*/
- .ramfunc ALIGN(2K) :
+/* This causes failures if there are no RAM functions
+ .ramfunc /* ALIGN(2K) */ :
{
_sramfunc = ABSOLUTE(.);
*(.ramfunc .ramfunc.*)
@@ -198,10 +199,11 @@ SECTIONS
} > kseg1_datamem AT > kseg0_progmem
_ramfunc_loadaddr = LOADADDR(.ramfunc);
- _ramfunc_sizeof = SIZEOF(.ramfunc);
+ _ramfunc_sizeof = SIZEOF(.ramfunc);
_bmxdkpba_address = _sramfunc - ORIGIN(kseg1_datamem) ;
_bmxdudba_address = LENGTH(kseg1_datamem) ;
_bmxdupba_address = LENGTH(kseg1_datamem) ;
+*/
.dbg_data (NOLOAD) :
{