From: Albert ARIBAUD Date: Tue, 11 Jun 2013 12:17:32 +0000 (+0200) Subject: arm: generalize lib/bss.c into lib/sections.c X-Git-Tag: v2013.07-rc3~4^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df84502edffd1da48588a212b402602f032ed53d;p=kernel%2Fu-boot.git arm: generalize lib/bss.c into lib/sections.c File arch/arm/lib/bss.c was initially defined for BSS only, but is now going to also contain definitions for other section-boundary-related symbols, so rename it for better accuracy. Also, remove useless 'used' attributes. Signed-off-by: Albert ARIBAUD Tested-by: Lubomir Popov Tested-by: Jeroen Hofstee Reviewed-by: Benoît Thébaudeau --- diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile index 8ad9f66..9ecafb2 100644 --- a/arch/arm/lib/Makefile +++ b/arch/arm/lib/Makefile @@ -43,7 +43,7 @@ SOBJS-y += relocate.o ifndef CONFIG_SYS_GENERIC_BOARD COBJS-y += board.o endif -COBJS-y += bss.o +COBJS-y += sections.o COBJS-y += bootm.o COBJS-$(CONFIG_OF_LIBFDT) += bootm-fdt.o diff --git a/arch/arm/lib/bss.c b/arch/arm/lib/sections.c similarity index 92% rename from arch/arm/lib/bss.c rename to arch/arm/lib/sections.c index 99eda59..e52fec9 100644 --- a/arch/arm/lib/bss.c +++ b/arch/arm/lib/sections.c @@ -35,5 +35,5 @@ * aliasing warnings. */ -char __bss_start[0] __attribute__((used, section(".__bss_start"))); -char __bss_end[0] __attribute__((used, section(".__bss_end"))); +char __bss_start[0] __attribute__((section(".__bss_start"))); +char __bss_end[0] __attribute__((section(".__bss_end")));