From 4944a1c1e1d29ae86163bcf11d00942cfdc1b04e Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 7 Nov 2008 00:15:53 +0000 Subject: Common data must be included in .bss or it won't get zeroed in crt0. Fix the archos self-extractor as well to play safe. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19033 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/boot.lds | 1 + firmware/target/arm/ipod/boot.lds | 1 + firmware/target/arm/iriver/boot.lds | 1 + firmware/target/arm/olympus/boot.lds | 1 + firmware/target/arm/philips/boot.lds | 1 + firmware/target/arm/sandisk/boot.lds | 1 + 6 files changed, 6 insertions(+) (limited to 'firmware/target') diff --git a/firmware/target/arm/as3525/boot.lds b/firmware/target/arm/as3525/boot.lds index eb977a1023..7a13d67a43 100644 --- a/firmware/target/arm/as3525/boot.lds +++ b/firmware/target/arm/as3525/boot.lds @@ -51,6 +51,7 @@ SECTIONS _edata = .; *(.bss*); *(.ibss); + *(COMMON) *(.ncbss*); _end = .; } > IRAM diff --git a/firmware/target/arm/ipod/boot.lds b/firmware/target/arm/ipod/boot.lds index ae5358ae93..974dcb102a 100644 --- a/firmware/target/arm/ipod/boot.lds +++ b/firmware/target/arm/ipod/boot.lds @@ -73,6 +73,7 @@ SECTIONS _edata = .; *(.bss*); *(.ibss); + *(COMMON) *(.ncbss*); _end = .; } > DRAM diff --git a/firmware/target/arm/iriver/boot.lds b/firmware/target/arm/iriver/boot.lds index bf7d2b6431..ccc68c0916 100644 --- a/firmware/target/arm/iriver/boot.lds +++ b/firmware/target/arm/iriver/boot.lds @@ -57,6 +57,7 @@ SECTIONS _edata = .; *(.bss*); *(.ibss); + *(COMMON) *(.ncbss*); _end = .; } > DRAM diff --git a/firmware/target/arm/olympus/boot.lds b/firmware/target/arm/olympus/boot.lds index 95a1c873db..d59f117e39 100644 --- a/firmware/target/arm/olympus/boot.lds +++ b/firmware/target/arm/olympus/boot.lds @@ -57,6 +57,7 @@ SECTIONS _edata = .; *(.bss*); *(.ibss); + *(COMMON) *(.ncbss*); _end = .; } > DRAM diff --git a/firmware/target/arm/philips/boot.lds b/firmware/target/arm/philips/boot.lds index d115aa5949..86a635f1a5 100644 --- a/firmware/target/arm/philips/boot.lds +++ b/firmware/target/arm/philips/boot.lds @@ -59,6 +59,7 @@ SECTIONS _edata = .; *(.bss*); *(.ibss); + *(COMMON) *(.ncbss*); _end = .; } > DRAM diff --git a/firmware/target/arm/sandisk/boot.lds b/firmware/target/arm/sandisk/boot.lds index 4e32ab75e6..f2178651cd 100644 --- a/firmware/target/arm/sandisk/boot.lds +++ b/firmware/target/arm/sandisk/boot.lds @@ -63,6 +63,7 @@ SECTIONS _edata = .; *(.bss*); *(.ibss); + *(COMMON) *(.ncbss*); _end = .; } > DRAM -- cgit v1.2.3