Title: [7198] trunk/arch/blackfin/kernel/vmlinux.lds.S: Blackfin: Fix link errors with binutils 2.19 and GCC 4.3
Revision
7198
Author
vapier
Date
2009-08-18 12:45:25 -0400 (Tue, 18 Aug 2009)

Log Message

Blackfin: Fix link errors with binutils 2.19 and GCC 4.3

From: Ingo Molnar <[email protected]>

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.

Modified Paths

Diff

Modified: trunk/arch/blackfin/kernel/vmlinux.lds.S (7197 => 7198)


--- trunk/arch/blackfin/kernel/vmlinux.lds.S	2009-08-18 15:51:04 UTC (rev 7197)
+++ trunk/arch/blackfin/kernel/vmlinux.lds.S	2009-08-18 16:45:25 UTC (rev 7198)
@@ -221,7 +221,7 @@
 		. = ALIGN(4);
 		__ebss_l1 = .;
 	}
-	ASSERT (SIZEOF(.data_a_l1) <= L1_DATA_A_LENGTH, "L1 data A overflow!")
+	ASSERT (SIZEOF(.data_l1) <= L1_DATA_A_LENGTH, "L1 data A overflow!")
 
 	.data_b_l1 L1_DATA_B_START : AT(LOADADDR(.data_l1) + SIZEOF(.data_l1))
 	{
@@ -262,7 +262,7 @@
 		. = ALIGN(4);
 		__ebss_l2 = .;
 	}
-	ASSERT (SIZEOF(.text_data_l1) <= L2_LENGTH, "L2 overflow!")
+	ASSERT (SIZEOF(.text_data_l2) <= L2_LENGTH, "L2 overflow!")
 
 	/* Force trailing alignment of our init section so that when we
 	 * free our init memory, we don't leave behind a partial page.
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to