This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/20617] [4.0/4.1 regression] shared SH libgcc is exporting too many symbols
- From: "kkojima at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2005 22:48:36 -0000
- Subject: [Bug target/20617] [4.0/4.1 regression] shared SH libgcc is exporting too many symbols
- References: <20050324112142.20617.amylaar@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kkojima at gcc dot gnu dot org 2005-03-24 22:48 -------
I thought that mklibgcc makes such functions hidden if SHLIB_LINK
was defined. In my daily build of sh4-unknown-linux-gnu, all
movstr* and movmem* are hidden:
...
6: 00000050 4 FUNC GLOBAL HIDDEN 1 __movmemSI0
7: 00000010 68 FUNC GLOBAL HIDDEN 1 __movmemSI64
8: 00000010 68 FUNC GLOBAL HIDDEN 1 __movstrSI64
9: 00000014 64 FUNC GLOBAL HIDDEN 1 __movmemSI60
...
Of course, I don't object Joern's patch. It seems fine and also
to be safer than the mklibgcc magic for SH lib1funcs.asm. I'm
simply curious why that magic doesn't work for Joern.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20617