diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-06-11 14:17:32 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-06-21 23:04:43 +0200 |
commit | df84502edffd1da48588a212b402602f032ed53d (patch) | |
tree | bcceb2b6665e8cad9a3ade14f86698e57446f14d /arch/arm/lib | |
parent | 09d81184e103a07825d9f16e86e37c28d3605568 (diff) | |
download | u-boot-imx-df84502edffd1da48588a212b402602f032ed53d.zip u-boot-imx-df84502edffd1da48588a212b402602f032ed53d.tar.gz u-boot-imx-df84502edffd1da48588a212b402602f032ed53d.tar.bz2 |
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 <albert.u.boot@aribaud.net>
Tested-by: Lubomir Popov <lpopov@mm-sol.com>
Tested-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r-- | arch/arm/lib/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/lib/sections.c (renamed from arch/arm/lib/bss.c) | 4 |
2 files changed, 3 insertions, 3 deletions
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 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"))); |