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