freemyipod r292 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r291‎ | r292 | r293 >
Date:23:26, 27 November 2010
Author:theseven
Status:new
Tags:
Comment:
UMSboot: iPod Nano 2G linker script cosmetics
Modified paths:
  • /umsboot/target/ipodnano2g/ls.x (modified) (history)

Diff [purge]

Index: umsboot/target/ipodnano2g/ls.x
@@ -16,7 +16,7 @@
1717 {
1818 _ramdiskstart = .;
1919 . = ALIGN(4);
20 - *(.inithead*)
 20+ *(.inithead*)
2121 . = ALIGN(4);
2222 *(.initcode*)
2323 . = ALIGN(4);
@@ -31,6 +31,7 @@
3232 {
3333 _sramstart = .;
3434 KEEP(*(.intvect))
 35+
3536 . = ALIGN(4);
3637 *(.intvect)
3738 . = ALIGN(4);
@@ -41,15 +42,15 @@
4243 *(.glue_7)
4344 . = ALIGN(4);
4445 *(.glue_7t)
45 - . = ALIGN(0x4);
 46+ . = ALIGN(4);
4647 *(.irodata*)
4748 . = ALIGN(4);
4849 *(.rodata*)
49 - . = ALIGN(0x4);
 50+ . = ALIGN(4);
5051 *(.idata*)
5152 . = ALIGN(4);
5253 *(.data*)
53 - . = ALIGN(0x4);
 54+ . = ALIGN(4);
5455 _sramend = .;
5556 } > SRAM AT> SDRAM
5657 _sramsource = LOADADDR(.sram);
@@ -59,7 +60,7 @@
6061 _initbssstart = .;
6162 . = ALIGN(4);
6263 *(.initbss*)
63 - . = ALIGN(0x4);
 64+ . = ALIGN(4);
6465 _initbssend = .;
6566 } > SDRAM
6667
@@ -67,13 +68,12 @@
6869 {
6970 _bssstart = .;
7071 . = ALIGN(4);
71 - . = ALIGN(4);
7272 *(.ibss*)
7373 . = ALIGN(4);
74 - *(.bss*)
 74+ *(.bss*)
7575 . = ALIGN(4);
76 - *(COMMON)
77 - . = ALIGN(0x4);
 76+ *(COMMON)
 77+ . = ALIGN(4);
7878 _irqstackstart = .;
7979 . += 0x400;
8080 _irqstackend = .;
@@ -80,9 +80,10 @@
8181 _abortstackstart = .;
8282 . += 0x400;
8383 _abortstackend = .;
84 - _mainstackstart = .;
85 - . += 0x1000;
86 - _mainstackend = .;
 84+ _mainstackstart = .;
 85+ . += 0x1000;
 86+ _mainstackend = .;
 87+ . = ALIGN(4);
8788 _bssend = .;
8889 } > SRAM
8990