diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-08-18 12:45:25 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-16 22:10:30 -0400 |
commit | 8d7ac69ffaf740cdf98bdd5073c2d70a8828200e (patch) | |
tree | 4889e0afc7ed6b7e197b7240a6db5ac214d1f613 /arch | |
parent | 1794131471ba19c7e30610515074b520cb34d3bb (diff) |
Blackfin: Fix link errors with binutils 2.19 and GCC 4.3
Not sure whether this has been reported/fixed before.
Today I built a Blackfin tool-chain from scratch for -tip testing,
and it triggers:
arch/blackfin/kernel/vmlinux.lds:1238: undefined section `.data_a_l1' referenced in expression
and:
arch/blackfin/kernel/vmlinux.lds:1238: undefined section `.text_data_l1'
referenced in expression
Now i dont have any way to test this linker script, but it now at
least builds fine after fixing what appears to be typos in those
assert statements.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/kernel/vmlinux.lds.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S index d7ffe299b979..21ac7c26079e 100644 --- a/arch/blackfin/kernel/vmlinux.lds.S +++ b/arch/blackfin/kernel/vmlinux.lds.S | |||
@@ -221,7 +221,7 @@ SECTIONS | |||
221 | . = ALIGN(4); | 221 | . = ALIGN(4); |
222 | __ebss_l1 = .; | 222 | __ebss_l1 = .; |
223 | } | 223 | } |
224 | ASSERT (SIZEOF(.data_a_l1) <= L1_DATA_A_LENGTH, "L1 data A overflow!") | 224 | ASSERT (SIZEOF(.data_l1) <= L1_DATA_A_LENGTH, "L1 data A overflow!") |
225 | 225 | ||
226 | .data_b_l1 L1_DATA_B_START : AT(LOADADDR(.data_l1) + SIZEOF(.data_l1)) | 226 | .data_b_l1 L1_DATA_B_START : AT(LOADADDR(.data_l1) + SIZEOF(.data_l1)) |
227 | { | 227 | { |
@@ -262,7 +262,7 @@ SECTIONS | |||
262 | . = ALIGN(4); | 262 | . = ALIGN(4); |
263 | __ebss_l2 = .; | 263 | __ebss_l2 = .; |
264 | } | 264 | } |
265 | ASSERT (SIZEOF(.text_data_l1) <= L2_LENGTH, "L2 overflow!") | 265 | ASSERT (SIZEOF(.text_data_l2) <= L2_LENGTH, "L2 overflow!") |
266 | 266 | ||
267 | /* Force trailing alignment of our init section so that when we | 267 | /* Force trailing alignment of our init section so that when we |
268 | * free our init memory, we don't leave behind a partial page. | 268 | * free our init memory, we don't leave behind a partial page. |