aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2021-03-21 16:38:51 +0200
committerDimitar Dimitrov <dimitar@dinux.eu>2021-05-13 23:11:01 +0300
commit8aa8a2af8fdc2e0939c0d803bd45b45d251e1a3f (patch)
tree0665833054a47d8f429c86b098c8effd83e99652 /libgcc
parente554887df0934325464fd3e811022ee048328bb5 (diff)
downloadgcc-8aa8a2af8fdc2e0939c0d803bd45b45d251e1a3f.zip
gcc-8aa8a2af8fdc2e0939c0d803bd45b45d251e1a3f.tar.gz
gcc-8aa8a2af8fdc2e0939c0d803bd45b45d251e1a3f.tar.bz2
libgcc: pru: Place mpyll into its own section
This should help LD's --gc-sections feature to reduce final ELF size. libgcc/ChangeLog: * config/pru/mpyll.S (__pruabi_mpyll): Place into own section. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/config/pru/mpyll.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgcc/config/pru/mpyll.S b/libgcc/config/pru/mpyll.S
index 1aa12a6..cd093bb 100644
--- a/libgcc/config/pru/mpyll.S
+++ b/libgcc/config/pru/mpyll.S
@@ -29,6 +29,8 @@
#include "pru-asm.h"
+ .section .text.__pruabi_mpyll, "ax"
+
.global SYM(__pruabi_mpyll)
FUNC(__pruabi_mpyll)
SYM(__pruabi_mpyll):