diff options
author | Marek Vasut <marex@denx.de> | 2016-05-26 18:01:46 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-06-02 21:21:47 -0400 |
commit | 13b0a91a6d48736d2927edd63e59f3a9e76f6d34 (patch) | |
tree | 7c57c27cfbc53b860bf6a61d4ff8f419440fc275 /arch/arm/lib/ashldi3.S | |
parent | 806f86bd826e7a0fbefd4f34c550df400905992a (diff) | |
download | u-boot-imx-13b0a91a6d48736d2927edd63e59f3a9e76f6d34.zip u-boot-imx-13b0a91a6d48736d2927edd63e59f3a9e76f6d34.tar.gz u-boot-imx-13b0a91a6d48736d2927edd63e59f3a9e76f6d34.tar.bz2 |
arm: lib: Split asm symbols into different .text subsections
Split each symbol in lib1funcs into different .text.foo section instead
of placing all of them into plain .text . This allows the linker to collect
and discard unused assembler symbols.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/lib/ashldi3.S')
-rw-r--r-- | arch/arm/lib/ashldi3.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/ashldi3.S b/arch/arm/lib/ashldi3.S index a4f5ebb..6c9ae91 100644 --- a/arch/arm/lib/ashldi3.S +++ b/arch/arm/lib/ashldi3.S @@ -17,6 +17,7 @@ ENTRY(__ashldi3) ENTRY(__aeabi_llsl) +.pushsection .text.__ashldi3, "ax" subs r3, r2, #32 rsb ip, r2, #32 @@ -28,5 +29,6 @@ ENTRY(__aeabi_llsl) mov al, al, lsl r2 ret lr +.popsection ENDPROC(__ashldi3) ENDPROC(__aeabi_llsl) |