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/div64.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/div64.S')
-rw-r--r-- | arch/arm/lib/div64.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/div64.S b/arch/arm/lib/div64.S index a42a0f0a18..5bfb41dff5 100644 --- a/arch/arm/lib/div64.S +++ b/arch/arm/lib/div64.S @@ -47,6 +47,7 @@ ENTRY(__do_div64) UNWIND(.fnstart) +.pushsection .text.__do_div64, "ax" @ Test for easy paths first. subs ip, r4, #1 @@ -192,6 +193,7 @@ UNWIND(.fnstart) moveq yh, xh moveq xh, #0 reteq lr +.popsection UNWIND(.fnend) UNWIND(.fnstart) |