summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/barebox.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lib/barebox.lds.S')
-rw-r--r--arch/mips/lib/barebox.lds.S10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S
index e96c3bf6e2..0720f9295d 100644
--- a/arch/mips/lib/barebox.lds.S
+++ b/arch/mips/lib/barebox.lds.S
@@ -3,10 +3,9 @@
* Copyright (C) 2011 Antony Pavlov <antonynpavlov@gmail.com>
*/
+#include <asm/barebox.lds.h>
-#include <asm-generic/barebox.lds.h>
-
-OUTPUT_ARCH(mips)
+OUTPUT_ARCH(BAREBOX_OUTPUT_ARCH)
ENTRY(_start)
SECTIONS
{
@@ -54,12 +53,12 @@ SECTIONS
.data.reloc : {
__rel_start = .;
BYTE(0x0)
- . += (32 * 1024) - 1;
+ . += CONFIG_MIPS_RELOCATION_TABLE_SIZE - 1;
}
_end = .;
- .bss __rel_start (OVERLAY) : {
+ .bss : {
__bss_start = .;
*(.sbss.*)
*(.bss.*)
@@ -67,5 +66,4 @@ SECTIONS
. = ALIGN(4);
__bss_stop = .;
}
-
}