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 | baeabacae3435daefab7ae41ab4e69cf96c613ca (patch) | |
tree | ac30163b79435767a2d5c7a4b350531bb945c3b9 /nuttx/configs/pic32-starterkit | |
parent | 9583fa1abd79dfcc8610d8dbb4cc6c4d91c3bb5f (diff) | |
download | px4-firmware-baeabacae3435daefab7ae41ab4e69cf96c613ca.tar.gz px4-firmware-baeabacae3435daefab7ae41ab4e69cf96c613ca.tar.bz2 px4-firmware-baeabacae3435daefab7ae41ab4e69cf96c613ca.zip |
Massive clean-up of linker scripts from Freddie Chopin
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5307 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pic32-starterkit')
-rw-r--r-- | nuttx/configs/pic32-starterkit/nsh/ld.script | 10 | ||||
-rw-r--r-- | nuttx/configs/pic32-starterkit/nsh2/ld.script | 10 | ||||
-rw-r--r-- | nuttx/configs/pic32-starterkit/ostest/ld.script | 10 |
3 files changed, 15 insertions, 15 deletions
diff --git a/nuttx/configs/pic32-starterkit/nsh/ld.script b/nuttx/configs/pic32-starterkit/nsh/ld.script index 88f722064..3e5ea6e03 100644 --- a/nuttx/configs/pic32-starterkit/nsh/ld.script +++ b/nuttx/configs/pic32-starterkit/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/pic32-starterkit/nsh2/ld.script b/nuttx/configs/pic32-starterkit/nsh2/ld.script index 1f07ee651..1c9511cc4 100644 --- a/nuttx/configs/pic32-starterkit/nsh2/ld.script +++ b/nuttx/configs/pic32-starterkit/nsh2/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/pic32-starterkit/ostest/ld.script b/nuttx/configs/pic32-starterkit/ostest/ld.script index d2c1f162b..45712df4d 100644 --- a/nuttx/configs/pic32-starterkit/ostest/ld.script +++ b/nuttx/configs/pic32-starterkit/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.*) |