summaryrefslogtreecommitdiff
path: root/arch/mips/cpu
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2013-02-12 22:22:12 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2013-02-12 22:22:12 +0100
commita52852c5a65fe6636c7408829eced892deefc1de (patch)
treedcc9984f861c574ffe680a863d8f85ffad1bf20d /arch/mips/cpu
parent45397816b204da27efd7f23d7e017cf381c5c9cd (diff)
downloadu-boot-imx-a52852c5a65fe6636c7408829eced892deefc1de.zip
u-boot-imx-a52852c5a65fe6636c7408829eced892deefc1de.tar.gz
u-boot-imx-a52852c5a65fe6636c7408829eced892deefc1de.tar.bz2
MIPS: u-boot.lds: merge all BSS sections and introduce symbols __bss_[start|end]
These symbols are used in later patches for as addresses for clearing the BSS area in the relocated U-Boot image. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/cpu')
-rw-r--r--arch/mips/cpu/u-boot.lds11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/mips/cpu/u-boot.lds b/arch/mips/cpu/u-boot.lds
index 58a49b2..6980b86 100644
--- a/arch/mips/cpu/u-boot.lds
+++ b/arch/mips/cpu/u-boot.lds
@@ -70,13 +70,14 @@ SECTIONS
uboot_end_data = .;
. = ALIGN(4);
- .sbss : {
- *(.sbss*)
- }
-
.bss : {
- *(.bss*)
+ __bss_start = .;
+ *(.sbss.*)
+ *(.bss.*)
+ *(COMMON)
. = ALIGN(4);
+ __bss_end = .;
}
+
uboot_end = .;
}