diff --git a/firmware/target/arm/ipod/boot.lds b/firmware/target/arm/ipod/boot.lds index 69a89cd5f5..ae5358ae93 100644 --- a/firmware/target/arm/ipod/boot.lds +++ b/firmware/target/arm/ipod/boot.lds @@ -68,8 +68,8 @@ SECTIONS /* The bss section is too large for IRAM - we just move it 16MB into the DRAM */ - . = (DRAMORIG+16*1024*1024); - .bss : { + . = DRAMORIG; + .bss . + (16*1024*1024): { _edata = .; *(.bss*); *(.ibss); diff --git a/firmware/target/arm/iriver/boot.lds b/firmware/target/arm/iriver/boot.lds index ab6a576078..bf7d2b6431 100644 --- a/firmware/target/arm/iriver/boot.lds +++ b/firmware/target/arm/iriver/boot.lds @@ -52,8 +52,8 @@ SECTIONS /* The bss section is too large for IRAM - we just move it 16MB into the DRAM */ - . = (DRAMORIG+16*1024*1024); - .bss : { + . = DRAMORIG; + .bss . + (16*1024*1024) : { _edata = .; *(.bss*); *(.ibss); diff --git a/firmware/target/arm/olympus/boot.lds b/firmware/target/arm/olympus/boot.lds index e083aa4a08..95a1c873db 100644 --- a/firmware/target/arm/olympus/boot.lds +++ b/firmware/target/arm/olympus/boot.lds @@ -52,8 +52,8 @@ SECTIONS /* The bss section is too large for IRAM - we just move it 16MB into the DRAM */ - . = (DRAMORIG+16*1024*1024); - .bss : { + . = DRAMORIG; + .bss . + (16*1024*1024): { _edata = .; *(.bss*); *(.ibss); diff --git a/firmware/target/arm/sandisk/boot.lds b/firmware/target/arm/sandisk/boot.lds index 1eeda06340..d115aa5949 100644 --- a/firmware/target/arm/sandisk/boot.lds +++ b/firmware/target/arm/sandisk/boot.lds @@ -54,8 +54,8 @@ SECTIONS /* The bss section is too large for IRAM - we just move it 16MB into the DRAM */ - . = (DRAMORIG+16*1024*1024); - .bss : { + . = DRAMORIG; + .bss . + (16*1024*1024) : { _edata = .; *(.bss*); *(.ibss);