This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/20617] [4.0/4.1 regression] shared SH libgcc is exporting too many symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]