summaryrefslogtreecommitdiff
path: root/nuttx/configs/pic32mx7mmb
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-04 17:18:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-04 17:18:25 +0000
commit813efa266bb67269669e532b5ce6f00ee2097948 (patch)
treeac30163b79435767a2d5c7a4b350531bb945c3b9 /nuttx/configs/pic32mx7mmb
parentd619bef95e6e08dea3d15b52f991e056fb869ebf (diff)
downloadpx4-nuttx-813efa266bb67269669e532b5ce6f00ee2097948.tar.gz
px4-nuttx-813efa266bb67269669e532b5ce6f00ee2097948.tar.bz2
px4-nuttx-813efa266bb67269669e532b5ce6f00ee2097948.zip
Massive clean-up of linker scripts from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5307 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pic32mx7mmb')
-rw-r--r--nuttx/configs/pic32mx7mmb/nsh/ld.script10
-rw-r--r--nuttx/configs/pic32mx7mmb/ostest/ld.script10
2 files changed, 10 insertions, 10 deletions
diff --git a/nuttx/configs/pic32mx7mmb/nsh/ld.script b/nuttx/configs/pic32mx7mmb/nsh/ld.script
index a3ffbe91a..f6ec304c3 100644
--- a/nuttx/configs/pic32mx7mmb/nsh/ld.script
+++ b/nuttx/configs/pic32mx7mmb/nsh/ld.script
@@ -39,7 +39,7 @@ MEMORY
/* The PIC32MX795F512L has 512Kb of program FLASH at physical address
* 0x1d000000 but is always accessed at KSEG0 address 0x9d00:0000
*/
-
+
kseg0_progmem (rx) : ORIGIN = 0x9d000000, LENGTH = 512K
/* The PIC32MX795F512L has 12Kb of boot FLASH at physical address
@@ -168,8 +168,8 @@ SECTIONS
.text :
{
_stext = ABSOLUTE(.);
- *(.text .text.*)
- *(.stub)
+ *(.text .text.*)
+ *(.stub)
KEEP (*(.text.*personality*))
*(.gnu.linkonce.t.*)
*(.gnu.warning)
@@ -178,12 +178,12 @@ SECTIONS
/* Read-only data is included in the text section */
- *(.rodata .rodata.*)
+ *(.rodata .rodata.*)
*(.rodata1)
*(.gnu.linkonce.r.*)
/* Small initialized constant global and static data */
-
+
*(.sdata2 .sdata2.*)
*(.gnu.linkonce.s2.*)
diff --git a/nuttx/configs/pic32mx7mmb/ostest/ld.script b/nuttx/configs/pic32mx7mmb/ostest/ld.script
index a01074d21..7f27c6adc 100644
--- a/nuttx/configs/pic32mx7mmb/ostest/ld.script
+++ b/nuttx/configs/pic32mx7mmb/ostest/ld.script
@@ -39,7 +39,7 @@ MEMORY
/* The PIC32MX795F512L has 512Kb of program FLASH at physical address
* 0x1d000000 but is always accessed at KSEG0 address 0x9d00:0000
*/
-
+
kseg0_progmem (rx) : ORIGIN = 0x9d000000, LENGTH = 512K
/* The PIC32MX795F512L has 12Kb of boot FLASH at physical address
@@ -168,8 +168,8 @@ SECTIONS
.text :
{
_stext = ABSOLUTE(.);
- *(.text .text.*)
- *(.stub)
+ *(.text .text.*)
+ *(.stub)
KEEP (*(.text.*personality*))
*(.gnu.linkonce.t.*)
*(.gnu.warning)
@@ -178,12 +178,12 @@ SECTIONS
/* Read-only data is included in the text section */
- *(.rodata .rodata.*)
+ *(.rodata .rodata.*)
*(.rodata1)
*(.gnu.linkonce.r.*)
/* Small initialized constant global and static data */
-
+
*(.sdata2 .sdata2.*)
*(.gnu.linkonce.s2.*)