public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-779] libgcc: pru: Place mpyll into its own section
@ 2021-05-13 20:12 Dimitar Dimitrov
  0 siblings, 0 replies; only message in thread
From: Dimitar Dimitrov @ 2021-05-13 20:12 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8aa8a2af8fdc2e0939c0d803bd45b45d251e1a3f

commit r12-779-g8aa8a2af8fdc2e0939c0d803bd45b45d251e1a3f
Author: Dimitar Dimitrov <dimitar@dinux.eu>
Date:   Sun Mar 21 16:38:51 2021 +0200

    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>

Diff:
---
 libgcc/config/pru/mpyll.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libgcc/config/pru/mpyll.S b/libgcc/config/pru/mpyll.S
index 1aa12a63b2c..cd093bb6b72 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):


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-13 20:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 20:12 [gcc r12-779] libgcc: pru: Place mpyll into its own section Dimitar Dimitrov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).