[U-Boot] [PATCH 06/11] actuax/B2: fix coding style

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Feb 25 07:11:13 CET 2009


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 board/actux1/u-boot.lds |   62 +++++++++++++++++++++-------------------------
 board/actux2/u-boot.lds |   59 +++++++++++++++++++-------------------------
 board/actux3/u-boot.lds |   59 +++++++++++++++++++-------------------------
 3 files changed, 78 insertions(+), 102 deletions(-)

diff --git a/board/actux1/u-boot.lds b/board/actux1/u-boot.lds
index 9962337..1c2c09a 100644
--- a/board/actux1/u-boot.lds
+++ b/board/actux1/u-boot.lds
@@ -27,43 +27,37 @@ SECTIONS
 {
 	. = 0x00000000;
 
-	. = ALIGN (4);
-	.text : {
-		cpu/ixp/start.o(.text)
-		lib_generic/string.o(.text)
-		lib_generic/vsprintf.o(.text)
-		lib_arm/board.o(.text)
-		common/dlmalloc.o(.text)
-		cpu/ixp/cpu.o(.text)
+	. = ALIGN(4);
+	.text :
+	{
+		cpu/ixp/start.o		(.text)
+		lib_generic/string.o	(.text)
+		lib_generic/vsprintf.o	(.text)
+		lib_arm/board.o		(.text)
+		common/dlmalloc.o	(.text)
+		cpu/ixp/cpu.o		(.text)
 		. = env_offset;
-		common/env_embedded.o(.ppcenv)
+		common/env_embedded.o	(.ppcenv)
 		* (.text)
 	}
 
-	. = ALIGN (4);
-	.rodata : {
-		*(.rodata)
-	}
-	. = ALIGN (4);
-	.data : {
-		*(.data)
-	}
-	. = ALIGN (4);
-	.got : {
-		*(.got)
-	}
-	. =.;
-	__u_boot_cmd_start =.;
-	.u_boot_cmd : {
-		*(.u_boot_cmd)
-	}
-	__u_boot_cmd_end =.;
+	. = ALIGN(4);
+	.rodata : { *(.rodata) }
 
-	. = ALIGN (4);
-	__bss_start =.;
-	.bss (NOLOAD): {
-		*(.bss)
-		. = ALIGN(4);
-	}
-	_end =.;
+	. = ALIGN(4);
+	.data : { *(.data) }
+
+	. = ALIGN(4);
+	.got : { *(.got) }
+
+	. = .;
+
+	__u_boot_cmd_start = .;
+	.u_boot_cmd : { *(.u_boot_cmd) }
+	__u_boot_cmd_end = .;
+
+	. = ALIGN(4);
+	__bss_start = .;
+	.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
+	_end = .;
 }
diff --git a/board/actux2/u-boot.lds b/board/actux2/u-boot.lds
index 53fc46a..bc129e4 100644
--- a/board/actux2/u-boot.lds
+++ b/board/actux2/u-boot.lds
@@ -27,48 +27,39 @@ SECTIONS
 {
 	. = 0x00000000;
 
-	. = ALIGN (4);
-	.text : {
-		cpu/ixp/start.o(.text)
-		lib_generic/string.o(.text)
-		lib_generic/vsprintf.o(.text)
-		lib_arm/board.o(.text)
-		common/dlmalloc.o(.text)
-		cpu/ixp/cpu.o(.text)
+	. = ALIGN(4);
+	.text :
+	{
+		cpu/ixp/start.o		(.text)
+		lib_generic/string.o	(.text)
+		lib_generic/vsprintf.o	(.text)
+		lib_arm/board.o		(.text)
+		common/dlmalloc.o	(.text)
+		cpu/ixp/cpu.o		(.text)
 
 		. = env_offset;
-		common/env_embedded.o (.ppcenv)
+		common/env_embedded.o	(.ppcenv)
 
 		* (.text)
 	}
 
-	. = ALIGN (4);
-	.rodata : {
-		*(.rodata)
-	}
+	. = ALIGN(4);
+	.rodata : { *(.rodata) }
 
-	. = ALIGN (4);
-	.data : {
-		*(.data)
-	}
+	. = ALIGN(4);
+	.data : { *(.data) }
 
-	. = ALIGN (4);
-	.got : {
-		*(.got)
-	}
+	. = ALIGN(4);
+	.got : { *(.got) }
 
-	. =.;
-	__u_boot_cmd_start =.;
-	.u_boot_cmd : {
-		*(.u_boot_cmd)
-	}
-	__u_boot_cmd_end =.;
+	. = .;
 
-	. = ALIGN (4);
-	__bss_start =.;
-	.bss (NOLOAD): {
-		*(.bss)
-		. = ALIGN(4);
-	}
-	_end =.;
+	__u_boot_cmd_start = .;
+	.u_boot_cmd : { *(.u_boot_cmd) }
+	__u_boot_cmd_end = .;
+
+	. = ALIGN(4);
+	__bss_start = .;
+	.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
+	_end = .;
 }
diff --git a/board/actux3/u-boot.lds b/board/actux3/u-boot.lds
index 7fe23e9..bc129e4 100644
--- a/board/actux3/u-boot.lds
+++ b/board/actux3/u-boot.lds
@@ -27,48 +27,39 @@ SECTIONS
 {
 	. = 0x00000000;
 
-	. = ALIGN (4);
-	.text : {
-		cpu/ixp/start.o (.text)
-		lib_generic/string.o (.text)
-		lib_generic/vsprintf.o (.text)
-		lib_arm/board.o (.text)
-		common/dlmalloc.o (.text)
-		cpu/ixp/cpu.o (.text)
+	. = ALIGN(4);
+	.text :
+	{
+		cpu/ixp/start.o		(.text)
+		lib_generic/string.o	(.text)
+		lib_generic/vsprintf.o	(.text)
+		lib_arm/board.o		(.text)
+		common/dlmalloc.o	(.text)
+		cpu/ixp/cpu.o		(.text)
 
 		. = env_offset;
-		common/env_embedded.o (.ppcenv)
+		common/env_embedded.o	(.ppcenv)
 
 		* (.text)
 	}
 
-	. = ALIGN (4);
-	.rodata : {
-		*(.rodata)
-	}
+	. = ALIGN(4);
+	.rodata : { *(.rodata) }
 
-	. = ALIGN (4);
-	.data : {
-		*(.data)
-	}
+	. = ALIGN(4);
+	.data : { *(.data) }
 
-	. = ALIGN (4);
-	.got : {
-		*(.got)
-	}
+	. = ALIGN(4);
+	.got : { *(.got) }
 
-	. =.;
-	__u_boot_cmd_start =.;
-	.u_boot_cmd : {
-		*(.u_boot_cmd)
-	}
-	__u_boot_cmd_end =.;
+	. = .;
 
-	. = ALIGN (4);
-	__bss_start =.;
-	.bss (NOLOAD): {
-		*(.bss)
-		. = ALIGN(4);
-	}
-	_end =.;
+	__u_boot_cmd_start = .;
+	.u_boot_cmd : { *(.u_boot_cmd) }
+	__u_boot_cmd_end = .;
+
+	. = ALIGN(4);
+	__bss_start = .;
+	.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
+	_end = .;
 }
-- 
1.5.6.5



More information about the U-Boot mailing list