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/lshrdi3.S | |
parent | 806f86bd826e7a0fbefd4f34c550df400905992a (diff) |
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/lshrdi3.S')
-rw-r--r-- | arch/arm/lib/lshrdi3.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/lshrdi3.S b/arch/arm/lib/lshrdi3.S index 9c51141f75..f710ccbf4f 100644 --- a/arch/arm/lib/lshrdi3.S +++ b/arch/arm/lib/lshrdi3.S @@ -17,6 +17,7 @@ ENTRY(__lshrdi3) ENTRY(__aeabi_llsr) +.pushsection .text.__lshldi3, "ax" subs r3, r2, #32 rsb ip, r2, #32 @@ -28,5 +29,6 @@ ENTRY(__aeabi_llsr) mov ah, ah, lsr r2 ret lr +.popsection ENDPROC(__lshrdi3) ENDPROC(__aeabi_llsr) |