From 02660557ad20726378d99c3d92baf4983f82c265 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 8 Mar 2010 23:16:57 +0000 Subject: Fix a bunch of boot.lds files so that they build with newer ld. The stack/bss sections need NOLOAD. otherwise the linker would try to include those into the binary. I don't know why this ever worked with our current ld version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25078 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/s5l8700/boot.lds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm/s5l8700/boot.lds') diff --git a/firmware/target/arm/s5l8700/boot.lds b/firmware/target/arm/s5l8700/boot.lds index 9ee7405a9f..4e3a1d4893 100644 --- a/firmware/target/arm/s5l8700/boot.lds +++ b/firmware/target/arm/s5l8700/boot.lds @@ -74,7 +74,7 @@ SECTIONS } > IRAM AT> LOAD_AREA _datacopy = LOADADDR(.data) ; - .stack : + .stack (NOLOAD) : { *(.stack) _stackbegin = .; @@ -96,7 +96,7 @@ SECTIONS DRAM */ . += (12*1024*1024); #endif - .bss : { + .bss : (NOLOAD) { _edata = .; *(.bss*); *(.ibss); -- cgit v1.2.3