freemyipod r365 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r364‎ | r365 | r366 >
Date:00:13, 21 December 2010
Author:theseven
Status:new
Tags:
Comment:
Installer for iPod Nano 2G: Protect against section overflow in the linker script
Modified paths:
  • /apps/installer-nano2g/ls.x (modified) (history)

Diff [purge]

Index: apps/installer-nano2g/ls.x
@@ -4,7 +4,8 @@
55
66 MEMORY
77 {
8 - RAM : ORIGIN = 0x08000000, LENGTH = 0x01f00000
 8+ LOWERRAM : ORIGIN = 0x08000000, LENGTH = 0x00f00000
 9+ UPPERRAM : ORIGIN = 0x08f00000, LENGTH = 0x01000000
910 }
1011
1112 SECTIONS
@@ -16,9 +17,9 @@
1718 *(COMMON)
1819 __bss_end = .;
1920 *(.stack*)
20 - } > RAM
 21+ } > LOWERRAM
2122
22 - .text 0x08f00000:
 23+ .text :
2324 {
2425 KEEP(.execheader*)
2526 *(.execheader*)
@@ -31,7 +32,7 @@
3233 *(.data*)
3334 . = ALIGN(0x10);
3435 _scriptstart = .;
35 - } > RAM
 36+ } > UPPERRAM
3637
3738 /DISCARD/ :
3839 {