summaryrefslogtreecommitdiff
path: root/board/bf537-stamp/u-boot.lds.S
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-01-10 18:18:37 +0100
committerWolfgang Denk <wd@denx.de>2009-01-10 18:18:37 +0100
commit950309c6436ff78d2166377da34bfdb0ae00a4a4 (patch)
tree77fee7945ade9471aef1dff0204858f217a78245 /board/bf537-stamp/u-boot.lds.S
parent3dd9395a0d7ce69a335d0e743c04b9caedd681d3 (diff)
parent032a1c934ef4dc003281f57302b6e693062c1868 (diff)
downloadu-boot-imx-950309c6436ff78d2166377da34bfdb0ae00a4a4.zip
u-boot-imx-950309c6436ff78d2166377da34bfdb0ae00a4a4.tar.gz
u-boot-imx-950309c6436ff78d2166377da34bfdb0ae00a4a4.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'board/bf537-stamp/u-boot.lds.S')
-rw-r--r--board/bf537-stamp/u-boot.lds.S19
1 files changed, 11 insertions, 8 deletions
diff --git a/board/bf537-stamp/u-boot.lds.S b/board/bf537-stamp/u-boot.lds.S
index 187309f..76daa75 100644
--- a/board/bf537-stamp/u-boot.lds.S
+++ b/board/bf537-stamp/u-boot.lds.S
@@ -28,6 +28,8 @@
#include <config.h>
#include <asm/blackfin.h>
#undef ALIGN
+#undef ENTRY
+#undef bfin
/* If we don't actually load anything into L1 data, this will avoid
* a syntax error. If we do actually load something into L1 data,
@@ -50,11 +52,12 @@ MEMORY
l1_data : ORIGIN = L1_DATA_B_SRAM, LENGTH = L1_DATA_B_SRAM_SIZE
}
+ENTRY(_start)
SECTIONS
{
.text :
{
- cpu/blackfin/start.o (.text)
+ cpu/blackfin/start.o (.text .text.*)
#ifdef ENV_IS_EMBEDDED
/* WARNING - the following is hand-optimized to fit within
@@ -63,18 +66,18 @@ SECTIONS
* it linked after the configuration sector.
*/
- cpu/blackfin/traps.o (.text)
- cpu/blackfin/interrupt.o (.text)
- cpu/blackfin/serial.o (.text)
- common/dlmalloc.o (.text)
- lib_generic/crc32.o (.text)
+ cpu/blackfin/traps.o (.text .text.*)
+ cpu/blackfin/interrupt.o (.text .text.*)
+ cpu/blackfin/serial.o (.text .text.*)
+ common/dlmalloc.o (.text .text.*)
+ lib_generic/crc32.o (.text .text.*)
. = DEFINED(env_offset) ? env_offset : .;
- common/env_embedded.o (.text)
+ common/env_embedded.o (.text .text.*)
#endif
__initcode_start = .;
- cpu/blackfin/initcode.o (.text)
+ cpu/blackfin/initcode.o (.text .text.*)
__initcode_end = .;
*(.text .text.*)