public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/20617] New: shared SH libgcc is exporting too many symbols
@ 2005-03-24 11:22 amylaar at gcc dot gnu dot org
  2005-03-24 11:43 ` [Bug target/20617] " amylaar at gcc dot gnu dot org
                   ` (29 more replies)
  0 siblings, 30 replies; 33+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2005-03-24 11:22 UTC (permalink / raw)
  To: gcc-bugs

The SH lib1funcs.asm contains numerous small functions that save code size
for a static link, but still are smaller than the PLT size for all
link-compatible subtargets (1).  Such functions
should never be exported from a shared libgcc.

(1) If, say, there is a function that is large for the SH3, it may make make
sense to export it from the SH3 libgcc.so, and if so, it also has to be in
an sh4-nofpu libgcc.so.  However, that is not a reason to put it into an SH4
libgcc.so, since SH4 libraries use a different ABI.  Functions that are
used/largish only on SH1 are of no concern, because this processor lacks some
instructions usesd for SH PIC code, hence there is no point exporting these
functions.  Likewise, since the SH2 has no MMU, functions that are only needed/
largish for SH2 should stay out of libgcc.so for all OSes that need an MMU.

-- 
           Summary: shared SH libgcc is exporting too many symbols
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: sh*-*-linux*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20617


^ permalink raw reply	[flat|nested] 33+ messages in thread
[parent not found: <bug-20617-5394@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-10-30 23:32 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-24 11:22 [Bug target/20617] New: shared SH libgcc is exporting too many symbols amylaar at gcc dot gnu dot org
2005-03-24 11:43 ` [Bug target/20617] " amylaar at gcc dot gnu dot org
2005-03-24 12:12 ` amylaar at gcc dot gnu dot org
2005-03-24 14:47 ` pinskia at gcc dot gnu dot org
2005-03-24 16:06 ` zack at codesourcery dot com
2005-03-24 16:25 ` cvs-commit at gcc dot gnu dot org
2005-03-24 16:31 ` joern dot rennecke at st dot com
2005-03-24 16:49 ` drow at gcc dot gnu dot org
2005-03-24 17:01 ` [Bug target/20617] [4.0/4.1 regression] " mmitchel at gcc dot gnu dot org
2005-03-24 17:06 ` mmitchel at gcc dot gnu dot org
2005-03-24 17:31 ` schwab at suse dot de
2005-03-24 18:06 ` joern dot rennecke at st dot com
2005-03-24 18:17 ` joern dot rennecke at st dot com
2005-03-24 18:46 ` zack at codesourcery dot com
2005-03-24 19:36 ` mrs at apple dot com
2005-03-24 21:08 ` joern dot rennecke at st dot com
2005-03-24 21:25 ` joern dot rennecke at st dot com
2005-03-24 22:48 ` kkojima at gcc dot gnu dot org
2005-03-24 22:53 ` geoffk at gcc dot gnu dot org
2005-03-24 22:54 ` zack at codesourcery dot com
2005-03-24 23:49 ` joern dot rennecke at st dot com
2005-03-24 23:54 ` zack at codesourcery dot com
2005-03-25  0:30 ` kkojima at gcc dot gnu dot org
2005-03-29 11:54 ` joern dot rennecke at st dot com
2005-03-29 12:43 ` kkojima at gcc dot gnu dot org
2005-04-06 19:32 ` amylaar at gcc dot gnu dot org
2005-04-06 20:03 ` zack at codesourcery dot com
2005-07-06 14:28 ` pinskia at gcc dot gnu dot org
2005-07-16  3:46 ` zack at codesourcery dot com
2005-07-16 20:14 ` pinskia at gcc dot gnu dot org
2005-09-27 16:14 ` [Bug target/20617] [4.0/4.1 Regression] " mmitchel at gcc dot gnu dot org
     [not found] <bug-20617-5394@http.gcc.gnu.org/bugzilla/>
2005-10-13 19:57 ` pinskia at gcc dot gnu dot org
2005-10-30 23:38 ` pinskia at gcc dot gnu dot org

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).