diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-04 17:18:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-04 17:18:25 +0000 |
commit | 813efa266bb67269669e532b5ce6f00ee2097948 (patch) | |
tree | ac30163b79435767a2d5c7a4b350531bb945c3b9 /nuttx/configs/sure-pic32mx | |
parent | d619bef95e6e08dea3d15b52f991e056fb869ebf (diff) | |
download | px4-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/sure-pic32mx')
-rw-r--r-- | nuttx/configs/sure-pic32mx/nsh/ld.script | 10 | ||||
-rw-r--r-- | nuttx/configs/sure-pic32mx/ostest/ld.script | 10 | ||||
-rw-r--r-- | nuttx/configs/sure-pic32mx/usbnsh/ld.script | 10 |
3 files changed, 15 insertions, 15 deletions
diff --git a/nuttx/configs/sure-pic32mx/nsh/ld.script b/nuttx/configs/sure-pic32mx/nsh/ld.script index a88bdc2c8..0975477cc 100644 --- a/nuttx/configs/sure-pic32mx/nsh/ld.script +++ b/nuttx/configs/sure-pic32mx/nsh/ld.script @@ -39,7 +39,7 @@ MEMORY /* The PIC32MX440F512H 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 PIC32MX440F512H 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/sure-pic32mx/ostest/ld.script b/nuttx/configs/sure-pic32mx/ostest/ld.script index 7b5ffa3c4..01d97ad55 100644 --- a/nuttx/configs/sure-pic32mx/ostest/ld.script +++ b/nuttx/configs/sure-pic32mx/ostest/ld.script @@ -39,7 +39,7 @@ MEMORY /* The PIC32MX440F512H 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 PIC32MX440F512H 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/sure-pic32mx/usbnsh/ld.script b/nuttx/configs/sure-pic32mx/usbnsh/ld.script index 5bdc5af6f..088f812d8 100644 --- a/nuttx/configs/sure-pic32mx/usbnsh/ld.script +++ b/nuttx/configs/sure-pic32mx/usbnsh/ld.script @@ -39,7 +39,7 @@ MEMORY /* The PIC32MX440F512H 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 PIC32MX440F512H 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.*) |