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/uldivmod.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/uldivmod.S')
-rw-r--r-- | arch/arm/lib/uldivmod.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/lib/uldivmod.S b/arch/arm/lib/uldivmod.S index 2efcd73..bbc44c6 100644 --- a/arch/arm/lib/uldivmod.S +++ b/arch/arm/lib/uldivmod.S @@ -34,6 +34,8 @@ TMP .req r8 ) ENTRY(__aeabi_uldivmod) +.pushsection .text.__aeabi_uldivmod, "ax" + stmfd sp!, {r4, r5, r6, r7, THUMB(TMP,) lr} @ Test if B == 0 orrs ip, B_0, B_1 @ Z set -> B == 0 @@ -240,4 +242,5 @@ L_div_by_0: mov R_0, #0 mov R_1, #0 ldmfd sp!, {r4, r5, r6, r7, THUMB(TMP,) pc} +.popsection ENDPROC(__aeabi_uldivmod) |