diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-11-07 00:15:53 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-11-07 00:15:53 +0000 |
commit | 4944a1c1e1d29ae86163bcf11d00942cfdc1b04e (patch) | |
tree | 4ce29b86e9bd563a030387fdabb8bfbfe219f79e /firmware | |
parent | 545b51e2e46db6e9c6dd59ef45f73cc86529bace (diff) |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/decompressor/link.lds | 1 | ||||
-rw-r--r-- | firmware/target/arm/as3525/boot.lds | 1 | ||||
-rw-r--r-- | firmware/target/arm/ipod/boot.lds | 1 | ||||
-rw-r--r-- | firmware/target/arm/iriver/boot.lds | 1 | ||||
-rw-r--r-- | firmware/target/arm/olympus/boot.lds | 1 | ||||
-rw-r--r-- | firmware/target/arm/philips/boot.lds | 1 | ||||
-rw-r--r-- | firmware/target/arm/sandisk/boot.lds | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/firmware/decompressor/link.lds b/firmware/decompressor/link.lds index d0e11c1094..e6abbe2c59 100644 --- a/firmware/decompressor/link.lds +++ b/firmware/decompressor/link.lds @@ -64,6 +64,7 @@ SECTIONS { _edata = .; *(.bss) + *(COMMON) . = ALIGN(0x4); _end = .; } > DRAM 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 |